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
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
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
Mikael Vidstedt
09510a15a1
Merge
2020-07-10 23:12:29 -07: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
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
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
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
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
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
Ioi Lam
27fc8b6787
8246546: Simplify SystemDictionary::is_shared_class_visible
...
Reviewed-by: minqi, ccheung
2020-06-23 21:23:00 -07: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
Ioi Lam
f39a71cafe
8243506: SharedBaseAddress is ignored by -Xshare:dump
...
Reviewed-by: stuefe, ccheung
2020-06-02 01:08:44 -07:00
Thomas Stuefe
04e6b743db
8243392: Remodel CDS/Metaspace storage reservation
...
Reviewed-by: iklam, coleenp, ngasson, aph
2020-05-24 19:25:29 +02:00
Ioi Lam
7d330d34f1
8245335: [TESTBUG] DeterministicDump.java fails with release JVM
...
Reviewed-by: stuefe, dholmes, jiefu
2020-05-21 15:56:27 -07: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
Ioi Lam
d5bd523869
8244536: cds/DeterministicDump.java failed: File content different
...
Reviewed-by: ccheung, stuefe
2020-05-17 15:10:06 -07:00
Calvin Cheung
71cc95e4b1
8243947: [TESTBUG] hotspot/jtreg:hotspot_appcds_dynamic fails when the JDK doesn't have default CDS archive
...
Generate a default CDS archive when necessary before running AppCDS dynamic tests.
Reviewed-by: iklam
2020-05-14 20:34:18 +00: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
Igor Ignatyev
9f86d94580
8244491: make runtime/cds/appcds/TestZGCWithCDS.java test more robust
...
Reviewed-by: dholmes
2020-05-05 18:02:11 -07:00
Igor Ignatyev
bc8065facd
8244485: runtime/cds/appcds/TestZGCWithCDS.java fails after 8244385
...
Reviewed-by: dcubed
2020-05-05 14:55:23 -07: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
Igor Ignatyev
c976be69c3
8244385: various clean-ups in runtime tests
...
Reviewed-by: minqi
2020-05-05 09:27:22 -07:00
Stefan Karlsson
81597d9f8f
8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts
...
Reviewed-by: dholmes, cjplummer
2020-05-04 21:20:39 +02: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
Igor Ignatyev
46fe7e303b
8243945: use driver mode in runtime tests
...
Reviewed-by: dholmes, dcubed, gziemski
2020-04-29 19:51:45 -07:00
Stefan Karlsson
35af52dd4f
8244010: Simplify usages of ProcessTools.createJavaProcessBuilder in our tests
...
Reviewed-by: lmesnik, iignatyev, coleenp, dholmes
2020-04-29 08:52:18 +02:00
Igor Ignatyev
70e632d5ec
8243935: remove copying of s.h.WB$WhiteBoxPermission in hotspot tests
...
Reviewed-by: dholmes, stefank
2020-04-28 19:57:02 -07:00
Igor Ignatyev
c73934d8c8
8242311: use reproducible random in hotspot runtime tests
...
Reviewed-by: iklam, mseledtsov
2020-04-13 12:32:57 -07:00
Roger Riggs
3cf922b3d1
8242462: Residual Cleanup of rmic removal
...
Reviewed-by: jjg, amlu, erikj, iignatyev, mseledtsov
2020-04-10 16:33:56 -04:00
Per Lidén
2e4783411e
8240745: Implementation: JEP 377: ZGC: A Scalable Low-Latency Garbage Collector (Production)
...
Reviewed-by: stefank, eosterlund
2020-04-03 23:40:33 +02:00
Yumin Qi
37b7a23317
8241009: CommandLineFlagComboNegative.java fails after JDK-8240563
...
Jtreg turned off UseCompressedOops and messed up vm flag options of children processes.
Reviewed-by: dholmes, stefank
2020-03-20 09:40:30 -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
Ioi Lam
b0f32c4431
8240548: [TESTBUG] CDS NoClassToArchive.java fails with Graal
...
Reviewed-by: dholmes, mchung
2020-03-11 21:37:45 -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
Yumin Qi
6cb2e02af6
8240546: runtime/cds/appcds/TestZGCWithCDS.java fails with Graal
...
Test failed since Graal does not work with ZGC, fixed in test to skip Graal if ZGC.
Reviewed-by: ccheung
2020-03-04 21:29:14 -08:00
Yumin Qi
c37ebcd730
8232069: Enable CDS even when UseCompressedClassPointers and/or UseCompressedOops are false
...
Fix to save UseCompressedOops and UseCompressedClassPointers in shared archive and at runtime run with CDS only if they are matched the stored versions.
Reviewed-by: iklam, ccheung
2020-02-11 12:16:23 -08:00
Ioi Lam
d5bdb76e84
8236236: Eliminate CDS md region and consolidate c++ vtable patching code
...
Reviewed-by: ccheung
2020-01-22 11:52:27 -08:00
Coleen Phillimore
c4b8e38de4
8236224: Obsolete the FieldsAllocationStyle and CompactFields options
...
Remove the options and code for options deprecated in JDK 14
Reviewed-by: dholmes, hseigel, fparain
2020-01-07 13:11:35 -05:00
Ioi Lam
d1ad0eaf8f
8233826: Change CDS dumping tty->print_cr() to unified logging
...
Reviewed-by: coleenp, dholmes, jiangli
2019-12-19 23:04:49 -08:00
Nick Gasson
aea0a57512
8234794: AArch64: runtime/memory/ReadFromNoaccessArea.java crashes
...
Try to map CDS shared space at 4G aligned address on AArch64
Reviewed-by: adinn, aph, jiangli, iklam
2019-12-19 09:47:33 +08:00