Kim Barrett
e396e38bb3
8227653: Add VM Global OopStorage
...
Replaced conditional JVMCI global storage with VM global storage.
Reviewed-by: tschatzl, lfoltan, kvn
2019-07-18 14:57:32 -04:00
Coleen Phillimore
04b98fd1df
8222446: assert(C->env()->system_dictionary_modification_counter_changed()) failed: Must invalidate if TypeFuncs differ
...
Remove SystemDictionary::modification_counter optimization
Reviewed-by: dlong, eosterlund
2019-07-10 07:58:24 -04:00
Claes Redestad
00026605f6
8225344: Avoid VM_EnableBiasedLocking VM operation during bootstrap if BiasedLockingStartupDelay is 0
...
Reviewed-by: dcubed, shade, dholmes
2019-07-01 12:16:58 +02:00
Gerard Ziemski
2cf9999ae2
8225310: JFR crashed in JfrPeriodicEventSet::requestProtectionDomainCacheTableStatistics()
...
Added lock around table usage
Reviewed-by: coleenp, hseigel
2019-06-18 12:39:29 -05:00
Coleen Phillimore
204059634d
8223657: Remove unused THREAD argument from SymbolTable functions
...
Also made lookup and lookup_only functions private to SymbolTable. External callers use new_symbol or probe.
Reviewed-by: dholmes, gziemski
2019-05-14 11:29:18 -04:00
Coleen Phillimore
77d60eff6a
8223626: move print() functions to cpp files
...
Improve debugging experience
Reviewed-by: dholmes, dlong
2019-05-10 09:05:29 -04:00
Stefan Karlsson
c90f3ee68b
8223624: Cleanup includes of universe.hpp
...
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Gerard Ziemski
d988e67b89
8185525: Add JFR event for DictionarySizes
...
Added TableStatistics event
Reviewed-by: egahlin, coleenp
2019-05-08 11:11:50 -05:00
Vladimir Kozlov
e9c523ae5f
8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
...
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
Coleen Phillimore
fbafef11c0
8222811: Consolidate MutexLockerEx and MutexLocker
...
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.
Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Lois Foltan
57aaf7a8cd
8218994: Consolidate indy and condy JVM information within a BootstrapInfo data structure
...
Introduce BootstrapInfo data structure and merge invocation of a bootstrap method for condy and indy into invoke_bootstrap_method.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp
2019-04-23 14:09:54 -04:00
Stefan Karlsson
23f02171c8
8221393: ResolvedMethodTable too small for StackWalking applications
...
Reviewed-by: coleenp, rehn
2019-04-10 15:41:04 +02:00
Ioi Lam
d06f3e7e28
8218751: Do not store original classfiles inside the CDS archive
...
Remove the OD shared region and decode classfiles on the fly
Reviewed-by: jiangli, ccheung, sspitsyn, redestad
2019-02-21 17:07:35 -08:00
Coleen Phillimore
d869d9287f
8218851: JVM crash in custom classloader stress test, JDK 12 & 13
...
Handle NULL and unloaded constraint class in loader constraint table, also cope with unloaded but not cleaned out klass in loader constraint entries.
Reviewed-by: hseigel, huntch, stuefe
2019-02-15 08:21:08 -05:00
Lois Foltan
9631b06423
8217998: Remove method_type field associated with the appendix field of an indy or method handle call
...
Removed the unused method_type field associated with the appendix field of an indy or method handle call.
Reviewed-by: acorn, coleenp, dlong
2019-02-13 15:50:08 -05:00
Coleen Phillimore
73ccdf3557
8213753: SymbolTable is double walked during class unloading and clean up table timing in do_unloading
...
Remove gc timing for short runtime cleanup triggering; make symbol table cleaning triggered automatically on unloading
Reviewed-by: shade, stefank, gziemski
2019-01-31 10:29:53 -05:00
Jesper Wilhelmsson
a8c5f1e59a
Merge
2019-01-15 22:54:09 +01:00
Henry Jen
776ef6a071
Merge
2019-01-15 10:55:26 -08: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
Jesper Wilhelmsson
67a5fc2529
Merge
2019-01-09 22:59:49 +01:00
Harold Seigel
265abce7fb
8205505: Expire and remove remaining support for commercial features
...
Remove the unneeded options and their tests and update the JCMD documentation.
Reviewed-by: dholmes, coleenp, erikj
2018-12-20 08:43:23 -05:00
Coleen Phillimore
e66dfd30c4
8210094: Better loading of classloader classes
...
Reviewed-by: acorn, hseigel, ahgross, rhalade
2018-09-10 16:49:01 -04: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
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
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
Ioi Lam
4abb6861ec
8212642: Remove SystemDictionary::InitOption enum
...
Reviewed-by: dholmes, kvn, redestad
2018-10-18 23:05:01 -07:00
Jiangli Zhou
a2ad8f419f
8206009: Move CDS java heap object archiving code to heapShared.hpp and heapShared.cpp
...
Restructure and cleanup java heap object archiving code.
Reviewed-by: coleenp, iklam
2018-10-09 15:58:07 -04:00
Harold Seigel
221005a3d4
8209138: Symbol constructor uses u1 as the element type of its name argument
...
Maske u1 the type for Symbol values and add a function to return it as a char.
Reviewed-by: dholmes, coleenp
2018-10-03 09:46:46 -04:00
Coleen Phillimore
7ef28cb2bc
8209645: Split ClassLoaderData and ClassLoaderDataGraph into separate files
...
Reviewed-by: iklam, stuefe
2018-09-28 16:07:39 -04:00
Jiangli Zhou
bd77f790c3
8209971: TestOptionsWithRanges.java crashes in CDS mode with G1UpdateBufferSize=1
...
Fixup archive heap regions before restoring any archived java object at runtime.
Reviewed-by: iklam, ccheung
2018-09-07 15:18:14 -04:00
Patricio Chilano Mateo
16b92a561c
8206424: Use locking for cleaning ProtectionDomainTable
...
ServiceThread is now in charge of cleaning ProtectionDomainTable entries
Reviewed-by: coleenp, iklam
2018-08-31 10:22:04 -04:00
Coleen Phillimore
eb9259138f
8210155: Lock ClassLoaderDataGraph
...
In preparation for concurrent class unloading.
Reviewed-by: hseigel, eosterlund
2018-08-31 07:03:46 -04:00
Harold Seigel
eb51968f00
8202578: Revisit location for class unload events
...
Use notify_unload_class() to post JFR class unload events instead of doing a separate traversal of the class loader data graph
Reviewed-by: lfoltan, coleenp, mgronlun, egahlin
2018-08-28 10:10:11 -04:00
Jiangli Zhou
7a51b4a8fa
8208061: runtime/LoadClass/TestResize.java fails with "Load factor too high" when running in CDS mode
...
Allow resizing for all system dictionaries except for the shared dictionary at runtime.
Reviewed-by: iklam, gziemski
2018-08-24 15:33:28 -04:00
Patricio Chilano Mateo
4ef5590fa7
8206423: Use locking for cleaning ResolvedMethodTable
...
ServiceThread is now in charge of cleaning ResolvedMethodTable entries
Reviewed-by: gziemski, dholmes, coleenp
2018-08-21 10:37:02 -04:00
Lois Foltan
75ed173e15
8209301: JVM rename is_anonymous, host_klass to unsafe specific terminology ahead of Unsafe.defineAnonymousClass deprecation
...
Clean up VM anonymous class terminology.
Reviewed-by: coleenp, dholmes, mchung
2018-08-20 08:25:57 -04:00
Coleen Phillimore
ef15adee70
8209541: Fix merge problem in SymbolTable::do_check_concurrent_work
...
Remerged with previous change to do_unloading.
Reviewed-by: hseigel
2018-08-15 16:01:48 -04:00
Harold Seigel
83b2fb5b0d
8207778: Add locking to ModuleEntry and PackageEntry tables
...
Restructure ClassLoaderDataGraph code to simplify using locks in SystemDictionary::do_unloading()
Reviewed-by: lfoltan, coleenp
2018-08-10 09:30:26 -04:00
Ioi Lam
1b2e7cbaef
8208999: Some use of Klass* should be replaced by InstanceKlass*
...
Klass::java_super() => InstanceKlass*; InstanceKlass::{local,transitive}_interfaces() => Array<InstanceKlass*>*
Reviewed-by: coleenp, hseigel
2018-08-07 15:45:07 -07:00
Harold Seigel
38db1d1620
8202171: Some oopDesc functions compare this with NULL
...
Add Method* parameter and made verify* methods static to avoid 'this' comparison with NULL, Added NULL checks before calling print_on() methods.
Reviewed-by: kbarrett, coleenp
2018-07-31 14:24:10 -04:00
Ioi Lam
9959e34180
8203382: Rename SystemDictionary::initialize_wk_klass to resolve_wk_klass
...
Reviewed-by: jiangli
2018-07-20 12:19:28 -07:00
Coleen Phillimore
39dd04b953
8207359: Make SymbolTable increment_refcount disallow zero
...
Use cmpxchg for non permanent symbol refcounting, and pack refcount and length into an int.
Reviewed-by: gziemski, kbarrett, iklam
2018-07-20 14:52:11 -04:00
Lois Foltan
cc58241bec
8205611: Improve the wording of LinkageErrors to include module and class loader information
...
Clean up the wording of loader constraint violations to include the module and class loader information.
Reviewed-by: coleenp, goetz, hseigel
2018-07-16 11:34:17 -04:00
Goetz Lindenmaier
8a9b0134a8
8206977: Minor improvements of runtime code
...
Reviewed-by: coleenp, lfoltan
2018-07-11 16:11:10 +02:00
Paul Sandoz
14651d9e02
8195650: Method references to VarHandle accessors
...
Reviewed-by: jrose
2018-06-25 14:39:44 -07:00
David Holmes
95bf19563b
8010319: Implementation of JEP 181: Nest-Based Access Control
...
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Lois Foltan
425e1a8bb8
8202605: Standardize on ClassLoaderData::loader_name() throughout the VM to obtain a class loader's name
...
Introduced ClassLoaderData::name() and ClassLoaderData::name_and_id() for use when obtaining a class loader's name.
Reviewed-by: coleenp, goetz, mchung, stuefe
2018-06-19 07:54:11 -04:00
Coleen Phillimore
892a2af03f
8204301: Make OrderAccess functions available to hpp rather than inline.hpp files
...
Move orderAccess.inline.hpp into orderAccess.hpp and remove os.hpp inclusion and conditional os::is_MP() for fence on x86 platforms
Reviewed-by: dholmes, hseigel
2018-06-06 10:45:40 -04:00