Commit Graph

2233 Commits

Author SHA1 Message Date
Serguei Spitsyn
8e01f3ad02 8244571: assert(!_thread->is_pending_jni_exception_check()) failed: Pending JNI Exception Check during class loading
Fix the -Xcheck:jni asserts

Reviewed-by: dholmes, cjplummer
2020-05-23 10:39:07 +00:00
Chris Plummer
9dc6f10755 8244203: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java fails with NullPointerException
Reviewed-by: sspitsyn, dtitov
2020-05-22 13:29:26 -07: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
Coleen Phillimore
e3be308329 8245260: Missing file header for test/hotspot/jtreg/containers/docker/TEST.properties
Reviewed-by: dcubed, hseigel
2020-05-21 16:45:55 -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
Evgeny Nikitin
bdb8ef1d18 8242150: [GRAAL] Add jtreg "serviceability/sa/ClhsdbJstackXcompStress.java" to graal problem list
Reviewed-by: kvn
2020-05-08 18:59:03 +02:00
Thomas Stuefe
66514251c1 8244733: Add ResourceHashtable::xxx_if_absent
Reviewed-by: coleenp, iklam, rehn, dholmes
2020-05-20 15:56:39 +02:00
Claes Redestad
6812f6f641 8218173: exception during StringConcatFactory clinit breaks string concat with no fallback
Reviewed-by: psandoz, jlaskey
2020-05-20 11:35:58 +02:00
Per Lidén
58a34f7c32 8244291: Test: gc/z/TestGarbageCollectorMXBean.java failed: "unexpected cycles"
Reviewed-by: eosterlund, tschatzl
2020-05-20 10:54:11 +02:00
Nick Gasson
18db3dec42 8244164: AArch64: jaotc generates incorrect code for compressed OOPs with non-zero heap base
Reviewed-by: aph
2020-05-11 12:05:55 +08:00
Weijun Wang
fa36d28aff 8245280: Add runtime/cds/appcds/SignedJar.java to problem list
Reviewed-by: dcubed
2020-05-19 22:06:10 +08:00
Coleen Phillimore
60728a487c 8242424: Deprecate InitialBootClassLoaderMetaspaceSize
8243147: Deprecate UseLargePagesInMetaspace

Mark these options for deprecation

Reviewed-by: stuefe, dcubed
2020-05-18 11:31:16 -04:00
Martin Doerr
76b76654d2 8235673: [C1, C2] Split inlining control flags
Reviewed-by: neliasso, kvn, thartmann
2020-05-18 10:57:16 +02:00
Ioi Lam
d5bd523869 8244536: cds/DeterministicDump.java failed: File content different
Reviewed-by: ccheung, stuefe
2020-05-17 15:10:06 -07:00
Claes Redestad
a09720f2ee 8232213: runtime/MemberName/MemberNameLeak.java fails intermittently
Reviewed-by: dcubed, coleenp
2020-05-16 01:35:38 +02:00
Roland Westrelin
6d98502550 8244663: Shenandoah: C2 assertion fails in Matcher::collect_null_checks
Reviewed-by: shade
2020-05-15 21:54:28 +02:00
Roland Westrelin
35a7eff951 8244721: CTW: C2 (Shenandoah) compilation fails with "unexpected infinite loop graph shape"
Reviewed-by: shade
2020-05-15 10:24:38 +02: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
Alex Menkov
9a0463165d 8244973: serviceability/attach/RemovingUnixDomainSocketTest.java fails "stderr was not empty"
Reviewed-by: dholmes, sspitsyn
2020-05-14 10:29:52 -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
Alex Menkov
073e095e60 8235211: serviceability/attach/RemovingUnixDomainSocketTest.java fails with AttachNotSupportedException: Unable to open socket file
Reviewed-by: sspitsyn, ysuenaga
2020-05-13 15:25:59 -07: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
Yong Zhou
dc54da232d 8244407: JVM crashes after transformation in C2 IdealLoopTree::split_fall_in
Reviewed-by: thartmann, kvn
2020-05-13 07:25:47 +08:00
Daniil Titov
a726aca6de 8242009: Review setting test.java/vm.opts in jcmd/jhsdb and debugger in serviceability tests
Reviewed-by: cjplummer
2020-05-12 09:45:24 -07:00
David Holmes
46d287916c 8244779: ProblemList serviceability/jvmti/HiddenClass/P/Q/HiddenClassSigTest.java pending JDK-8244571
Reviewed-by: iignatyev
2020-05-12 00:47:27 -04:00
Eric Liu
babaab2edb 8242429: Better implementation for sign extract
Reviewed-by: vlivanov, thartmann
2020-05-12 10:19:01 +08:00
Evgeny Nikitin
91220287fc 8147018: CompilerControl: Improve handling of timeouts and failures for tests
Dump expected method states, improve compile commands dumping in CompilerControl tests

Reviewed-by: iignatyev, rbackman
2020-04-23 16:20:17 +02:00
Aleksey Shipilev
d5414d7929 8244740: Shenandoah: rename ShenandoahNormalMode to ShenandoahSATBMode
Reviewed-by: rkennke
2020-05-11 18:33:50 +02:00
Aleksey Shipilev
68e55bdf72 8244730: Shenandoah: gc/shenandoah/options/TestHeuristicsUnlock.java should only verify the heuristics
Reviewed-by: rkennke
2020-05-11 18:33:18 +02:00
Ioi Lam
b0f7ebc26b 8244542: ProblemList cds/DeterministicDump.java for Windows
Reviewed-by: ccheung
2020-05-06 14:20:35 -07: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
Leonid Mesnik
b24c0d21ee 8244267: Improve serviceability task definitions in CI
Reviewed-by: cjplummer, sspitsyn
2020-05-06 11:58:41 -07: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
Jie Fu
611fda672f 8244497: [TESTBUG] Incompatible types conversion error in vmTestbase/vm/runtime/defmeth/StressTest.java after JDK-8243432
Reviewed-by: dholmes
2020-05-06 13:41:11 +08:00
Yumin Qi
0c0d485c37 8237750: Load libzip.so only if necessary
Libzip.so is unconditionally loaded even without usage. Fix by on demand loading.

Reviewed-by: dlong, iklam, ccheung
2020-05-05 15:40:18 -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
2163dec6c4 8243432: use reproducible random in :vmTestbase_vm_defmeth
Reviewed-by: dholmes
2020-05-05 09:54:51 -07:00
Igor Ignatyev
0b7a47665f 8243431: use reproducible random in :vmTestbase_vm_metaspace
Reviewed-by: dholmes
2020-05-05 09:54:51 -07:00
Igor Ignatyev
a899004d4e 8244384: @requires-related clean up in gc/metaspace/ tests
Reviewed-by: kbarrett, stefank
2020-05-05 09:27:24 -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
Leonid Mesnik
df182ea6e0 8244133: Refactor nsk/jdi tests to reduce code duplication in settingBreakpoint communication
Reviewed-by: cjplummer, sspitsyn
2020-05-04 11:40:09 -07:00
Alan Bateman
c7b1b1bb74 8244284: Two tests in test/hotspot/jtreg/vmTestbase fail with --illegal-access=deny
Reviewed-by: iignatyev
2020-05-04 12:45:12 +01:00
Christian Hagedorn
bbcb3b638b 8230402: Allocation of compile task fails with assert: "Leaking compilation tasks?"
Remove assert that is only hit with hand written edge case tests.

Reviewed-by: kvn, thartmann
2020-05-04 10:23:23 +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
Igor Ignatyev
eb6ef3c24d 8243436: use reproducible random in :vmTestbase_nsk_monitoring
Reviewed-by: sspitsyn, cjplummer
2020-05-01 16:23:06 -07:00
Igor Ignatyev
d29e5b72f0 8243435: use reproducible random in :vmTestbase_nsk_jvmti
Reviewed-by: sspitsyn, cjplummer
2020-05-01 16:22:20 -07:00
Igor Ignatyev
56fcd54843 8243437: use reproducible random in :vmTestbase_nsk_jdi
Reviewed-by: sspitsyn, cjplummer
2020-05-01 16:21: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
Igor Ignatyev
eaf3306e44 8243433: use reproducible random in :vmTestbase_nsk_sysdict
Reviewed-by: dholmes
2020-05-01 09:20:48 -07:00
Igor Ignatyev
0264b050f6 8243429: use reproducible random in :vmTestbase_nsk_stress
Reviewed-by: epavlova, dholmes
2020-05-01 09:19:55 -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
Zhengyu Gu
227868034a 8241793: Shenandoah: Enable concurrent class unloading for aarch64
Reviewed-by: smonteith, rkennke
2020-04-30 14:00:50 -04:00
Igor Ignatyev
1e1c724c0d 8243428: use reproducible random in :vmTestbase_vm_compiler
Reviewed-by: thartmann
2020-04-30 08:07:36 -07:00
Igor Ignatyev
a0ed53b986 8243427: use reproducible random in :vmTestbase_vm_mlvm
Reviewed-by: thartmann
2020-04-30 08:06:51 -07:00
Harold Seigel
d74e4f2237 8243572: Multiple tests fail with assert(cld->klasses() != 0LL) failed: unexpected NULL for cld->klasses()
Merge unsafe anonymous class stats with hidden classes, avoiding having to call cld->klasses()

Reviewed-by: lfoltan, mchung, mgronlun
2020-04-30 13:10:09 +00:00
Per Lidén
68e53065e0 8240679: ZGC GarbageCollectorMXBean reports inaccurate post GC heap size for ZHeap pool
Reviewed-by: eosterlund
2020-04-30 10:59:23 +02:00
Chris Plummer
e513acab16 8214797: TestJmapCoreMetaspace.java timed out
Reviewed-by: dcubed
2020-04-29 21:03:15 -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
Yang Zhang
e93cd7ed3c 8243155: AArch64: Add support for SqrtVF
Reviewed-by: aph
2020-04-29 09:58:09 +08:00
Alex Menkov
8a7ff65d98 8242522: Minor LingeredApp improvements
Reviewed-by: lmesnik, cjplummer
2020-04-29 16:02:56 -07:00
Roland Westrelin
f0b37f161b 8239569: PublicMethodsTest.java failed due to NPE in java.base/java.nio.file.FileSystems.getFileSystem(FileSystems.java:230)
Reviewed-by: thartmann, kvn
2020-04-23 15:54:08 +02:00
Igor Ignatyev
e7aafcd61d 8243933: use driver mode in gc tests
Reviewed-by: kbarrett
2020-04-29 07:08:31 -07:00
Igor Ignatyev
d7b3692983 8243929: use @requires in serviceability/attach/AttachWithStalePidFile.java test
Reviewed-by: cjplummer
2020-04-29 07:08:31 -07:00
Nikolay Martynov
313758a57a 8243489: Thread CPU Load event may contain wrong data for CPU time under certain conditions
Reviewed-by: jbachorik
2020-04-29 13:27:01 +02: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
Stuart Monteith
739e8e322d 8216557: Aarch64: Add support for Concurrent Class Unloading
Co-authored-by: Andrew Haley <aph@redhat.com>
Reviewed-by: aph, eosterlund, pliden, njian
2020-04-29 14:53:48 +08:00
Serguei Spitsyn
0783dd69a5 8241807: JDWP needs update for hidden classes
Introduce test coverage for hidden class events

Reviewed-by: lmesnik, amenkov
2020-04-29 06:33:10 +00: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
6ff66db553 8242314: use reproducible random in vmTestbase shared code
Reviewed-by: kbarrett, lmesnik
2020-04-28 20:49:28 -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
Chris Plummer
6911667eb7 8243500: SA: Incorrect BCI and Line Number with jstack if the top frame is in the interpreter (BSD and Windows)
Reviewed-by: amenkov, sspitsyn
2020-04-28 13:38:45 -07:00
Igor Ignatyev
9687723c81 8243932: compiler/codecache/cli/printcodecache/TestPrintCodeCacheOption.java test can use driver mode
Reviewed-by: thartmann
2020-04-28 11:33:37 -07:00
Igor Ignatyev
9921097bd9 8243942: use SkippedException in gc/arguments/TestSmallInitialHeapWithLargePageAndNUMA.java test
Reviewed-by: kbarrett
2020-04-28 11:32:45 -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
Coleen Phillimore
3ed0849504 8243393: Improve ReservedSpace constructor resolution
Remove possibly ambiguous constructor and use directly in ReservedCodeHeap

Reviewed-by: stuefe
2020-04-28 07:35:28 -04:00
David Holmes
a8ffbb350d 8243989: test/hotspot/jtreg/serviceability/jvmti/CanGenerateAllClassHook/CanGenerateAllClassHook.java needs to use othervm
Reviewed-by: mdoerr
2020-04-28 05:53:19 -04:00
Igor Ignatyev
9cea1a5179 8243954: serviceability/logging/TestQuotedLogOutputs.java fails after 8243928
Reviewed-by: dholmes
2020-04-28 03:29:38 -04:00
Igor Ignatyev
1041efe027 8243946: serviceability/sa and jvmti tests fail after JDK-8243928
Reviewed-by: dholmes, mikael, sspitsyn
2020-04-27 22:24:54 -07:00
Serguei Spitsyn
ae9d5636f1 8243941: build issue introduced with the push of 8242237
Use right type to declare function argument

Reviewed-by: iignatyev
2020-04-28 04:46:08 +00:00
Igor Ignatyev
3a9f7648d2 8243928: several svc tests can be run in driver mode
Reviewed-by: amenkov
2020-04-27 20:06:22 -07:00
Serguei Spitsyn
223ca800cc 8242237: Improve JVM TI HiddenClasses tests
Improve JVM TI HiddenClasses test: cleanup + more comments

Reviewed-by: lmesnik, amenkov
2020-04-28 02:37:15 +00:00
Igor Ignatyev
a740f83da3 8243930: update copyright years
Reviewed-by: dholmes
2020-04-27 17:58:27 -07:00
Dean Long
03f8e6ccd8 8219607: Add support in Graal and AOT for hidden class
Reviewed-by: kvn
2020-04-27 14:23:15 -07:00
Igor Ignatyev
d84e4f1fd6 8243565: some gc tests use 'test.java.opts' and not 'test.vm.opts'
Reviewed-by: stefank
2020-04-27 10:25:29 -07:00
Igor Ignatyev
e0f46d0cb6 8243620: a few compiler/jvmci tests can be run in driver mode
Reviewed-by: thartmann
2020-04-27 09:16:39 -07:00
Igor Ignatyev
a3d14c6de5 8243622: all actions in compiler/aot/fingerprint/SelfChangedCDS.java can be run in driver mode
Reviewed-by: thartmann
2020-04-27 09:16:26 -07:00
Igor Ignatyev
a075c328e4 8243621: use SkippedException in compiler/jsr292/MHInlineTest.java test
Reviewed-by: thartmann
2020-04-27 09:16:11 -07:00
Igor Ignatyev
83a6527e44 8243619: compiler/codecache/CheckSegmentedCodeCache.java test misses -version
Reviewed-by: thartmann
2020-04-27 09:16:00 -07:00
Igor Ignatyev
9097c799f2 8243618: compiler/rtm/cli tests can be run w/o WhiteBox
Reviewed-by: thartmann
2020-04-27 09:15:47 -07:00
Igor Ignatyev
27dc913618 8243617: compiler/onSpinWait/TestOnSpinWaitC1.java test uses wrong class
Reviewed-by: thartmann
2020-04-27 09:15:34 -07:00
Igor Ignatyev
806566519a 8243568: serviceability/logging/TestLogRotation.java uses 'test.java.opts' and not 'test.vm.opts'
Reviewed-by: lmesnik, dholmes
2020-04-26 18:09:33 -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
Serguei Spitsyn
e507405f5c 8241214: Test debugging of hidden classes using jdb
Add test and enable jdb support for hidden classes

Reviewed-by: cjplummer, amenkov, mchung, lmesnik
2020-04-23 07:46:18 +00:00
Chris Plummer
7f634155b5 8243210: ClhsdbScanOops fails with NullPointerException in FileMapHeader.inCopiedVtableSpace
Reviewed-by: iklam, sspitsyn
2020-04-22 15:09:32 -07:00
Igor Ignatyev
5efa545d48 8242312: use reproducible random in hotspot gc tests
Reviewed-by: kbarrett, tschatzl
2020-04-14 12:50:09 -07:00
Igor Ignatyev
1ad4834807 8203238: [TESTBUG] rewrite MemOptions shell test in Java
Reviewed-by: mseledtsov, kbarrett
2020-03-24 17:18:35 -07:00