Henry Jen
776ef6a071
Merge
2019-01-15 10:55:26 -08:00
Jiangli Zhou
e0aa3e0609
8214827: Incorrect call ClassLoaders.toFileURL("jrt:/java.compiler")
...
Use URL constructor for jrt URL in SystemDictionaryShared::get_shared_protection_domain().
Reviewed-by: ccheung, iklam, dholmes, coleenp
2019-01-10 13:03:34 -05:00
Coleen Phillimore
cab9667f41
8215575: C2 crash: assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
...
Set InstanceKlass::loaded before adding classes to the subklass list, which can be read concurrently by the compiler.
Reviewed-by: dholmes, eosterlund
2019-01-09 07:52:45 -05:00
Henry Jen
d77f96b0b2
Merge
2018-12-13 11:47:35 -08:00
Michihiro Horie
31fbc28af5
8213754: PPC64: Add Intrinsics for isDigit/isLowerCase/isUpperCase/isWhitespace
...
Reviewed-by: kvn, rriggs, mdoerr, gromero
2018-12-11 20:31:18 -05:00
Jini George
fdf7d4ec11
8200613: SA: jstack throws UnmappedAddressException with a CDS core file
...
Dump the closed archive heap space into the corefile on Linux by setting bit 2 of the coredump_filter file to dump the file backed private mappings.
Reviewed-by: iklam, cjplummer, kevinw, coleenp
2018-12-12 10:13:11 +05:30
Gerard Ziemski
9be447e22f
8214310: SymbolTable: Use get and insert
...
Replace get_insert() with get(),insert()
Reviewed-by: redestad, coleenp
2018-12-11 14:09:54 -06:00
Harold Seigel
b564c0c1a9
8215165: Improve -Xlog:class+preview message text
...
Fix up the logging message.
Reviewed-by: acorn, lfoltan
2018-12-11 10:29:08 -05:00
Per Lidén
1af1a69fbc
8215395: Allow null oops in Dictionary and JNIHandle verification
...
Reviewed-by: eosterlund, kbarrett, coleenp
2018-12-15 20:03:06 +01:00
Igor Ignatyev
5ff302e6bb
8214917: CTW testlibrary shouldn't ignore errors raised by the library itself
...
Reviewed-by: kvn, roland
2018-12-10 11:04:55 -08:00
Gerard Ziemski
949269e785
8209387: Follow ups to JDK-8195100 Use a low latency hashtable for SymbolTable
...
Use size_t, replaced macros with const, reverted incorrect API name change.
Reviewed-by: coleenp, kbarrett
2018-12-10 11:59:55 -06:00
Coleen Phillimore
3d0faa649c
8214972: Uses of klass_holder() except GC need to apply GC barriers
...
Fix klass_holder() and make all callers use it, remove holder_phantom().
Reviewed-by: eosterlund, dlong
2018-12-07 14:48:35 -05:00
Nils Eliasson
4246096355
8214773: Replace use of thread unsafe strtok
...
Reviewed-by: thartmann, dholmes
2018-12-04 18:55:06 +01:00
Dmitry Chuyko
75822e9f7a
8214707: Prevent GCC 8 from reporting error in ClassLoader::file_name_for_class_name()
...
Reviewed-by: hseigel, dholmes
2018-12-07 10:48:39 +03:00
Harold Seigel
145582dfa1
8214807: Improve handling of very old class files
...
Remove old version specific code in reflection.cpp
Reviewed-by: acorn, dholmes
2018-12-06 09:58:26 -05:00
Thomas Schatzl
528361f7ae
8214850: Rename vm_operations.?pp files to vmOperations.?pp files
...
Reviewed-by: dholmes, coleenp
2018-12-06 15:44:40 +01:00
Per Lidén
602d095268
8214782: Add missing access barriers on CLD handle area
...
Reviewed-by: coleenp, eosterlund
2018-12-05 17:11:20 +01:00
Per Lidén
bfbeb1fe9e
8214784: Adjust Dictionary and JNIHandle verification
...
Reviewed-by: coleenp, eosterlund
2018-12-05 17:11:19 +01:00
Erik Österlund
cb1aebae6e
8214522: Last runtime locking issues for concurrent class unloading
...
Reviewed-by: coleenp, pliden
2018-12-05 08:55:42 +01:00
Calvin Cheung
4e935d302a
8214728: Unnecessary InstanceKlass::cast at few places
...
Reviewed-by: lfoltan, jiangli, coleenp
2018-12-04 11:54:09 -08:00
Ioi Lam
a0a108fb01
8214388: CDS dumping fails with java heap fragmentation
...
Force a full GC with a single thread before writing heap archive regions
Reviewed-by: sjohanss, jiangli
2018-12-03 22:27:24 -08:00
Erik Österlund
3a5bccf5c6
8213565: Crash in DependencyContext::remove_dependent_nmethod
...
Reviewed-by: rehn, kvn
2018-11-30 11:40:48 +01:00
Robbin Ehn
7e0040c384
8213791: StringTable: Use get and insert
...
Reviewed-by: eosterlund, gziemski
2018-11-28 11:06:27 +01:00
Dean Long
787f8b320e
8213259: [AOT] AOTing java.base fails with "java.lang.AssertionError: no fingerprint for Ljdk/internal/event/Event"
...
Reviewed-by: iklam, kvn
2018-11-26 22:49:57 -08:00
Ioi Lam
6d269930fd
8213587: Speed up CDS dump time by using resizable hashtables
...
Reviewed-by: jiangli, coleenp, gziemski
2018-11-20 20:00:15 -08:00
Coleen Phillimore
e66dfd30c4
8210094: Better loading of classloader classes
...
Reviewed-by: acorn, hseigel, ahgross, rhalade
2018-09-10 16:49:01 -04:00
Ioi Lam
26cf1a832b
8213948: Solaris-X64 build fails with compact hashtable
...
Reviewed-by: dcubed, shade
2018-11-16 17:46:15 -08:00
Coleen Phillimore
673c68d993
8213092: Add more runtime locks for concurrent class unloading
...
Add locks for calling CLDG::purge concurrently as well and for calling SystemDictionary::do_unloading concurrently.
Reviewed-by: eosterlund, hseigel
2018-11-16 10:54:04 -05:00
Coleen Phillimore
dce8ff4dba
8213751: ClassLoaderDataGraph::cld_do() should sometimes require CLDG_lock
...
Add version of loaded_cld_do for runtime calls.
Reviewed-by: eosterlund, rehn
2018-11-16 07:30:40 -05:00
Robbin Ehn
9a79d90cc6
8213574: Deadlock in string table expansion when dumping lots of CDS classes
...
Reviewed-by: jiangli, iklam, dholmes
2018-11-14 07:50:37 +01:00
Ioi Lam
147fc3ed13
8213346: Re-implement shared dictionary using CompactHashtable
...
Reviewed-by: jiangli
2018-11-07 19:40:27 -08:00
Thomas Schatzl
56db122656
8213307: G1 should clean up RMT with ClassUnloadingWithConcurrentMark
...
Re-enable cleanup of the ResolvedMethodTable after changes in JDK-8206423.
Reviewed-by: shade, coleenp
2018-11-13 11:45:16 +01:00
Ioi Lam
b84cf61b08
8213250: CDS archive creation aborts due to metaspace object allocation failure
...
Reviewed-by: jiangli, ccheung
2018-11-01 10:59:05 -07:00
Daniel D. Daugherty
ca1c6b93ac
8213487: [BACKOUT] 8213414 Fix incorrect copy constructors in hotspot
...
Reviewed-by: roland, rkennke, thartmann
2018-11-07 12:40:51 -05:00
Magnus Ihse Bursie
1165eb3afe
8213414: Fix incorrect copy constructors in hotspot
...
Reviewed-by: kbarrett
2018-11-07 10:12:43 +01:00
Dean Long
a9ae141836
8212605: Pure-Java implementation of AccessController.doPrivileged
...
Reviewed-by: dholmes, mullan, vlivanov, mchung, alanb, rriggs
2018-11-06 16:04:50 -08:00
Erik Österlund
3798a62adb
8212996: Use AS_NO_KEEPALIVE when accessing dead java.lang.invoke.CallSites during nmethod unloading
...
Reviewed-by: coleenp, pliden
2018-11-05 12:36:23 +01:00
Jiangli Zhou
80ad2c7e71
8212995: Placing the Integer.IntegerCache and cached Integer objects in the closed archive heap region
...
Support shareable archive object subgraphs in closed archive heap regions.
Reviewed-by: iklam, ccheung
2018-11-03 15:40:19 -04:00
Per Lidén
54d4acf73f
8212184: Incorrect oop ref strength used for referents in FinalReference
...
Reviewed-by: eosterlund, kbarrett
2018-11-02 07:58:22 +01:00
Coleen Phillimore
adb1dcdcc2
8213107: Make ClassLoaderDataGraph iterator skip unloaded CLDs
...
With concurrent class unloading, the CLDG could contain unloaded CLDs while iterating in a safepoint
Reviewed-by: lfoltan, eosterlund
2018-10-31 07:06:54 -04:00
Markus Grönlund
e4f5ffc403
8213172: CDS and JFR tests fail with assert(JdkJfrEvent::is(klass)) failed: invariant
...
Reviewed-by: egahlin, dholmes
2018-10-31 09:09:23 +01:00
Jiangli Zhou
b9f22907d3
8203953: Rename SystemDictionary::load_shared_class(Symbol*, Handle, TRAPS) to load_shared_boot_class()
...
Rename SystemDictionary::load_shared_class.
Reviewed-by: coleenp
2018-10-30 22:24:04 -04:00
Ioi Lam
93395f6a9e
8212200: assert when shared java.lang.Object is redefined by JVMTI agent
...
Reviewed-by: dholmes, jiangli, hseigel, lfoltan, sspitsyn
2018-10-17 15:57:10 -07:00
Jiangli Zhou
0c554411b0
8205327: Clean up #if INCLUDE_CDS in classLoaderExt.cpp and classLoaderExt.hpp
...
Clean up #if INCLUDE_CDS in classLoaderExt.* files.
Reviewed-by: dholmes
2018-10-29 14:00:48 -04:00
Calvin Cheung
7c81535d46
8209598: Clean up how messages are printed when CDS aborts start-up
...
Added a new function vm_exit_during_cds_dumping() to java.cpp so that it can be used when an error condition is encountered during CDS dumping.
Reviewed-by: iklam, dholmes, jiangli
2018-10-25 21:40:17 -07:00
Mandy Chung
5e6d6b8642
8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
...
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
Ioi Lam
4abb6861ec
8212642: Remove SystemDictionary::InitOption enum
...
Reviewed-by: dholmes, kvn, redestad
2018-10-18 23:05:01 -07:00
Harold Seigel
ef3c0a2458
8209087: Clean up runtime code that compares 'this' to NULL
...
Remove 'this' to NULL comparisons from methods and check if calling objects of these methods could be NULL.
Reviewed-by: lfoltan, gziemski
2018-10-18 10:35:58 -04:00
Harold Seigel
794d864feb
7041262: VM_Version should be called instead of Abstract_VM_Version so that overriding works
...
Change calls to Abstract_VM_Version methods to be calls to VM_Version methods.
Reviewed-by: coleenp, kbarrett, dholmes
2018-10-16 11:08:46 -04:00
Erik Österlund
e39c5811b5
8210330: Make CLD claiming allow multiple claim bits
...
Reviewed-by: pliden, coleenp
2018-10-16 13:16:11 +02:00