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
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
Patricio Chilano Mateo
398a2b3c37
8231264: Implementation of JEP 374: Disable biased-locking and deprecate all flags related to biased-locking
...
Changed default value of UseBiasedLocking to false and deprecated related flags.
Reviewed-by: dholmes, dcubed
2020-05-13 15:47:10 +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
Zhengyu Gu
0cf828153c
8241086: Test runtime/NMT/HugeArenaTracking.java is failing on 32bit Windows
...
Reviewed-by: stuefe
2020-05-06 16:02:10 -04: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
Igor Ignatyev
bcf3ae8245
8244142: some hotspot/runtime tests don't check exit code of forked JVM
...
Reviewed-by: gziemski, minqi
2020-04-29 19:55:52 -07:00
Igor Ignatyev
47c30dbc16
8244141: use @requires and SkippedException in some hotspot/runtime tests
...
Reviewed-by: minqi, gziemski
2020-05-02 07:17:20 -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
David Holmes
a0d04ad0ae
8244173: Uncomment subtest in runtime/InvocationTests/invocationC1Tests.java
...
Reviewed-by: hseigel, iignatyev
2020-04-30 19:18:28 -04: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
a9d14e1462
8243944: use SkippedException and @requires in runtime/memory/ReadFromNoaccessArea.java test
...
Reviewed-by: minqi
2020-04-28 21:17:32 -07: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
Harold Seigel
941643ece9
8242921: test/hotspot/jtreg/runtime/CompactStrings/TestMethodNames.java uses nashorn script engine
...
Put method names in a .jcod file instead of using nashorn to generate them
Reviewed-by: lfoltan, coleenp
2020-04-28 14:13:44 +00: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
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
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
Patricio Chilano Mateo
89a33e69a7
8240918: [REDO] Allow direct handshakes without VMThread intervention
...
REDO of 8230594
Reviewed-by: dholmes, rehn, mdoerr, coleenp, dcubed
2020-04-08 18:32:21 +00: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
Claes Redestad
0d22ad6400
8241427: Coarsen locking in Modules::add_module_exports
...
Reviewed-by: lfoltan, hseigel
2020-03-26 00:02:08 +01:00
Aleksey Shipilev
27ef185bae
8241500: FieldLayout/OldLayoutCheck.java fails in 32-bit VMs
...
Reviewed-by: fparain, dholmes
2020-03-25 07:58:17 +01: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
Vladimir Kozlov
6083173f9b
8237045: JVM uses excessive memory with -XX:+EnableJVMCI -XX:JVMCICounterSize=2147483648
...
Limit JVMCICounterSize flag's value range to 1M
Reviewed-by: thartmann, redestad
2020-03-17 12:42:48 -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
Matthias Baesken
f10fd7a78e
8240603: Windows 32bit compile error after 8238676
...
Reviewed-by: clanger, dholmes
2020-03-05 13:12:51 +01: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
Alexey Bakhtin
8e74ed46df
8239787: AArch64: String.indexOf may incorrectly handle empty strings
...
Reviewed-by: aph, lmesnik, yan
2020-03-03 13:06:50 +03: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
Mikhailo Seledtsov
35ee1cb2b3
8236938: [TESTBUG] JFR event MetaspaceAllocationFailure is not tested
...
New test for MetaspaceAllocationFailure
Reviewed-by: hseigel, stuefe
2020-03-02 12:16:18 -08:00
Harold Seigel
6bb0536293
8239568: [TESTBUG] LoadLibraryTest.java fails with RuntimeException
...
Throw jtreg.SkippedException instead of failing if shared library isn't unloaded
Reviewed-by: coleenp, lmesnik
2020-03-02 16:10:01 +00:00
Kun Wang
742bdf003e
8239915: Zero VM crashes when handling dynamic constant
...
Reviewed-by: dholmes
2020-02-26 17:32:04 +08:00
Daniel D. Daugherty
882633a738
8239873: [TESTBUG] FieldLayout/OldLayoutCheck.java fails after the fix for JDK-8239503
...
Don't run the test with -XX:-UseCompressedOops.
Reviewed-by: fparain, hseigel
2020-02-27 11:34:48 -05:00
Fairoz Matte
956e20ed16
8239557: [TESTBUG] VeryEarlyAssertTest.java validating "END." marker at lastline is not always true
...
Reviewed-by: dholmes, mseledtsov
2020-02-24 23:44:29 -05:00
Richard Reingruber
bc87e7829e
8239449: [TESTBUG] test/hotspot/jtreg/runtime/TLS/TestTLS.java: skip test if glibc too old for AdjustStackSizeForTLS
...
Reviewed-by: dholmes, jiangli
2020-02-24 14:25:35 +01:00
Per Lidén
35db376986
8239503: FieldLayout/OldLayoutCheck.java fails due to "RuntimeException: Misplaced int field: expected 24 to equal 12"
...
Don't run the test with ZGC.
Reviewed-by: dcubed, coleenp, dholmes
2020-02-20 23:07:02 -05:00
Coleen Phillimore
b4ffe4d8f7
8239461: Use jcod rather than jar files in runtime tests
...
Reviewed-by: hseigel, lmesnik, dholmes
2020-02-20 07:25:14 -05:00
Frederic Parain
8827df9b2d
8239014: -XX:-UseEmptySlotsInSupers sometime fails to reproduce the layout of the old code
...
Reviewed-by: dholmes, coleenp
2020-02-19 08:57:43 -05: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
Richard Reingruber
eaff9918d2
8239005: [TESTBUG] test/hotspot/jtreg/runtime/StackGuardPages/TestStackGuardPages.java: exeinvoke.c: must initialize static state before calling do_overflow()
...
Reviewed-by: dholmes, clanger
2020-02-13 16:20:14 +01:00
Jose Ziviani
b72e31b39f
8235791: [TESTBUG] Fix comment in TestElfDirectRead.java
...
Reviewed-by: dholmes, iklam
2020-02-13 16:01:46 -05: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