Harold Seigel
300390f275
8167104: Additional class construction refinements
...
Reviewed-by: acorn, mschoene, asmotrak
2016-10-26 15:12:53 -04:00
Alejandro Murillo
af03100a51
Merge
2016-10-20 16:53:56 -07:00
Calvin Cheung
c5dc50c03f
8166931: Do not include classes which are unusable during run time in the classlist file
...
Added check to exclude classes found in the --patch-module list
Reviewed-by: jiangli, lfoltan, iklam
2016-10-18 16:15:03 -07:00
Jiangli Zhou
4d9fc9541d
8167333: Invalid source path info might be used when creating ClassFileStream after CFLH transforms a shared classes in some cases
...
Use NULL as 'source' when there is no valid source path info.
Reviewed-by: iklam, dholmes, dsamersoff
2016-10-10 20:50:33 -04:00
Coleen Phillimore
04bc07be95
8164921: Memory leaked when instrumentation.retransformClasses() is called repeatedly
...
Return Metablocks smaller than dictionary's dark matter.
Co-authored-by: Jon Masamitsu <jon.masamitsu@oracle.com>
Reviewed-by: mgerdin, sspitsyn, dsamersoff
2016-10-18 08:39:43 -04:00
Tobias Hartmann
4bb6761600
8153134: Infinite loop in handle_wrong_method in jmod
...
Use Patching_lock to synchronize access between set_code() and clear_code().
Reviewed-by: kvn, dlong
2016-10-18 09:43:12 +02:00
Harold Seigel
63e0cc39e9
8166364: fatal error: acquiring lock DirtyCardQ_CBL_mon/16 out of order with lock Module_lock/6 -- possible deadlock
...
Set the mirror's module field outside of the module lock.
Reviewed-by: dsamersoff, dholmes, rehn
2016-10-10 08:34:32 -04:00
Doug Simon
b7b3fb4266
8167353: [JVMCI] JVMCI re-initialization check is in the wrong location
...
Reviewed-by: kvn, twisti
2016-10-07 15:40:34 -07:00
Paul Sandoz
a1289cce5b
8166974: invokedynamic implementation should not wrap Errors
...
Reviewed-by: dholmes, jrose
2016-10-14 14:47:01 -07:00
Gerard Ziemski
e555a3e342
8166145: runtime/threads/ThreadInterruptTest3 fails with ExitCode 0
...
Added new hashtables logging tag and used it print out the table performance details.
Reviewed-by: coleenp, dholmes
2016-10-27 09:42:45 -05:00
Rachel Protacio
e715dd214c
Merge
2016-10-26 20:13:29 +00:00
Rachel Protacio
420a682afa
8167995: -Xlog:defaultmethods=debug: lengthy method descriptor triggers "StringStream is re-allocated with a different ResourceMark"
...
Removed nested ResourceMark declarations
Reviewed-by: dholmes, hseigel
2016-10-26 15:46:13 -04:00
Tobias Hartmann
ed9adcbdfa
8164612: NoSuchMethodException when method name contains NULL or Latin-1 supplement character
...
String length needs to be updated when converting from unicode to utf8.
Reviewed-by: kvn, coleenp
2016-10-26 14:36:05 +02:00
Harold Seigel
6beed1f844
8161218: Better bytecode loading
...
Reviewed-by: acorn, mschoene, ctornqvi
2016-07-26 08:23:25 -04:00
Rachel Protacio
2ec4f5a76a
8159507: RuntimeVisibleAnnotation validation
...
Reviewed-by: coleenp, hseigel, mschoene, acorn
2016-07-21 15:49:17 -04:00
Rachel Protacio
53164dd532
8159503: Amend Annotation Actions
...
Reviewed-by: coleenp, hseigel, mschoene, acorn, ctornqvi
2016-07-01 15:11:38 -04:00
Harold Seigel
5f49daa2c4
8159511: Stack map validation
...
Reviewed-by: acorn, mschoene
2016-06-30 08:11:30 -04:00
David Holmes
d1856645bc
8081800: AbstractMethodError when evaluating a private method in an interface via debugger
...
Reviewed-by: acorn, dcubed, coleenp
2016-10-03 21:48:21 -04:00
Calvin Cheung
ac6b2ca3dc
8166930: minor cleanups 1) remove reference to ZIP_ReadMappedEntry 2) checking of st_mode
...
Reviewed-by: jiangli, lfoltan
2016-09-30 12:11:02 -07:00
Dean Long
42ec83b459
Merge
2016-09-26 14:21:21 -04:00
Kirill Zhaldybin
616083ca76
8165439: Convert Test_TempNewSymbol to GTest
...
Reviewed-by: dholmes, coleenp
2016-09-05 20:31:03 +03:00
Calvin Cheung
f9707ab4cd
8164011: --patch-module support for CDS
...
Allows the use of the --patch-module vm option with CDS. However, classes found in --patch-module during dump time will not be archived.
Reviewed-by: iklam, dcubed, lfoltan
2016-09-20 10:37:19 -07:00
Lois Foltan
368585d0db
8163406: The fixup_module_list must be protected by Module_lock when inserting new entries
...
In java_lang_Class::create_mirror, restructure the check for adding a class to the fixup_module_list, guarded by Module_lock.
Reviewed-by: acorn, coleenp, dholmes, zgu
2016-09-19 12:04:28 -04:00
Jiangli Zhou
eb52950704
8078644: CDS needs to support JVMTI CFLH
...
Support posting CLFH for shared classes. Tests are contributed by Misha Seledtsov.
Reviewed-by: iklam, coleenp, acorn, dcubed, sspitsyn
2016-09-18 21:10:48 -04:00
Harold Seigel
228097de7c
8149607: [Verifier] Do not verify pop, pop2, swap, dup* against top
...
Throw VerifyError exception if type top is illegally popped from the stack.
Reviewed-by: coleenp, acorn, ddmitriev
2016-09-14 10:02:49 -04:00
Coleen Phillimore
3c2621dbdd
8165246: [REDO] InstanceKlass::_previous_version_count goes negative
...
Make _has_previous_version a boolean that is set to true when previous version of a class is added or during class unloading call to purge_previous_versions
Reviewed-by: gtriantafill, dcubed, sspitsyn
2016-09-07 15:25:21 -04:00
Harold Seigel
e8e6415b7a
8058575: IllegalAccessError trying to access package-private class from VM anonymous class
...
Put anonymous classes in unnamed package into host class's package. Throw exception if host class's package differs from anonymous class.
Reviewed-by: coleenp, acorn
2016-09-07 07:19:48 -04:00
Rachel Protacio
180c089047
Merge
2016-09-06 22:52:35 +02:00
Rachel Protacio
a8147854b7
8161224: CONSTANT_NameAndType_info permits references to illegal names and descriptors
...
Enforces proper format checking for NameAndType string content, and that the checking occurs even when not referenced in classfile
Reviewed-by: coleenp, hseigel, ddmitriev
2016-09-06 16:29:32 -04:00
Coleen Phillimore
f03ab592cc
8165268: [BACKOUT] InstanceKlass::_previous_version_count goes negative
...
Reviewed-by: dcubed
2016-09-01 18:02:13 -04:00
Rachel Protacio
fca8d5b7b1
8163973: VM Anonymous classes should not call Class File Load Hooks
...
Ensures CFLH's are not called for VM anonymous classes
Reviewed-by: lfoltan, dholmes, coleenp, vlivanov, acorn
2016-08-22 11:06:18 -04:00
Dean Long
e2e8ee17d0
Merge
2016-09-20 16:34:45 -04:00
Vivek Deshpande
d58e3e0324
8154122: Intrinsify fused mac operations
...
Added FMA intrinsics on x86
Reviewed-by: kvn, aph, darcy
2016-08-26 12:17:50 -07:00
Kirill Zhaldybin
635fad4510
8164738: Convert AltHashing_test to GTest
...
Reviewed-by: dholmes, coleenp
2016-08-24 18:10:09 +03:00
Robbin Ehn
d67d71f44c
8163589: Add back class id intrinsic method for event based tracing
...
Reviewed-by: kvn, mgronlun
2016-09-01 08:30:17 +02:00
Coleen Phillimore
31d8fcc4f9
8164692: InstanceKlass::_previous_version_count goes negative
...
Decrement previous_version_count when it's removed from the list.
Reviewed-by: dcubed, dlong, sspitsyn
2016-08-31 06:35:19 -04:00
Kim Barrett
66706edf15
8156500: Move Reference pending list into VM to prevent deadlocks
...
Move reference pending list and locking into VM
Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: coleenp, dholmes, dcubed, mchung, plevart
2016-08-30 23:48:16 -04:00
David Holmes
6db26ca5bf
8158854: Ensure release_store is paired with load_acquire in lock-free code
...
Reviewed-by: shade, dcubed, zgu
2016-08-29 20:13:45 -04:00
David Holmes
5f1f4489ac
8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
...
Remove atomic.inline.hpp and move the contents back into atomic.hpp
Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -04:00
Karen Kinnear
3b21f492f9
8163808: Fix asserts and logging for old classfile vtable construction
...
Reviewed-by: coleenp, lfoltan, rprotacio, ctornqvi
2016-08-19 11:32:43 -04:00
Alejandro Murillo
dba428fb92
Merge
2016-08-12 14:12:55 -07:00
Alejandro Murillo
2d36c89f18
Merge
2016-08-12 13:58:14 -07:00
Lois Foltan
2579620b6d
8162553: Crash in class unloading due to null CLD having a zero _keep_alive value
...
Correct the refcounting of ClassLoaderData::_keep_alive for anonymous classes.
Reviewed-by: acorn, coleenp, dholmes, jiangli
2016-08-11 11:41:11 -04:00
Harold Seigel
d7ea24479b
8136930: Simplify use of module-system options by custom launchers
...
Reviewed-by: coleenp, lfoltan, mchung
2016-08-10 15:48:04 -07:00
Max Ockner
d3e6075c94
8159917: Space character is missing in ClassLoaderData::print_value_on
...
Added missing space in ClassLoaderData::print_value_on
Reviewed-by: coleenp
2016-08-04 12:24:10 -04:00
Coleen Phillimore
8f37b6e451
8161445: [BACKOUT] MemberNameTable doesn't purge stale entries
...
Original change caused performance regression in microbenchmarks after GC
Reviewed-by: dholmes, ecaspole
2016-08-01 16:28:23 -04:00
Lois Foltan
6066d30e17
8160487: JVM should validate a module by checking for an instance of java.lang.reflect.Module
...
Correct the checking of an instance of java.lang.reflect.Module to validate a module
Reviewed-by: alanb, coleenp, redestad
2016-07-28 09:57:49 -04:00
Karen Kinnear
9c928767ba
8162340: Better class stream parsing
...
Check platform and boot loader for java/* packages
Reviewed-by: lfoltan, coleenp, dholmes
2016-07-27 08:31:48 -04:00
Lois Foltan
64f4953141
8154239: -Xbootclasspath/a breaks exploded build
...
Correct exploded modules build system class path search for the boot loader
Reviewed-by: acorn, ccheung, hseigel, jiangli
2016-07-26 10:29:27 -04:00
Max Ockner
4945fbd459
8038332: The trace event vm/class/load is not always being sent
...
Added trace event vm/class/define
Reviewed-by: coleenp, egahlin, acorn
2016-07-25 09:40:31 -04:00