Commit Graph

104 Commits

Author SHA1 Message Date
Leonid Mesnik
590de670a9 8242891: vmTestbase/nsk/jvmti/ test should be fixed to fail early if JVMTI function return error
Reviewed-by: sspitsyn, cjplummer
2020-07-14 14:31:14 -07:00
Igor Ignatyev
dc91b06661 8244614: cleanup keywords used/available in hotspot testbase
Reviewed-by: coleenp, mseledtsov
2020-06-08 21:27:22 -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
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
d29e5b72f0 8243435: use reproducible random in :vmTestbase_nsk_jvmti
Reviewed-by: sspitsyn, cjplummer
2020-05-01 16:22:20 -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
Coleen Phillimore
d1d57d9446 8173658: JvmtiExport::post_class_unload() is broken for non-JavaThread initiators
Call extension ClassUnload event as a deferred event from the ServiceThread and remove unsafe arguments

Reviewed-by: sspitsyn, dholmes
2019-12-02 09:02:17 -05:00
Serguei Spitsyn
5df8729406 8221372: Test vmTestbase/nsk/jvmti/GetThreadState/thrstat001/TestDescription.java times out
Update test to get rid of unneeded MethodEntry/MethodExit events

Reviewed-by: amenkov, cjplummer
2019-11-26 02:32:32 +00:00
Serguei Spitsyn
0a1737ca97 8169467: GetLocalInstance returns JVMTI_ERROR_TYPE_MISMATCH (rather than JVMTI_ERROR_INVALID_SLOT) on static method
Add necessary check to GetLocalInstance implementation

Reviewed-by: amenkov, cjplummer
2019-11-22 10:07:21 +00:00
Leo Korinth
1fc67ab002 8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Per Lidén
a8c4e6786d 8231552: ZGC: Refine address space reservation
Reviewed-by: eosterlund, stefank
2019-10-24 17:24:58 +02:00
Claes Redestad
574263a884 8232613: Move Object.registerNatives into HotSpot
Reviewed-by: dholmes, adinn, coleenp, lfoltan, mchung
2019-10-24 09:57:29 +02:00
David Holmes
f3df804e24 8231289: Disentangle JvmtiRawMonitor from ObjectMonitor and clean it up
Reviewed-by: sspitsyn, dcubed, coleenp
2019-10-07 18:44:53 -04:00
Per Lidén
990ec34714 8231296: ZGC: vmTestbase/nsk/jvmti/Allocate/alloc001/ fails
Reviewed-by: sspitsyn, dcubed, iignatyev
2019-10-01 12:27:14 +02:00
Per Lidén
cf5af650de 8231294: ZGC: vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted002 fails
Reviewed-by: shade, dholmes
2019-09-26 13:56:58 +02:00
David Holmes
8b42387ea6 8227563: jvmti/scenarios/contention/TC05/tc05t001 fails due to "ERROR: tc05t001.cpp, 278: (waitedThreadCpuTime - waitThreadCpuTime) < (EXPECTED_ACCURACY * 1000000)"
Reviewed-by: amenkov, cjplummer, sspitsyn
2019-09-05 18:39:22 -04:00
Jean Christophe Beyler
b036071125 8229036: Remove the testing against NSK_TRUE from tests
Remove the testing against NSK_TRUE from tests

Reviewed-by: sspitsyn, cjplummer
2019-08-08 04:29:56 -07:00
Jean Christophe Beyler
76b7c9a0ce 8228998: Remove the testing against NSK_FALSE from tests
Remove the testing against NSK_FALSE from tests

Reviewed-by: cjplummer, sspitsyn
2019-08-02 11:24:59 -07:00
Matthias Baesken
4dececb589 8226943: compile error in libfollowref003.cpp with XCode 10.2 on macosx
Reviewed-by: sspitsyn
2019-06-28 13:16:11 +02:00
Serguei Spitsyn
ff1f2fad6e 8226917: jvmti/scenarios/contention/TC04/tc04t001/TestDescription.java fails on jvmti->InterruptThread (JVMTI_ERROR_THREAD_NOT_ALIVE)
Fix one more sync issue in the test

Reviewed-by: dcubed, gadams, amenkov
2019-06-28 16:06:44 -07:00
Serguei Spitsyn
8cf8442085 8226595: jvmti/scenarios/contention/TC04/tc04t001/TestDescription.java still fails due to wrong number of MonitorContendedEntered events
Fix one more sync issue in the test

Reviewed-by: dcubed, amenkov
2019-06-22 14:35:57 -07:00
Serguei Spitsyn
fc6de2505d 8224555: vmTestbase/nsk/jvmti/scenarios/contention/TC02/tc02t001/TestDescription.java failed
Improve synchronization in the test

Reviewed-by: dcubed, amenkov
2019-06-21 18:20:49 -07:00
Serguei Spitsyn
fc6b87472c 8223736: jvmti/scenarios/contention/TC04/tc04t001/TestDescription.java fails due to wrong number of MonitorContendedEntered events
Fix the synchronization issue in the test

Reviewed-by: cjplummer, dcubed, amenkov
2019-06-20 23:12:12 -07:00
Serguei Spitsyn
110ead8bea 8223718: Checks in check_slot_type_no_lvt() should be always executed
Call check_slot_type_no_lvt() even if the LVT is present

Reviewed-by: kvn, gadams, amenkov
2019-05-30 15:55:16 -07:00
Jean Christophe Beyler
68ae1e7965 8223044: Add back exception checking in tests
Add exception checking to previously modified tests

Reviewed-by: sspitsyn, cjplummer
2019-05-07 07:43:41 -07:00
Jean Christophe Beyler
fd3378a73e 8213501: Deploy ExceptionJniWrapper for a few tests
Add more tests to be using the wrapper

Reviewed-by: phh, amenkov, sspitsyn, dholmes, cjplummer
2019-04-23 08:11:38 -07:00
Daniil Titov
32848d8166 8222224: vmTestbase/nsk/jvmti/SingleStep/singlestep001/TestDescription.java fails
Reviewed-by: sspitsyn, jcbeyler, amenkov
2019-04-10 21:21:31 +00:00
Daniil Titov
6d77c76cf2 8218727: vmTestbase/nsk/jvmti/scenarios/events/EM04/em04t001/TestDescription.java crash in native library
Reviewed-by: sspitsyn, gadams
2019-03-28 04:26:36 +00:00
Gary Adams
c986cef7ba 8218128: vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted003 and 004 use wrong path to test classes
Reviewed-by: cjplummer, dholmes, lmesnik
2019-03-26 07:24:26 -04:00
Daniil Titov
57bf6a1800 8217827: [Graal] Some vmTestbase/nsk/jvmti/ResourceExhausted tests failing
Reviewed-by: cjplummer, jcbeyler, dholmes
2019-03-26 04:19:39 +00:00
Daniil Titov
ed5a2f1e06 8218401: WRONG_PHASE: vmTestbase/nsk/jvmti test crash
Reviewed-by: sspitsyn, jcbeyler
2019-03-21 19:56:31 +00:00
Chris Plummer
6fd9b75e55 8220352: Crash with assert(external_guard || result != __null) failed: Invalid JNI handle
Don't delete globalrefs that might still be referenced

Reviewed-by: gadams, jcbeyler, sspitsyn
2019-03-13 19:42:23 -07:00
Daniil Titov
ac7f4635e1 8218167: nsk/jvmti/scenarios/sampling/SP02/sp02t003 fails
Reviewed-by: dlong, cjplummer
2019-03-05 13:41:35 -08:00
Jean Christophe Beyler
6029814c30 8212824: Remove unnecessary spaces before/after comparison in vmTestbase
Remove extra spaces around comparisons

Reviewed-by: phh, amenkov
2019-01-14 15:40:22 -08:00
David Holmes
cb960e9a30 8217618: JVM TI SuspendThread doesn't suspend the current thread before returning
Reviewed-by: dcubed, sspitsyn, dlong
2019-01-27 20:48:27 -05:00
Alex Menkov
78651809c5 8216386: vmTestbase/nsk/jvmti/PopFrame/popframe005/TestDescription.java fails
Reviewed-by: jcbeyler, dtitov, sspitsyn
2019-01-24 11:10:13 -08:00
Goetz Lindenmaier
084f0b75bd 8216265: [testbug] Introduce Platform.sharedLibraryPathVariableName() and adapt all tests
Also cleanup some switches over OSes and use File.pathSeparator.

Reviewed-by: dholmes, mdoerr
2019-01-14 00:00:00 +01:00
Gary Adams
d1922533ae 8213001: vmTestbase/nsk/jvmti/ThreadStart/threadstart002/TestDescription.java debug agent times out
Reviewed-by: dcubed, jcbeyler
2019-01-09 12:09:20 -05:00
Jesper Wilhelmsson
67abf1eef9 Merge 2019-01-08 07:29:13 +01:00
Gary Adams
32a5512763 8211343: nsk_jvmti_parseoptions should handle multiple suboptions
Reviewed-by: sspitsyn, cjplummer
2019-01-02 07:19:33 -05:00
Alex Menkov
ae369f40a4 8215716: PopFrame() was unexpectedly done
Reviewed-by: dholmes, sspitsyn
2018-12-20 17:51:16 -08:00
Goetz Lindenmaier
91e5051871 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms
Use LIBPATH on AIX, no shared memory connector on any Unix.

Reviewed-by: gadams, simonis, sspitsyn
2018-12-31 14:38:16 +01:00
Alex Menkov
a4d4c07f7b 8215425: vmTestbase/nsk/jvmti/PopFrame should provide more detailed output
Reviewed-by: sspitsyn, jcbeyler
2018-12-19 14:08:08 -08:00
Gary Adams
cc65367331 8051349: nsk/jvmti/scenarios/sampling/SP06/sp06t003 fails in nightly
Reviewed-by: dholmes, sspitsyn, cjplummer, jcbeyler
2018-12-18 07:33:07 -05:00
Jean Christophe Beyler
019bd7cf2b 8215160: Normalize spaces for remaining vmTestbase tests
Add spaces where needed

Reviewed-by: sspitsyn, amenkov
2018-12-11 12:45:38 -08:00
Jean Christophe Beyler
a16d122b07 8215161: Normalize spaces for vmTestbase/[a-j]
Added spaces around comparators

Reviewed-by: amenkov, sspitsyn, martin
2018-12-11 10:29:30 -08:00
Roman Kennke
8b62a2ee9d 8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
Co-authored-by: Christine Flood <chf@redhat.com>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Zhenygu Gu <zgu@redhat.com>
Co-authored-by: Andrew Haley <aph@redhat.com>
Co-authored-by: Andrew Dinn <adinn@redhat.com>
Co-authored-by: Mario Torre <mtorre@redhat.com>
Reviewed-by: kvn, roland, shade, coleenp, lmesnik, pliden, jgeorge, ihse, erikj
2018-12-10 15:47:44 +01:00
Daniil Titov
cbaebf738e 8214572: [Graal] nsk/jvmti/unit/ForceEarlyReturn/earlyretbase should not suspend the thread when the top frame executes JVMCI code
Reviewed-by: sspitsyn, dholmes, jcbeyler
2018-12-04 21:13:45 -08:00
Jean Christophe Beyler
54dda86a98 8214502: Add space after/before {} in remaining vmTestbase tests
Added spaces around the {}

Reviewed-by: dholmes, sspitsyn
2018-12-03 19:47:37 -08:00
Jean Christophe Beyler
1285c3cd30 8214417: Add space after/before {} in vmTestbase/nsk/jvmti/[A-I] tests
Fix the spaces around {}

Reviewed-by: amenkov, sspitsyn, dholmes
2018-11-29 18:57:18 -08:00