Coleen Phillimore
b978ebee46
8244386: convert runtime/Safepoint/AssertSafepointCheckConsistency tests to gtest
...
Reviewed-by: stuefe, lfoltan, dcubed
2020-08-26 07:55:05 -04:00
Kim Barrett
52117c6f62
8251850: Refactor ResourceMark and DeoptResourceMark for better code sharing
...
Move saved state to ResourceArea, merge most of marks into shared helper.
Reviewed-by: stuefe, iklam, tschatzl, xliu, vlivanov
2020-08-25 22:17:04 -04:00
Patricio Chilano Mateo
e56002c7d3
8242263: Diagnose synchronization on primitive wrappers
...
Added diagnostic flag DiagnoseSyncOnPrimitiveWrappers
Reviewed-by: dholmes, mdoerr, dcubed, coleenp, egahlin, mgronlun
2020-08-21 15:04:02 +00:00
Harold Seigel
5732032707
8251414: Add test that invokeinterface of a protected method in java.lang.Object throws NoSuchMethodError
...
Add the missing test cases to existing test InterfaceObjectTest.java
Reviewed-by: lfoltan, coleenp
2020-08-14 15:42:09 +00:00
Ioi Lam
178eea6065
8249276: CDS archived objects must have "neutral" markwords
...
Reviewed-by: coleenp, dholmes
2020-08-11 22:05:56 -07:00
Ioi Lam
c1093dc244
8251213: [TESTBUG] CDS tests shouldn't write output files into test.classes directory
...
Reviewed-by: minqi, ccheung
2020-08-09 20:56:04 -07:00
Thomas Stuefe
6df465de73
8251257: NMT: jcmd VM.native_memory scale=1 crashes target VM
...
Reviewed-by: zgu, dholmes
2020-08-09 09:20:02 +02:00
David Holmes
6b8c16cf41
8248906: runtime/Thread/ThreadObjAccessAtExit.java fails due to OutOfMemoryErrors
...
Reviewed-by: mdoerr
2020-08-04 21:11:45 -04:00
Calvin Cheung
d7c7f70a6a
8249586: Test runtime/cds/appcds/DirClasspathTest.java will fail if run twice
...
Add the StandardCopyOption.REPLACE_EXISTING option when calling Files.copy().
Reviewed-by: iklam
2020-08-04 19:17:31 +00:00
Andrei Pangin
a72a8984a9
8249719: MethodHandle performance suffers from bad ResolvedMethodTable hash function
...
Reviewed-by: simonis, stuefe, coleenp
2020-07-24 15:33:38 +03:00
Yumin Qi
4b076cb93f
8249624: update appcds/sharedStrings/IncompatibleOptions test in view of 8081416 closed as WNF
...
With CDS can archive with compressed oops off, the result of the test gives correct information.
Reviewed-by: iklam, dholmes
2020-07-24 10:29:27 -07:00
Harold Seigel
890ca6ea2c
8222582: [TESTBUG] AbstractMethodErrorTest.java fails with "did not test both cases (interpreted and compiled)."
...
Exclude the test from running with Graal
Reviewed-by: dholmes, coleenp
2020-07-24 12:40:41 +00:00
David Holmes
1b1c1cd7b9
8249940: Remove unnecessary includes of jni_util.h in native tests
...
Reviewed-by: iignatyev, mchung
2020-07-23 00:47:02 -04:00
Kim Barrett
a8d6a05ce8
8248391: Unify handling of all OopStorage instances in weak root processing
...
OopStorage instance now owned by subsystems, and generalize dead entry notification
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: coleenp, tschatzl
2020-07-16 17:41:14 -04:00
Mikael Vidstedt
1f5e21a16e
Merge
2020-07-15 21:24:39 -07:00
Goetz Lindenmaier
8906904591
8248476: No helpful NullPointerException message after calling fillInStackTrace
...
Reported by christoph.dreis@freenet.de
Reviewed-by: coleenp, dholmes, mchung
2020-07-15 18:47:47 +02:00
Igor Ignatyev
04280a0d05
8249000: vm.gc.X should take selected JIT into account
...
Reviewed-by: kvn
2020-07-10 11:52:35 -07:00
Calvin Cheung
ddcb17e1e0
8248112: array index out of bound in FileMapInfo::check_paths
...
Check runtime classpath lengths after calling create_path_array().
Reviewed-by: iklam, minqi
2020-07-07 22:47:59 +00:00
Goetz Lindenmaier
bf1e6903a2
8233014: Enable ShowCodeDetailsInExceptionMessages by default
...
Reviewed-by: coleenp, stuefe, dholmes
2020-06-18 22:03:18 +02:00
Calvin Cheung
3237e82b4b
8247526: [TESTBUG] runtime/cds/appcds/dynamicArchive tests failing with Graal
...
Adjusted the "shouldMatch" statement and increased the timeout of some tests.
Reviewed-by: iklam
2020-06-16 22:05:09 +00:00
Yumin Qi
5073b8c163
8247528: runtime/cds/appcds/jigsaw/modulepath/OptimizeModuleHandlingTest.java failing with Graal
...
OptimizeModuleHandlingTest.java should be disabled for jvmci since jvmci will set jdk.module.addmods.0=jdk.internal.vm.ci which lead to optimization disabled.
Reviewed-by: dcubed
2020-06-16 08:03:40 -07:00
Jie Fu
ca85c5ab15
8247522: assert(is_aligned(class_space_rs.base(), class_space_alignment)) failed: Sanity
...
Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: stuefe, iklam
2020-06-13 23:10:26 +08:00
Calvin Cheung
30ff2ad58c
8246382: assert in MetaspaceShared::map_archives
...
Perform base archive header CRC check earlier.
Reviewed-by: iklam, coleenp
2020-06-11 15:47:36 +00:00
Thomas Stuefe
2085fd32ff
8247252: TestCombinedCompressedFlags.java failed src/hotspot/share/services/virtualMemoryTracker.cpp:388 Error: ShouldNotReachHere()
...
Reviewed-by: minqi, dholmes
2020-06-11 12:51:09 +02:00
Yumin Qi
96fadefaa3
8240245: Avoid calling is_shared_class_visible() in SystemDictionary::load_shared_class()
...
SystemDitionary::load_shared_class can avoid calling is_shared_class_visible if dumptime and runtime do not use modulepath and boot classpath appending.
Reviewed-by: iklam, ccheung
2020-06-10 23:16:27 -07:00
Igor Ignatyev
e47b2bc8c3
8246387: switch to jtreg 5.1
...
Reviewed-by: dholmes, erikj
2020-06-10 10:47:40 -07: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
Stefan Karlsson
8e865fc569
8246926: Clean up newlines and whitespaces in hs_err files
...
Reviewed-by: dholmes, eosterlund, iklam
2020-06-10 08:58:43 +02:00
Patric Hedlin
201d0a48d1
8246689: Enable independent compressed oops/class ptrs on Aarch64
...
Reviewed-by: eosterlund
2020-06-08 13:57:55 +02:00
Igor Ignatyev
dc91b06661
8244614: cleanup keywords used/available in hotspot testbase
...
Reviewed-by: coleenp, mseledtsov
2020-06-08 21:27:22 -07:00
Coleen Phillimore
cb960ee7b5
8245487: Potential double-free of interfaces array
...
Free _local_interfaces when we free _transitive_interfaces since they can share memory.
Reviewed-by: fparain, lfoltan, iklam
2020-06-05 06:54:05 -04:00
Daniel D. Daugherty
7436ef236e
8246476: remove AsyncDeflateIdleMonitors option and the safepoint based deflation mechanism
...
Reviewed-by: dholmes, pchilanomate, coleenp
2020-07-13 16:36:01 -04:00
Mikael Vidstedt
09510a15a1
Merge
2020-07-10 23:12:29 -07:00
Calvin Cheung
dc74336a65
8243586: Optimize calls to SystemDictionaryShared::define_shared_package for classpath
...
Define_shared_package only needs to be called once for each package in a jar specified in the shared class path.
Reviewed-by: iklam, dholmes, minqi
2020-07-01 21:05:14 +00:00
Harold Seigel
eb78035d05
8247741: Test test/hotspot/jtreg/runtime/7162488/TestUnrecognizedVmOption.java fails when -XX:+IgnoreUnrecognizedVMOptions is set
...
Use createJavaProcessBuilder() to prevent JTreg flags from being passed to the new process created by the test
Reviewed-by: lfoltan, dholmes
2020-07-01 18:42:13 +00:00
Calvin Cheung
a0a0539b0d
8248112: array index out of bound in FileMapInfo::check_paths
...
Check runtime classpath lengths after calling create_path_array().
Reviewed-by: iklam, minqi
2020-06-26 19:26:30 +00:00
Harold Seigel
51ddc2adbf
8246337: Add more JVM tests for sealed classes
...
Add missing test cases for sealed interfaces and sealed classes.
Reviewed-by: dholmes, lfoltan
2020-06-26 12:38:00 +00:00
Daniel D. Daugherty
3e4ad5d8d1
8246477: add whitebox support for deflating idle monitors
...
Reviewed-by: dholmes, eosterlund
2020-06-24 17:48:53 -04:00
Ioi Lam
1e45eb3b13
8248235: appcds/jigsaw/PatchModule/Simple.java failed when running in dynamic CDS mode
...
Reviewed-by: minqi
2020-06-24 13:52:01 -07:00
Harold Seigel
112a4bd8bc
8247966: runtime/logging/loadLibraryTest/LoadLibraryTest.java failed "RuntimeException: 'Unloaded library with handle' missing from stdout/stderr"
...
Make sure the native library is unloaded before exiting the main thread.
Reviewed-by: dcubed, dholmes
2020-06-24 12:34:14 +00:00
Ioi Lam
27fc8b6787
8246546: Simplify SystemDictionary::is_shared_class_visible
...
Reviewed-by: minqi, ccheung
2020-06-23 21:23:00 -07:00
Jesper Wilhelmsson
4862d0d542
Merge
2020-06-22 18:23:49 +02:00
Jesper Wilhelmsson
6d2959b393
Merge
2020-06-17 05:28:05 +02:00
Jesper Wilhelmsson
e33ebc7f0a
Merge
2020-06-16 04:20:30 +02:00
Ioi Lam
c82c50b2a2
8245925: G1 allocates EDEN region after CDS has executed GC
...
Reviewed-by: jiangli, minqi, tschatzl
2020-06-14 01:19:48 -07:00
Calvin Cheung
0e4829ef0a
8245060: remove copying of s.h.WB$WhiteBoxPermission in cds/appcds tests
...
Reviewed-by: dholmes, minqi, iklam
2020-06-12 16:48:27 +00:00
Joe Darcy
a5b5712733
8235496: Start of release updates for JDK 16
...
8245585: Add SourceVersion.RELEASE_16
8245586: Add source 16 and target 16 to javac
8245544: com/sun/tools/javac/platform/JDKPlatformProvider.java does not support ct.sym with platform versions 16+
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: erikj, dholmes, ihse, neugens, jjg, jlahoda, jlaskey, mikael
2020-06-07 20:02:03 -07:00
Ioi Lam
f39a71cafe
8243506: SharedBaseAddress is ignored by -Xshare:dump
...
Reviewed-by: stuefe, ccheung
2020-06-02 01:08:44 -07: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