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
Ioi Lam
7ba18fc015
8240244: Avoid calling resolve_super_or_fail in SystemDictionary::load_shared_class
...
Reviewed-by: redestad, lfoltan, minqi
2020-03-04 22:26:48 -08:00
Calvin Cheung
5229896f4f
8240481: Remove CDS usage of InstanceKlass::is_in_error_state
...
Track the classes which fail verification during CDS dumping in DumpTimeSharedClassInfo.
Reviewed-by: iklam, minqi
2020-03-04 15:34:53 -08:00
Coleen Phillimore
3ca275fb91
8225760: oop::raw_set_obj isn't needed
...
Reviewed-by: hseigel, rkennke
2020-03-03 11:19:35 -05:00
Claes Redestad
52cfd292cc
8240263: Assertion-only call in Method::link_method affecting product builds
...
Reviewed-by: shade, dcubed, iklam
2020-03-03 12:41:12 +01:00
Lois Foltan
c280d98e80
8237766: Enhance signature API to include ResolvingSignatureStream
...
New ResolvingSignatureStream class provides the capability to easily walk through the differing parts of a signature while resolving or querying its underlying types.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: coleenp, fparain, hseigel
2020-03-02 18:42:22 +00:00
Yumin Qi
add146cc8b
8236604: Optimize SystemDictionary::resolve_well_known_classes for CDS
...
Serialize SystemDictionary::_well_known_classes into CDS and quickly resolve them at runtime in vm startup stage.
Reviewed-by: iklam, coleenp
2020-02-28 15:30:29 -08:00
Harold Seigel
a1e9328367
8235225: Replace CHECK_0 with CHECK_NULL for non-integer returning methods
...
Change CHECK_0 to CHECK_NULL and CHECK_false where appropriate
Reviewed-by: mikael, dholmes, coleenp
2020-02-27 13:00:05 +00:00
Claes Redestad
289513cc2b
8239235: Examine SignatureStream performance after consolidation
...
Reviewed-by: lfoltan, coleenp
2020-02-24 10:20:35 +01:00
Claes Redestad
58a5910393
8239347: Refactor Symbol to make _length a standalone field again
...
Reviewed-by: iklam, coleenp
2020-02-20 13:18:30 +01:00
Stefan Karlsson
e4b27a48a0
8183574: Unify the is_power_of_2 functions
...
Reviewed-by: kbarrett, redestad
2020-02-17 10:03:17 +01:00
Nils Eliasson
18c01206d0
8203883: Remove State from InvocationCounters
...
Reviewed-by: redestad, thartmann
2020-02-12 20:53:48 +01:00
Harold Seigel
d298a05d02
8238175: CTW: Class.getDeclaredMethods fails with assert(k->is_subclass_of(SystemDictionary::Throwable_klass())) failed: invalid exception class
...
Replace the assert with a logging message saying that the class is not a subclass of java.lang.Throwable
Reviewed-by: dholmes, coleenp
2020-02-13 15:43:59 +00:00
Kim Barrett
25c5a23695
8238272: Eliminate cast_from_oop to narrowOop*
...
Improved low address computation in ObjArrayKlass::oop_oop_iterate_range.
Reviewed-by: tschatzl, sjohanss
2020-02-12 15:38:48 -05:00
Frederic Parain
9886cb401c
8237767: Field layout computation overhaul
...
Reviewed-by: dholmes, coleenp, lfoltan, shade
2020-02-10 09:49:12 -05:00
Lois Foltan
d19a396e96
8230199: consolidate signature parsing code in HotSpot sources
...
Add a new Signature class to support basic signature queries and enhance SignatureStream class to parse field signatures in addition to methods.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: coleenp, dholmes, fparain, hseigel
2020-02-06 14:29:57 +00:00
David Leopoldseder
135f209852
8238190: [JVMCI] Fix single implementor speculation for diamond shapes
...
Reviewed-by: kvn
2020-02-04 09:33:09 +01:00
Stefan Karlsson
46423b0f70
8237637: Remove dubious type conversions from oop
...
Reviewed-by: kbarrett, dholmes, mdoerr
2020-01-24 09:27:07 +01:00
Jesper Wilhelmsson
b936939454
Merge
2020-01-20 18:05:07 +01:00
Sangheon Kim
c26aa638a1
8234173: assert(loader != __null && oopDesc::is_oop(loader)) failed: loader must be oop
...
Reviewed-by: kbarrett, egahlin, tschatzl
2020-01-16 13:19:55 -08:00
Harold Seigel
7fc58a1020
8235678: Remove unnecessary calls to Thread::current() in MutexLocker calls
...
Add THREAD argument when available and make Thread* the first argument to relevant MutexLocker and MonitorLocker constructors
Reviewed-by: lfoltan, coleenp, dholmes
2020-01-16 13:48:23 +00:00
Jesper Wilhelmsson
51d5164ca2
Merge
2020-01-16 04:09:50 +01:00
Coleen Phillimore
016b0f0caa
8232759: Remove GC.class_stats
...
Make the GC.class_stats option obsolete
Reviewed-by: dholmes, iklam
2020-01-09 17:38:41 -05:00
Lois Foltan
40429eea41
8225261: Better method resolutions
...
Correct the class used to perform the overriding check in klassVtable::find_transitive_override
Reviewed-by: ahgross, dholmes, hseigel, jwilhelm, rhalade
2019-09-12 11:46:05 -04:00