Coleen Phillimore
c63911b33b
8249822: SymbolPropertyTable creates an extra OopHandle per entry
...
Add an assert to OopHandle assigment operator to catch leaking OopHandles, and fix code accordingly.
Reviewed-by: sspitsyn, eosterlund, dholmes
2020-07-24 07:45:38 -04:00
Coleen Phillimore
2d8e74ddea
8249768: Move static oops and NullPointerException oops from Universe into OopStorage
...
Make NPE oops an objArrayOop.
Reviewed-by: dholmes, eosterlund
2020-07-22 10:32:44 -04:00
Coleen Phillimore
6ee76b6b05
8249760: Unnecessary #include oopStorageSet
...
Reviewed-by: hseigel
2020-07-20 10:53:29 -04:00
Coleen Phillimore
99eccaf6ec
8247878: Move Management strong oops to OopStorage
...
Use OopStorage for strong oops stored with memory and thread sampling and dumping, and remove oops_do and GC calls.
Reviewed-by: dholmes, kbarrett
2020-07-20 07:50:27 -04:00
Calvin Cheung
5146474954
8246308: Reference count for PackageEntry::name may be incorrectly decremented
...
Corrected the usage of TempNewSymbol.
Reviewed-by: minqi, iklam
2020-07-13 16:05:25 +00:00
Frederic Parain
985061ac28
8249149: Remove obsolete UseNewFieldLayout option and associated code
...
Reviewed-by: hseigel, iklam
2020-07-10 09:13:03 -04:00
Koichi Sakata
ed31b661d3
8247818: GCC 10 warning stringop-overflow with symbol code
...
Reviewed-by: kbarrett, iklam
2020-07-08 11:39:11 -07:00
Ioi Lam
3d1b1a6bc9
8248170: Excessive include of compiledMethod, codeCache, javaClasses and systemDictionary
...
Reviewed-by: dholmes, kvn, coleenp, stefank
2020-07-06 23:11:37 -07:00
Ioi Lam
8170244a81
8248886: InstanceKlass::initialize_impl crashes with -XX:-UsePerfData after JDK-8246019
...
Reviewed-by: ccheung
2020-07-06 17:52:52 -07:00
Ioi Lam
2e09a58f64
8246019: PerfClassTraceTime slows down VM start-up
...
Reviewed-by: dholmes, redestad, minqi, ccheung
2020-07-06 15:14:44 -07:00
Jesper Wilhelmsson
233cac3232
Merge
2020-06-25 03:11:32 +02:00
Markus Grönlund
6715f2306e
8241718: assert ((klass)->trace_id()) & ((JfrTraceIdEpoch::method_and_class_in_use_this_epoch_bits()))) != 0 in ObjectSampleCheckpoint::add_to_leakp_set
...
Reviewed-by: dholmes, iklam, ccheung
2020-06-24 11:22:14 +02:00
Stefan Karlsson
17f2250c5a
8247879: Rework WeakHandle and OopHandle to dynamically support different OopStorages
...
Reviewed-by: coleenp, eosterlund
2020-06-23 09:38:21 +02:00
Stefan Karlsson
77bdc30650
8247470: Fix CHeap GrowableArray NMT accounting
...
Reviewed-by: coleenp, tschatzl, kbarrett
2020-06-16 09:37:53 +02:00
Kim Barrett
c1cd3893bd
8247524: Remove unnecessary volatile qualifiers from member functions
...
Remove qualifiers for oopDesc and metadata-related member functions.
Reviewed-by: stefank, dholmes, stuefe, coleenp
2020-06-15 21:14:52 -04:00
Serguei Spitsyn
2ff9f53a44
8222005: ClassRedefinition crashes with: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
...
Remove optimizations from class redefinition that cause the guarantee hit
Reviewed-by: coleenp, dcubed
2020-06-11 05:53:33 +00:00
Calvin Cheung
847a3baca8
8198698: Support Lambda proxy classes in dynamic CDS archive
...
Added archving of hidden classes of type lambda proxy classes.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: mchung, iklam, dholmes
2020-06-10 15:50:26 +00:00
Coleen Phillimore
f3c2a17a30
8247220: Make OopHandle constructor explicit
...
Fix null initializations to explicitly call the OopHandle constructor
Reviewed-by: lfoltan, kbarrett
2020-06-10 08:29:39 -04:00
Erik Österlund
9a8ace2c0a
8246837: Rename WeakHandle<vm_class_loader_data> to better reflect its OopStorage association
...
Reviewed-by: coleenp
2020-06-09 16:09:55 +00:00
Coleen Phillimore
498b0e61ed
8246340: Move SystemDictionary GC roots into OopStorage
...
Use vm_global() OopStorage for system dictionary roots
Reviewed-by: eosterlund, lfoltan
2020-06-05 09:55:31 -04:00
Vicente Romero
d42bfef8a4
8227046: compiler implementation for sealed classes
...
8225056: VM support for sealed classes
8227044: javax.lang.model for sealed classes
8227045: Preview APIs support for sealed classes
8227047: Javadoc for sealed types
8245854: JVM TI Specification for sealed classes
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, forax, darcy, dholmes, jlahoda, lfoltan, mchung, sspitsyn, vromero
2020-06-01 17:00:40 -04:00
Coleen Phillimore
5314d28f84
8245289: Clean up offset code in JavaClasses
...
Make offset member names consistent and private, move static initializations near owning classes
Reviewed-by: fparain, lfoltan
2020-05-29 15:00:19 -04:00
Ao Qi
dfc7905a10
8246027: Minimal fastdebug build broken after JDK-8245801
...
Added COMPILER2_PRESENT macro
Reviewed-by: shade, thartmann
2020-05-28 09:15:25 +02:00
Tobias Hartmann
76ac621394
8245801: StressRecompilation triggers assert "redundunt OSR recompilation detected. memory leak in CodeCache!"
...
Assert is too strong.
Reviewed-by: roland
2020-05-27 13:26:23 +02:00
Stefan Johansson
2ff952bf32
8245723: Remove PrintCompressedOopsMode and change gc+heap+coops info log to debug level
...
Reviewed-by: dholmes, coleenp, tschatzl
2020-05-27 11:48:13 +02:00
Kim Barrett
d3042cc401
8245594: Remove volatile-qualified member functions and parameters from oop class
...
Remove volatile qualifications in oop and derived classes; use Atomic for access.
Reviewed-by: dholmes, coleenp
2020-05-25 16:21:25 -04:00
Christian Hagedorn
9b94b9d1a1
8244946: fatal error: memory leak: allocating without ResourceMark with -XX:+Verbose -Xlog:methodhandles
...
Fix crash due to a missing ResourceMark when logging methodhandles with Verbose.
Reviewed-by: dcubed, dholmes, coleenp
2020-05-25 11:34:11 +02:00
Thomas Stuefe
04e6b743db
8243392: Remodel CDS/Metaspace storage reservation
...
Reviewed-by: iklam, coleenp, ngasson, aph
2020-05-24 19:25:29 +02:00
Erik Österlund
6508c5a38d
8243996: Remove hardcoded field offsets from HotSpot
...
Reviewed-by: jrose, coleenp, dholmes, fparain
2020-05-20 09:31:38 +00:00
Kim Barrett
e9b8463d3d
8245236: Remove MO_VOLATILE Access decorator
...
Use MO_RELAXED instead of MO_VOLATILE and removed MO_VOLATILE.
Reviewed-by: stefank, tschatzl
2020-05-20 02:02:48 -04:00
Erik Österlund
382e5dc334
8241825: Make compressed oops and compressed class pointers independent (x86_64, PPC, S390)
...
Reviewed-by: coleenp, fparain, stuefe, mdoerr
2020-05-13 09:36:12 +00:00
Aleksey Shipilev
54b49db321
8244606: Non-PCH build is broken after JDK-8244550
...
Reviewed-by: redestad, dcubed
2020-05-07 16:44:48 +02:00
Claes Redestad
c2780c9556
8244550: Unsafe::allocateInstance does redundant transitions
...
Reviewed-by: coleenp, mchung, dholmes
2020-05-07 14:09:20 +02:00
Jie Fu
317bd88e33
8244489: Zero and minimal VM build failure after JDK-8241071 (MetaspaceShared::symbol_space_alloc is undefined)
...
Reviewed-by: dholmes
2020-05-06 09:00:30 +08:00
Ioi Lam
eadcb08c3c
8241071: Generation of classes.jsa with -Xshare:dump is not deterministic
...
Reviewed-by: dholmes, stuefe
2020-05-05 11:10:02 -07:00
Yumin Qi
832272da71
8178349: Cache builtin class loader constraints to avoid re-initializing itable/vtable for shared classes
...
Record loader constraints for built-in class which is loaded by app loader or platform loader in shared archive in dump time. When the class loaded from shared archive at runtime, directly check loader constraints using the saved info so avoid lengthy relayout i/v-table at class link stage.
Reviewed-by: iklam, ccheung
2020-05-01 10:58:45 -07:00
Coleen Phillimore
3153373e49
8242898: Clean up InstanceKlass::_array_klasses
...
Make type ObjArrayKlass
Reviewed-by: dholmes, iklam
2020-04-30 06:05:53 -04:00
Coleen Phillimore
f8ab03fa04
8243503: InstanceKlass::_array_name is not needed and leaks
...
Decrement the refcount for all Klass in class unloading.
Reviewed-by: lfoltan, hseigel
2020-04-24 16:54:28 -04:00
Coleen Phillimore
90ada6a314
8238048: Close alignment gaps in InstanceKlass
...
Moved fields around and some constant fields into ConstantPool
Reviewed-by: cjplummer, dlong, iklam
2020-04-23 16:29:22 -04:00
Mandy Chung
7cc1371059
8238358: Implementation of JEP 371: Hidden Classes
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Yumin Qi
7b8c373494
8240204: Optimize package handling for archived classes
...
ClassLoader::add_package just sets classpath_index to PackageEntry, moved the code to InstanceKlass. Also avoid calling check_prohibited_package since CDS does not archive prohibited classe in set_package.
Reviewed-by: hseigel, lfoltan, redestad, iklam
2020-04-20 16:36:15 -07:00
Kim Barrett
474ce89ebc
8242631: Missing but used special functions for some classes
...
Adjust some special function definitions to avoid deprecation warnings.
Reviewed-by: dholmes
2020-04-15 22:47:58 -04:00
Lois Foltan
d37985cd70
8210012: Implement Unified Logging Option for -XX:+TraceMethodHandles and -XX:+TraceInvokeDynamic
...
Transition the tracing method handles command line options to unified logging, -Xlog:methodhandles.
Reviewed-by: dholmes, iklam, jrose
2020-04-15 21:01:02 +00:00
Vladimir Ivanov
2ea157fee1
8227467: Better class method invocations
...
Reviewed-by: thartmann, dholmes, ahgross
2019-12-03 19:31:20 +03:00
Calvin Cheung
512644de06
8240205: Avoid PackageEntry lookup when loading shared classes
...
Do the PackageEntry lookup at one place and then pass it along to the subsequently called functions which need it.
Reviewed-by: redestad, lfoltan
2020-04-03 14:26:42 -07:00
Claes Redestad
fb56759d08
8242027: Clean up LinkResolver::check_klass_accessability
...
Reviewed-by: dholmes
2020-04-02 18:22:27 +02:00
Claes Redestad
23d6a788b4
8241371: Refactor and consolidate package_from_name
...
Reviewed-by: iklam, lfoltan
2020-03-23 23:18:42 +01:00
Tony Printezis
f2fb5c54ae
8239497: SEGV in EdgeUtils::field_name_symbol(Edge const&)
...
Reviewed-by: egahlin, tonyp
2020-03-18 12:00:19 +01:00
Vladimir Kozlov
ec5bd02186
8240976: [JVMCI] MethodProfileWidth flag is broken
...
Remove JVMCI code which is not used
Reviewed-by: thartmann, redestad
2020-03-17 10:38:40 -07:00
Calvin Cheung
9e2ab1e363
8232081: Try to link all classes during dynamic CDS dump
...
During CDS dynamic dump, link all classes loaded by the builtin class loaders in JVM_BeforeHalt() and JavaThread::invoke_shutdown_hooks().
Reviewed-by: iklam, dholmes
2020-03-06 15:33:13 -08:00