Jesper Wilhelmsson
4862d0d542
Merge
2020-06-22 18:23:49 +02:00
Mandy Chung
f2b191a6e9
8247444: Trust final fields in records
...
Co-authored-by: Christoph Dreis <christoph.dreis@freenet.de>
Reviewed-by: jrose, dholmes, forax, coleenp, vlivanov
2020-06-19 08:27:59 -07:00
Igor Ignatyev
f740cda526
8247716: JVM_RegisterWhiteBoxMethods checks wrong classloader
...
Reviewed-by: dcubed
2020-06-17 07:40:09 -07:00
Yasumasa Suenaga
cd3354756a
8247729: GetObjectMonitorUsage() might return inconsistent information
...
Reviewed-by: dholmes, dcubed, sspitsyn
2020-06-19 16:09:49 +09:00
Jesper Wilhelmsson
a16994ff7b
Merge
2020-06-19 00:30:46 +02:00
Stefan Karlsson
77bdc30650
8247470: Fix CHeap GrowableArray NMT accounting
...
Reviewed-by: coleenp, tschatzl, kbarrett
2020-06-16 09:37:53 +02:00
Poonam Bajaj
ac4603144d
8243290: Improve diagnostic messages for class verification and redefinition failures
...
Reviewed-by: coleenp, hseigel, sspitsyn
2020-06-12 12:51:32 +00:00
Robbin Ehn
6a2e3ca206
8247248: JVM TI Monitor queries might create JNI locals in another thread when using handshakes
...
Reviewed-by: dholmes, dcubed, sspitsyn, ysuenaga
2020-06-11 10:00:23 +02: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
Jie Fu
462f806818
8247377: Zero and Minimal VMs are broken after JDK-8198698 ('SystemDictionaryShared' has not been declared)
...
Reviewed-by: dholmes
2020-06-11 10:08:33 +08: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
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
Richard Reingruber
4d75aef609
8238585: JvmtiEventControllerPrivate::enter_interp_only_mode() should not make compiled methods on stack not_entrant
...
Reviewed-by: mdoerr, kvn, sspitsyn
2020-02-13 15:56:28 +01:00
Serguei Spitsyn
9a7f519aee
8245321: refactor the redefine check that an attribute consisting of a list of classes has not changed
...
Refactor the redefine check of an array attribute
Reviewed-by: hseigel, coleenp
2020-06-05 00:06:16 +00:00
Serguei Spitsyn
ddbc7ed0a1
8221306: JVMTI spec for FramePop(), MethodExit(), and MethodEnter() could use some cleanup
...
JVMTI spec cleanup for functions FramePop(), MethodExit(), and MethodEnter()
Reviewed-by: cjplummer, amenkov
2020-06-02 19:34:19 +00:00
Daniel D. Daugherty
00f223e22f
8153224: Monitor deflation prolong safepoints
...
Add support for AsyncDeflateIdleMonitors (default true); the async deflation work is performed by the ServiceThread.
Co-authored-by: Carsten Varming <varming@gmail.com>
Reviewed-by: dcubed, rehn, rkennke, cvarming, coleenp, acorn, dholmes, eosterlund
2020-06-01 23:37:14 -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
Mikael Vidstedt
e29685febd
8246109: Remove unneeded undef CS
...
Reviewed-by: dcubed
2020-05-28 17:21:00 -07:00
Coleen Phillimore
6aa15ad7ab
8166358: Re-enable String verification in java_lang_String::create_from_str()
...
Check for invalid strings in class names in debug mode, and only verify valid strings in create_for_str().
Reviewed-by: dholmes, hseigel
2020-05-26 09:44:17 -04:00
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
David Holmes
17dd7dc38c
8240588: _threadObj cannot be used on an exiting JavaThread
...
Reviewed-by: rehn, dcubed, kbarrett
2020-05-13 22:29:54 -04:00
Claes Redestad
c2780c9556
8244550: Unsafe::allocateInstance does redundant transitions
...
Reviewed-by: coleenp, mchung, dholmes
2020-05-07 14:09:20 +02: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
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
Stefan Karlsson
71b06ed298
8243146: Further cleanups after UseAdaptiveGCBoundary removal
...
Reviewed-by: kbarrett, sjohanss
2020-04-21 10:10:23 +02:00
Yasumasa Suenaga
efcb6bd20e
8242425: JVMTI monitor operations should use Thread-Local Handshakes
...
Reviewed-by: sspitsyn, dholmes
2020-04-20 13:57:11 +09:00
Claes Redestad
d185fe9953
8242452: During module definition, move conversion of packages from native to VM
...
8242290: Pointless verification in get_package_entry_by_name
Reviewed-by: lfoltan, iklam, hseigel
2020-04-18 19:45:45 +02: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
Leonid Mesnik
f778ad2f4b
8241319: WB_GetCodeBlob doesn't have ResourceMark
...
Reviewed-by: iignatyev, thartmann
2020-03-20 17:37:52 -07:00
David Holmes
94a6149de5
8241124: Aarch64 build broken by JDK-8239593
...
Reviewed-by: mikael
2020-03-17 20:54:50 -04:00
David Holmes
f959b01203
8239593: Bogus warning "Re-registering of platform native method" for a JVMTI agent
...
Reviewed-by: dcubed, alanb, hseigel
2020-03-17 19:57:58 -04:00
Claes Redestad
2b465b1ebf
8241010: Unnecessarily resolving some well-known classes
...
Reviewed-by: coleenp
2020-03-13 18:43:11 +01:00
Mandy Chung
d5d6dc0caa
8228336: Refactor native library loading implementation
...
Reviewed-by: alanb, dholmes
2020-03-12 11:54:11 -07:00
Yumin Qi
90a39195c1
8240563: [TESTBUG] WB_IsCDSIncludedInVmBuild should support uncompressed oops/klasses
...
With 8232069, CDS works with uncompressed oops/kalsses, detecting CDS code no longer bases on the two flags.
Reviewed-by: iklam
2020-03-12 09:07:11 -07:00
Severin Gehwolf
add18914fb
8239785: Cgroups: Incorrect detection logic on old systems in hotspot
...
Return NULL subsystem if no cgroup controllers are mounted.
Reviewed-by: bobv, mbaesken
2020-02-25 12:17:26 +01:00
Yumin Qi
53c6887a3d
8240840: Rollback whitebox.cpp in push 8240691
...
Whitebox.cpp should not change in 8240691, which is accidentally included.
Reviewed-by: iklam, ccheung
2020-03-10 14:37:37 -07:00
Yumin Qi
0e3529ad10
8240691: ClhsdbCDSJstackPrintAll incorrectly thinks CDS is in use
...
Fix by checking "UseSharedSpaces = false" for CDS enabled.
Reviewed-by: iklam
2020-03-10 11:52:53 -07:00
Kim Barrett
9f334a1640
8240239: Replace ConcurrentGCPhaseManager
...
Replace ConcurrentGCPhaseManager with ConcurrentGCBreakpoints
Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: kbarrett, pliden, sangheki
2020-03-06 18:42:13 -05: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
David Holmes
c42de93347
8238676: jni crashes on accessing it from process exit hook
...
Reviewed-by: fparain, gziemski
2020-03-02 19:49:42 -05: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
Ao Qi
2298819af8
8239423: jdk/jfr/jvm/TestJFRIntrinsic.java failed with -XX:-TieredCompilation
...
Reviewed-by: iignatyev, dholmes
2020-02-26 00:07:21 -05:00
Jie Fu
5a7b5863f0
8239886: Minimal VM build fails after JDK-8237499
...
Reviewed-by: dholmes
2020-02-25 10:34:33 +08:00
Denghui Dong
52d7a61e8d
8237499: JFR: Include stack trace in the ThreadStart event
...
Reviewed-by: egahlin
2020-02-24 23:24:14 +01:00
Harold Seigel
bf6c14f034
8187305: Add logging for shared library loads/unloads
...
Add logging to JVM_LoadLibrary(), JVM_UnloadLibrary(), and JVM_FindLibraryEntry().
Reviewed-by: dholmes, coleenp
2020-02-18 16:30:54 +00:00
Erik Gahlin
5d9c59f2f8
8238236: Add JFR class redefinition events
...
Reviewed-by: mgronlun
2020-02-17 22:36:13 +01:00
Nils Eliasson
18c01206d0
8203883: Remove State from InvocationCounters
...
Reviewed-by: redestad, thartmann
2020-02-12 20:53:48 +01:00
Richard Reingruber
b0b8190ea2
8238782: Cleanup Deoptimization::deoptimize(): remove unused RegisterMap argument and don't update RegisterMap in callers if UseBiasedLocking is enabled
...
Reviewed-by: dholmes, kvn
2020-02-12 09:18:37 +01:00
David Holmes
9f21d809ab
8238460: Provide warnings about the use of JNI RegisterNatives to rebind native methods for boot/platform classes in other classloaders
...
Reviewed-by: jwilhelm, lfoltan
2020-02-06 21:03:40 -05:00