Commit Graph

478 Commits

Author SHA1 Message Date
Leonid Mesnik
f62b1008ed 8263895: Test nsk/jvmti/GetThreadGroupChildren/getthrdgrpchld001/getthrdgrpchld001.cpp uses incorrect indices
Reviewed-by: amenkov, kevinw
2021-03-22 17:56:54 +00:00
Alex Menkov
6737135b14 8262083: vmTestbase/nsk/jvmti/SetEventNotificationMode/setnotif001/TestDescription.java failed with "No notification: event JVMTI_EVENT_FRAME_POP (61)"
Reviewed-by: lmesnik, cjplummer
2021-03-19 20:13:05 +00:00
Alex Menkov
57fc8e9b35 8262080: vmTestbase/nsk/jdi/Event/request/request001/TestDescription.java failed with "ERROR: new event is not ThreadStartEvent"
Reviewed-by: cjplummer, sspitsyn
2021-03-19 20:11:32 +00:00
Coleen Phillimore
e34f766b7e 8252723: Run stack016.java also with C2-only
Reviewed-by: mseledtsov, iklam
2021-03-18 20:00:55 +00:00
Igor Ignatyev
a7aba2b61c 8263549: 8263412 can cause jtreg testlibrary split
Reviewed-by: iklam, dcubed
2021-03-13 14:51:53 +00:00
Harold Seigel
b38d5be887 8261340: Fix 'deprecated' warnings in the vmTestbase/nsk tests
Reviewed-by: lfoltan, sspitsyn
2021-02-09 13:16:26 +00:00
Harold Seigel
db0ca2b9d4 8261161: Clean up warnings in hotspot/jtreg/vmTestbase tests
Reviewed-by: lfoltan, coleenp
2021-02-08 13:19:40 +00:00
Leonid Mesnik
f5ca8385ab 8065773: JDI: UOE is not thrown, when redefineClasses changes a class modifier
Reviewed-by: sspitsyn, coleenp
2021-01-29 20:49:40 +00:00
Igor Veresov
1519632597 8251462: Simplify compilation policy
Reviewed-by: cjplummer, kvn
2021-01-28 20:51:12 +00:00
Leonid Mesnik
d7d34dd964 8259799: vmTestbase/nsk/jvmti/Breakpoint/breakpoint001 is incorrect
Reviewed-by: iignatyev, sspitsyn, cjplummer
2021-01-15 19:33:23 +00:00
Hao Sun
4ea88512dd 8257928: Test image build failure with clang-10 due to -Wmisleading-indentation
Reviewed-by: amenkov, cjplummer
2020-12-23 01:32:05 +00:00
Per Liden
79f1dfb8d3 8255987: JDI tests fail with com.sun.jdi.ObjectCollectedException
Reviewed-by: dholmes, cjplummer
2020-12-09 07:46:04 +00:00
Leonid Mesnik
3e89981d98 8257623: vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted001/TestDescription.java shouldn't use timeout
Reviewed-by: sspitsyn, dcubed
2020-12-02 20:16:28 +00:00
Coleen Phillimore
cfb50a9cb7 8253916: ResourceExhausted/resexhausted001 crashes on Linux-x64
Reviewed-by: stuefe, sspitsyn, dholmes
2020-12-02 13:40:26 +00:00
Stefan Johansson
9de283b891 8257505: nsk/share/test/StressOptions stressTime is scaled in getter but not when printed
Reviewed-by: kbarrett, dholmes
2020-12-02 08:53:54 +00:00
Alex Menkov
2a1e9be6c2 8256364: vmTestbase/nsk/jvmti/scenarios/capability/CM01/cm01t002 failed with "assert(handle != __null) failed: JNI handle should not be null"
Reviewed-by: cjplummer, sspitsyn
2020-11-24 17:49:55 +00:00
Guoxiong Li
5fedb69e66 8250888: nsk/jvmti/scenarios/general_functions/GF08/gf08t001/TestDriver.java fails
Reviewed-by: cjplummer, sspitsyn
2020-11-20 07:02:48 +00:00
Coleen Phillimore
ba721f5f2f 8212879: Make JVMTI TagMap table concurrent
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Reviewed-by: stefank, ihse, zgu, eosterlund, sspitsyn, kbarrett
2020-11-19 14:30:02 +00:00
Robbin Ehn
c5fe2c1fcb 8244679: JVM/TI GetCurrentContendedMonitor/contmon001 failed due to "(IsSameObject#3) unexpected monitor object: 0x000000562336DBA8"
Reviewed-by: pchilanomate, dcubed, dholmes, sspitsyn
2020-11-16 13:06:45 +00:00
Stefan Karlsson
6a69e304dd 8256337: ap01t001.cpp, 67: Received unexpected number of ObjectFree events: 7
Reviewed-by: coleenp, sspitsyn
2020-11-16 07:58:40 +00:00
Alex Menkov
a9dff9420a 8254864: vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted001/TestDescription.java timed out
Reviewed-by: sspitsyn, cjplummer
2020-11-06 21:57:43 +00:00
Alex Menkov
b9186bebc3 6606767: resexhausted00[34] fail assert(!thread->owns_locks(), "must release all locks when leaving VM")
Reviewed-by: sspitsyn, cjplummer
2020-10-21 23:40:48 +00:00
Markus Grönlund
e10b53853a 8243962: Various JVM TI tests time out using JFR on Windows
Reviewed-by: sspitsyn, cjplummer
2020-10-19 09:18:40 +00:00
Stefan Karlsson
672f56695e 8254874: ZGC: JNIHandleBlock verification failure in stack watermark processing
Reviewed-by: tschatzl, cjplummer, sspitsyn, pliden
2020-10-19 07:22:29 +00:00
Alex Menkov
cd33abb136 8249623: test @ignore-d due to 7013634 should be returned back to execution
Reviewed-by: cjplummer, sspitsyn
2020-10-14 17:49:42 +00:00
Vladimir Kempik
c7f0064062 8253899: Make IsClassUnloadingEnabled signature match specification
Reviewed-by: sspitsyn, dholmes
2020-10-12 13:16:28 +00:00
Igor Ignatyev
55c282bb34 8253878: clean up nsk/share/jvmti/ArgumentHandler
Reviewed-by: cjplummer
2020-09-30 23:34:06 +00:00
Igor Ignatyev
ca0e014e60 8252003: remove usage of PropertyResolvingWrapper in vmTestbase/nsk/jvmti
Reviewed-by: cjplummer, sspitsyn
2020-09-30 21:37:12 +00:00
Igor Ignatyev
4b16f8ab94 8253872: ArgumentHandler must use the same delimiters as in jvmti_tools.cpp
Reviewed-by: cjplummer
2020-09-30 20:03:20 +00:00
Igor Ignatyev
8f7c9a7b18 8252001: remove usage of PropertyResolvingWrapper in vmTestbase/nsk/jdi
Reviewed-by: cjplummer, sspitsyn
2020-09-30 16:18:27 +00:00
Igor Ignatyev
1eca634736 8252000: remove usage of PropertyResolvingWrapper in vmTestbase/nsk/jdb
Reviewed-by: shade, cjplummer, sspitsyn
2020-09-30 03:03:53 +00:00
Igor Ignatyev
a55cde4d6b 8252002: remove usage of PropertyResolvingWrapper in vmTestbase/nsk/jdwp
Reviewed-by: cjplummer, sspitsyn
2020-09-30 02:43:10 +00:00
Igor Ignatyev
9ac162e896 8251999: remove usage of PropertyResolvingWrapper in vmTestbase/nsk/aod
Reviewed-by: shade, sspitsyn
2020-09-24 16:32:05 +00:00
Harold Seigel
ce93cbce77 8253125: vmTestbase/nsk/stress/stack/stack017.java timed out
Reviewed-by: dcubed
2020-09-16 18:58:06 +00:00
Igor Ignatyev
5f76deb2e0 8252522: nsk/share/test/StressOptions should multiple stressTime by jtreg's timeout-factor
Reviewed-by: dholmes
2020-09-06 16:17:30 +00:00
Igor Ignatyev
15af276157 8252004: remove usage of PropertyResolvingWrapper in vmTestbase/nsk/sysdict
Reviewed-by: dcubed, gziemski
2020-09-04 10:36:05 -07:00
Harold Seigel
f3597c4a54 8252249: nsk/stress/stack/stack016.java fails with "Error: TEST_BUG: trickyRecursion() must throw an error anyway!"
Run test separately with both -Xint and -Xcomp to ensure thread stacks are similarly sized.

Reviewed-by: dholmes, coleenp
2020-09-02 13:50:39 +00:00
Igor Ignatyev
ca3374253c 8252402: rewrite vmTestbase/nsk/jvmti/Allocate/alloc001 shell test to Java
Reviewed-by: amenkov
2020-09-01 17:29:34 -07:00
Igor Ignatyev
4fe6a3da68 8252532: use Utils.TEST_NATIVE_PATH instead of System.getProperty("test.nativepath")
Reviewed-by: dholmes, sspitsyn
2020-09-01 17:23:00 -07:00
Igor Ignatyev
00452d32f5 8252477: nsk/share/ArgumentParser should expect that jtreg "splits" an argument
Reviewed-by: sspitsyn, dholmes
2020-08-27 19:37:51 -07:00
Nick Gasson
7856c1a311 8252108: Modify nsk/stress/stack tests to check page size
Reviewed-by: hseigel, stuefe
2020-08-26 11:28:10 +08:00
Igor Ignatyev
b2da6e1a90 8252005: narrow disabling of allowSmartActionArgs in vmTestbase
Reviewed-by: sspitsyn
2020-08-20 11:12:00 -07:00
Harold Seigel
93c00472eb 8251490: [TESTBUG] The Java thread stack size specified is too small for nsk/stress/stack. Specify at least 448k
Increase the -Xss stack size for some tests, mark other tests as not runnable on AArch64.

Reviewed-by: gziemski, lfoltan
2020-08-19 19:40:46 +00:00
Igor Ignatyev
b37b1a391a 8251126: nsk.share.GoldChecker should read golden file from ${test.src}
Reviewed-by: dholmes
2020-08-05 16:39:38 -07:00
Leonid Mesnik
13946835b5 8244537: JDI tests fail due to "ERROR: Exception : nsk.share.jdi.JDITestRuntimeException: JDITestRuntimeException : ** event IS NOT a breakpoint **"
Reviewed-by: sspitsyn, amenkov
2020-08-05 10:48:55 -07:00
Igor Ignatyev
0019679c69 8251190: nsk jdi tests failing "TestBug: Exception during config file parsing: java.io.FileNotFoundException"
Reviewed-by: dholmes, sspitsyn
2020-08-05 08:57:21 -07:00
Harold Seigel
c200b4f1cb 8139875: [TESTBUG] Improve nsk/stress/stack/* tests
Use -Xss200k to limit the stack size, avoid running with -Xcomp, and, in one test, reduce iterations.

Reviewed-by: dholmes, lfoltan
2020-08-05 13:27:43 +00:00
Igor Ignatyev
61ebb6adb7 8249030: clean up FileInstaller $test.src $cwd in vmTestbase_nsk_jdi tests
Reviewed-by: dholmes, sspitsyn
2020-08-04 20:05:47 -07:00
Jie Fu
30c8811d11 8251031: Some vmTestbase/nsk/monitoring/RuntimeMXBean tests fail with hostnames starting from digits
Reviewed-by: dholmes, cjplummer, sspitsyn
2020-08-05 10:54:18 +08:00
Yasumasa Suenaga
39616b4d7c 8250930: [TESTBUG] Some forceEarlyReturn00* tests failed due to compiler optimization
Reviewed-by: cjplummer, dholmes
2020-08-04 15:28:27 +09:00
Harold Seigel
99ae9558fe 8250562: Clean up weird comment in vmTestbase class Terminator.java
Delete the weird comment.

Reviewed-by: lfoltan
2020-07-28 20:14:01 +00:00
Daniil Titov
277ec3d260 8216324: GetClassMethods is confused by the presence of default methods in super interfaces
Reviewed-by: sspitsyn, amenkov
2020-07-27 11:34:19 -07:00
Harold Seigel
9b73fb125d 8250557: Rename vmTestbase/nsk shared timeout handler package to Terminator.java
Rename the class and fix the tests that use it.

Reviewed-by: dcubed
2020-07-24 18:44:27 +00:00
Mikael Vidstedt
1f5e21a16e Merge 2020-07-15 21:24:39 -07:00
Igor Ignatyev
e07ad838b5 8249040: clean up FileInstaller $test.src $cwd in vmTestbase_nsk_jdb tests
Reviewed-by: dholmes
2020-07-15 11:34:34 -07:00
Igor Ignatyev
b27e717c56 8249034: clean up FileInstaller $test.src $cwd in vmTestbase_nsk_jvmti tests
Reviewed-by: sspitsyn
2020-07-15 11:33:43 -07:00
Igor Ignatyev
1b5391264a 8249039: clean up FileInstaller $test.src $cwd in vmTestbase_nsk_aod tests
Reviewed-by: dholmes, sspitsyn
2020-07-15 11:31:35 -07:00
Mikael Vidstedt
1982432db4 Merge 2020-07-14 23:29:45 -07:00
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
6d201dbba6 8249036: clean up FileInstaller $test.src $cwd in vmTestbase_nsk_stress tests
Reviewed-by: kvn
2020-07-14 11:24:39 -07:00
Igor Ignatyev
919eb12b14 8249032: clean up FileInstaller $test.src $cwd in vmTestbase_nsk_sysdict tests
Reviewed-by: dholmes
2020-07-14 11:16:00 -07:00
Igor Ignatyev
6c95a87157 8249035: clean up FileInstaller $test.src $cwd in vmTestbase_nsk_jdwp tests
Reviewed-by: dholmes
2020-07-14 11:10:40 -07:00
Igor Ignatyev
ba1db57dde 8249028: clean up FileInstaller $test.src $cwd in vmTestbase_nsk_monitoring tests
Reviewed-by: dholmes
2020-07-14 11:09:34 -07:00
Igor Ignatyev
5899ef11fb 8208243: vmTestbase/gc/lock/jni/jnilock002/TestDescription.java fails in jdk/hs nightly
Reviewed-by: tschatzl
2020-07-02 11:38:00 -07:00
Igor Ignatyev
72ae322022 8208207: Test nsk/stress/jni/gclocker/gcl001 fails after co-location
Reviewed-by: tschatzl
2020-07-02 08:05:00 -07:00
Fairoz Matte
b9ce3b435e 8243451: nsk.share.jdi.Debugee.isJFR_active() is incorrect and corresponsing logic seems to be broken
Fix check isJFR_active()

Reviewed-by: sspitsyn, lmesnik
2020-06-11 08:23:09 +00:00
Igor Ignatyev
dc91b06661 8244614: cleanup keywords used/available in hotspot testbase
Reviewed-by: coleenp, mseledtsov
2020-06-08 21:27:22 -07:00
Jesper Wilhelmsson
c782d0e486 Merge 2020-07-07 23:42:50 +02:00
Jesper Wilhelmsson
6b8bf62a75 Merge 2020-07-03 00:14:21 +02:00
Daniel D. Daugherty
7d54e71d38 8246493: JDI stress/serial/mixed002 needs to use WhiteBox.deflateIdleMonitors support
Reviewed-by: cjplummer, sspitsyn
2020-06-30 15:24:01 -04:00
Leonid Mesnik
bac2e7fcad 8242328: Update mentions of ThreadMBean to ThreadMXBean
Reviewed-by: dholmes, iignatyev, sspitsyn
2020-06-12 14:33:55 -07:00
Leonid Mesnik
6341f8c077 8244965: Incorrect error message in vmTestbase/nsk/jdi/VirtualMachine/suspend/suspend001/TestDescription.java
Reviewed-by: dholmes
2020-06-11 14:03:00 -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
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
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
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
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
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
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
Igor Ignatyev
15464b36c3 8242471: remove "temporarily" restrictions of nsk/jdi/Argument/value/value004
Reviewed-by: amenkov, cjplummer
2020-04-13 12:30:07 -07:00
Leonid Mesnik
3a6249d0c7 8242295: Change ThreadMBean in vmTestbase/nsk/monitoring to ThreadMXBean
Reviewed-by: iignatyev
2020-04-08 13:14:19 -07:00
Leonid Mesnik
a76f0f78ad 8241456: ThreadRunner shouldn't use Wicket for threads starting synchronization
Reviewed-by: dholmes, iignatyev
2020-04-02 17:30:21 -07:00
Leonid Mesnik
e7204cbc52 8241123: Refactor vmTestbase stress framework to use j.u.c and make creation of threads more flexible
Reviewed-by: iignatyev, sspitsyn
2020-03-20 00:24:08 -07:00
Stefan Karlsson
c8e7590899 8237111: LingeredApp should be started with getTestJavaOpts
Reviewed-by: cjplummer, dholmes
2020-01-24 10:31:45 +01:00
Mikael Vidstedt
3318314c7c 8237589: Fix copyright header formatting
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Leonid Mesnik
dc0cc5520c 8235530: Removed duplicated threadByName methods in nsk/jdi tests
Reviewed-by: dholmes, sspitsyn
2019-12-09 13:02:07 -08: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
Jan Lahoda
29852ecd80 8232684: Make switch expressions final
Reviewed-by: alanb, mcimadamore, kvn
2019-11-12 06:32:13 +00: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
Leonid Mesnik
2cb764b24b 8231768: Remove duplicate if/else in vmTestbase/nsk/share/jdi/Binder.java
Reviewed-by: sspitsyn, phh, cjplummer
2019-10-03 08:50:10 -07: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
Doug Lea
8c647801fc 8231036: vmTestbase monitoring tests fail after JSR 166 refresh
Reviewed-by: martin, dholmes
2019-09-27 12:20:14 -07: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
Paul Hohensee
1bce27d402 8231209: [REDO] ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
Add com.sun.management.getCurrentThreadAllocatedBytes, implement getThreadAllocatedBytes(long) independent of getThreadAllocatedBytes(long[])

Reviewed-by: mchung, dholmes, sspitsyn
2019-09-25 15:22:33 -07:00
Ivan Gerasimov
9898fc1382 8230303: JDB hangs when running monitor command
Reviewed-by: sspitsyn
2019-09-10 09:08:52 -07: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
Nils Eliasson
019b9891d7 8226536: Catch OOM from deopt that fails rematerializing objects
Reviewed-by: vlivanov, thartmann
2019-07-10 18:48:05 +02: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
Coleen Phillimore
3ba752295e 8226394: [TESTBUG] vmTestbase/metaspace/flags/maxMetaspaceSize/TestDescription.java fails with java.lang.NoClassDefFoundError
Don't use printStackTrace to verify OOM type.

Reviewed-by: lfoltan, dholmes
2019-06-21 09:53:12 -04: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
Igor Ignatyev
2329e64f2b 8208236: [TESTBUG] vmTestbase/nsk/stress/stack tests fail by timeout
Reviewed-by: dholmes
2019-06-12 21:17:26 -07:00
Daniil Titov
2f1b1de1e8 8222828: vmTestbase/nsk/jdi/BScenarios/multithrd/tc02x004/TestDescription.java failed
Reviewed-by: cjplummer, gadams, jcbeyler
2019-06-10 09:41:09 -07:00
Daniil Titov
f198fdd639 8206074: nsk/jdi/EventRequestManager/createStepRequest/crstepreq001/TestDescription.java is timing out
Reviewed-by: cjplummer, gadams
2019-06-06 18:57:28 -07:00
Coleen Phillimore
f855474b0d 8222468: [TESTBUG] vmTestbase/metaspace/flags/maxMetaspaceSize/TestDescription.java fails with java.lang.NoClassDefFoundError
Preload StackTraceElement$HashedModules in test.

Reviewed-by: lmesnik, dholmes
2019-06-04 10:29:42 -04: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
Alex Menkov
e18cecafb9 8184770: JDWP support for IPv6
Reviewed-by: sspitsyn, chegar
2019-05-15 11:06:33 -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
Daniil Titov
5a264ba9db 8222667: vmTestbase/nsk/jdi/ThreadStartRequest/addThreadFilter/addthreadfilter002/TestDescription.java failed with "event IS NOT a breakpoint"
Reviewed-by: gadams, sspitsyn, jcbeyler, cjplummer
2019-05-06 09:58:14 -07:00
Jean Christophe Beyler
95b5fba3d7 8223146: [TESTBUG] new test vmTestbase/nsk/share/ExceptionCheckingJniEnv/exceptionjni001/ fails on Windows
Keep it simple and handle INT32_MIN separately

Reviewed-by: dholmes, sspitsyn
2019-04-30 20:26:16 -07:00
Daniil Titov
b505fd128d 8222749: vmTestbase/nsk/jdi/ThreadStartRequest/addThreadFilter/addthreadfilter001/TestDescription.java failed with "eventSet1.size() != 3 :: 2"
Reviewed-by: sspitsyn, jcbeyler
2019-04-30 08:45:19 -07:00
Jean Christophe Beyler
131bdfdff3 8222935: Fix ExceptionCheckingJniEnv system
Added missing tests and fixed the code

Reviewed-by: cjplummer, sspitsyn, amenkov
2019-04-24 19:51:38 -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
Gary Adams
eab5f23c59 8222741: jdi/EventQueue/remove/remove004 fails due to VMDisconnectedException
Reviewed-by: cjplummer, jcbeyler
2019-04-22 07:13:18 -04: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
Nick Gasson
1925ff3540 8220451: jdi/EventQueue/remove/remove004 failed due to "ERROR: thread2 is not alive"
8220456: jdi/EventQueue/remove_l/remove_l004 failed due to "TIMEOUT while waiting for event"

Reviewed-by: sspitsyn, dcubed, gadams
2019-03-22 03:04:09 +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
Daniil Titov
a148e026a9 8218812: vmTestbase/nsk/jvmti/GetAllThreads/allthr001/TestDescription.java failed
Reviewed-by: dlong, sspitsyn, jcbeyler
2019-03-14 16:28:31 -07: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
Gary Adams
f9d6d1d8f2 8013728: nsk/jdi/BScenarios/hotswap/tc10x001 Unrecognized Windows Sockets error: 0: recv failed
Reviewed-by: cjplummer, amenkov
2019-03-12 07:17:03 -04:00
Daniil Titov
02d0800300 8218464: vmTestbase/nsk/jdi/VirtualMachine/allThreads/allthreads001/TestDescription.java failed
Reviewed-by: sspitsyn, gadams
2019-03-06 09:30:05 -08:00
Daniil Titov
ac7f4635e1 8218167: nsk/jvmti/scenarios/sampling/SP02/sp02t003 fails
Reviewed-by: dlong, cjplummer
2019-03-05 13:41:35 -08:00
Gary Adams
cf086be753 4903717: nsk/jdi/ThreadReference/isSuspended/issuspended002 failing
Reviewed-by: amenkov, sspitsyn
2019-03-04 08:45:05 -05:00
Daniil Titov
ba84c4bc0c 8207367: 10 vmTestbase/nsk/jdi tests timed out when running with jtreg
Reviewed-by: sspitsyn, cjplummer
2019-02-28 13:12:26 -08:00
Igor Ignatyev
b88c7ac223 8219158: use 'test.root' property instead of traversing test-src path
Reviewed-by: dholmes
2019-02-22 11:07:18 -08:00
Gary Adams
4aac63bb93 8219388: Misleading log message "issuspended002a debuggee launched"
Reviewed-by: cjplummer, phh
2019-02-21 05:06:41 -05:00
Chris Plummer
c296f4ae0d 8218947: jdb threads command should print threadID in decimal, not hex
Print objectIDs in decimal.

Reviewed-by: sspitsyn, dholmes, jcbeyler
2019-02-19 12:05:43 -08:00
Gary Adams
8c4106ff56 8219002: Some comments and error messages refer to VMDisconnectException
Reviewed-by: cjplummer, sspitsyn
2019-02-15 05:32:36 -05:00
Gary Adams
9bc10ee9bf 8068225: nsk/jdi/EventQueue/remove_l/remove_l005 intermittently times out
Reviewed-by: cjplummer, sspitsyn
2019-02-11 07:19:32 -05:00
Daniil Titov
76ffbcde98 8205654: serviceability/dcmd/framework/HelpTest.java timed out
Reviewed-by: sspitsyn, dholmes
2019-02-08 09:41:45 -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
Gary Adams
b979952d62 8158066: SourceDebugExtensionTest fails to rename file
Reviewed-by: dcubed, dholmes
2019-01-18 05:33:28 -05:00
Harold Seigel
53c8dfdd07 8216563: [TESTBUG] Change stressTime to default to 30 for nsk tests (part 2)
Change the default from 60 seconds to 30 seconds.

Reviewed-by: coleenp, mseledtsov
2019-01-15 14:55:45 -05: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
Harold Seigel
402ab4431a 8207964: [TESTBUG] Change stressTime to default to 30 for nsk tests
Change the default from 60 seconds to 30 seconds.

Reviewed-by: coleenp, dholmes
2019-01-10 10:15:02 -05: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
230f1bd5c9 8216059: nsk_jvmti_parseoptions still has dependency on tilde separator
Reviewed-by: sspitsyn, cjplummer
2019-01-03 15:54:01 -05: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
Leonid Mesnik
c49b882dd1 8210107: vmTestbase/nsk/stress/network tests fail with Cannot assign requested address (Bind failed)
Reviewed-by: dholmes, mseledtsov, chegar
2018-12-05 21:18:27 -08: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
Igor Veresov
da77659d7e 8193577: nsk/jvmti/IterateThroughHeap/filter-tagged fails with Graal in Xcomp mode
Make field values opaque to compiler

Reviewed-by: dlong, sspitsyn
2018-11-29 11:47:08 -08:00
Matthias Baesken
9debae9783 8214297: testbug : missing fclose in jvmti_aod.cpp
Reviewed-by: coleenp, stuefe
2018-11-26 14:04:23 +01:00
Simon Tooke
710ecce7f7 8214108: [TESTBUG] Incorrect Function parameter lists in vmTestbase/nsk/jvmti/scenarios/extension/EX03/ex03t001
Reviewed-by: gadams, sspitsyn
2018-11-22 11:15:53 +01:00
Jean Christophe Beyler
937fe3be82 8214149: Move out assignments when not using NSK*VERIFY macros
Move out the assignments from ifs

Reviewed-by: sspitsyn, cjplummer
2018-11-21 10:46:45 -08:00
Jean Christophe Beyler
5639c70032 8213721: [Graal] Tests vmTestbase/nsk/stress/except/except* may be encountering SEGV during out-of-memory conditions
Add the exception handler only for the current thread

Reviewed-by: dholmes, sspitsyn, thartmann
2018-11-21 09:38:27 -08:00
Daniil Titov
52bee8fe04 8203174: [Graal] JDI tests fail with Unexpected exception: com.sun.jdi.ObjectCollectedException
Reviewed-by: sspitsyn, cjplummer
2018-11-15 09:56:49 -08:00
Jean Christophe Beyler
d7d4bc9fdd 8213622: Windows VS2013 build failure - "'snprintf': identifier not found"
Replace snprintf with strlen and memcpy

Reviewed-by: dholmes, mvala, kbarrett
2018-11-14 12:25:15 -08:00
David Holmes
90cf7a7d12 8213718: [TEST] Wrong classname in vmTestbase/nsk/stress/except/except002 and except003
Reviewed-by: zgu, jcbeyler
2018-11-12 16:36:05 -05:00
Jean Christophe Beyler
1d340e454c 8212939: Add space after if/while/for/switch and parenthesis
Add spaces where needed

Reviewed-by: cjplummer, sspitsyn
2018-11-12 13:13:00 -08:00
Zhengyu Gu
83155e1ea6 8213707: [TEST] vmTestbase/nsk/stress/except/except011.java failed due to wrong class name
Fixed wrong class name in test

Reviewed-by: dholmes, jcbeyler
2018-11-10 09:06:33 -05:00
Serguei Spitsyn
bf16c3a479 8080406: VM_GetOrSetLocal doesn't check local slot type against requested type
Provide possible type checks when LVT is absent

Reviewed-by: jcbeyler, cjplummer
2018-11-08 00:07:48 -08:00
Gary Adams
bb0212400f 8213245: Restoring nsk/jvmti/scenarios/hotswap tests from ProblemList.txt
Reviewed-by: jcbeyler, cjplummer, amenkov
2018-11-01 11:42:59 -04:00
Jean Christophe Beyler
e3a2417b63 8213246: Fix typo in vmTestbase failuire to failure
Fix failuire typo in two spots

Reviewed-by: mikael, dcubed, iignatyev
2018-11-03 12:37:55 -07:00
David Holmes
3837f1abc1 8210242: vmTestbase/nsk/stress/jni/jnistress001.java crashes with EXCEPTION_ACCESS_VIOLATION on windows-x86
Non-NUL-terminated string was passed to %s - use %.*s to specify the actual length.

Reviewed-by: lfoltan, hseigel
2018-10-25 19:12:39 -04:00
Jean Christophe Beyler
589b596bec 8212884: Remove the assignments in ifs for vmTestbase/[a-s]
Extract assignments from if statements in vmTestbase

Reviewed-by: cjplummer, sspitsyn
2018-10-25 14:23:26 -07:00
Jean Christophe Beyler
be312edc2a 8212770: Remove spaces before/after () for vmTestbase/jvmti/[s-u]
Remove spaces before/after ()

Reviewed-by: amenkov, cjplummer
2018-10-25 08:18:42 -07:00
Jean Christophe Beyler
db6696837e 8212771: Remove remaining spaces before/after () for vmTestbase
Remove spaces around ()

Reviewed-by: phh, sspitsyn
2018-10-23 09:43:16 -07:00
Jean Christophe Beyler
e6d66056ab 8212535: Remove spaces before/after () for vmTestbase/[a-j]*
Remove white spaces from tests

Reviewed-by: amenkov, cjplummer, phh, sspitsyn
2018-10-22 19:31:41 -07:00
Jean Christophe Beyler
a623db2148 8212148: Remove remaining NSK_CPP_STUBs
Remove remaining macros

Reviewed-by: amenkov, phh, iignatyev
2018-10-22 12:43:15 -07:00
Jean Christophe Beyler
d63acb557c 8211899: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/scenarios/[E-M]
Remove the NSK_CPP_STUB macros from tests

Reviewed-by: amenkov, phh, sspitsyn
2018-10-17 21:28:11 -07:00
Jean Christophe Beyler
7afa70096a 8212083: Handle remaining gc/lock native code and fix two strings
Migrate code to using wrapping JNI for exceptions

Reviewed-by: phh, tschatzl
2018-10-15 14:55:17 -07:00
Jean Christophe Beyler
e431f6a418 8212082: Remove the NSK_CPP_STUB macros for remaining vmTestbase/jvmti/[sS]*
Remove NSK_CPP_STUB macros from the tests

Reviewed-by: amenkov, phh
2018-10-14 19:07:34 -07:00
Jean Christophe Beyler
b68500521e 8211432: [REDO] Handle JNIGlobalRefLocker.cpp
Adding a JNI verification wrapper for tests

Reviewed-by: amenkov, sspitsyn, phh
2018-10-11 09:30:10 -07:00
Jean Christophe Beyler
efa175f20e 8211801: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/scenarios/[A-E]
Remove the NSK_CPP_STUB macros

Reviewed-by: amenkov, sspitsyn
2018-10-10 11:20:21 -07:00
Jean Christophe Beyler
11da699d9e 8211905: Remove multiple casts for EM06 file
Remove multiple casts for EM06 file

Reviewed-by: sspitsyn, cjplummer
2018-10-09 13:22:19 -07:00
Gary Adams
7b7315dbed 8201603: MonitorContendedEnter failure in nsk/jvmti/scenarios/contention/TC02/tc02t001
Reviewed-by: cjplummer
2018-10-08 14:57:07 -04:00
Jean Christophe Beyler
61f453edf7 8211782: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[I-S]*
Remove the NSK_CPP_STUB macros

Reviewed-by: amenkov, sspitsyn
2018-10-08 19:44:44 -07:00
Jean Christophe Beyler
85c6642e38 8211131: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[G-I]*
Remove the NSK_CPP_STUB macros

Reviewed-by: amenkov, sspitsyn
2018-10-08 13:56:28 -07:00
Jean Christophe Beyler
57622ed115 8211261: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[A-G]*
Remove the NSK_CPP_STUB macros

Reviewed-by: amenkov, cjplummer
2018-10-08 13:54:43 -07:00
Gary Adams
40d81d4bcc 8036026: nsk/jvmti/scenarios/capability/CM02/cm02t001 fails intermittently
Reviewed-by: cjplummer, dcubed
2018-10-08 07:18:40 -04:00
Mikael Vidstedt
0746fffe5c 8211291: Backout JDK-8210842 Handle JNIGlobalRefLocker.cpp
Reviewed-by: kbarrett, iignatyev, jcbeyler
2018-09-28 14:53:41 -07:00
Jean Christophe Beyler
cc4436e2b9 8210842: Handle JNIGlobalRefLocker.cpp
Add checking for JNI calls via a new ExceptionCheckingJniEnv

Reviewed-by: sspitsyn, amenkov, dholmes, mikael
2018-09-28 13:01:28 -07:00
Gary Adams
c45eacbd27 8208473: [TESTBUG] nsk/jdb/exclude/exclude001/exclude001.java is timing out on solaris-sparc again
Reviewed-by: cjplummer, amenkov
2018-09-28 14:31:36 -04:00
Jean Christophe Beyler
b20e2cd963 8211036: Remove the NSK_STUB macros from vmTestbase for non jvmti
Remove the NSK_STUB macros from code outside of the jvmti subfolder

Reviewed-by: iignatyev, amenkov, dholmes
2018-09-27 15:56:40 -07:00
Gary Adams
c0fd523c05 8210984: [TESTBUG] hs203t003 fails with "# ERROR: hs203t003.cpp, 218: NSK_CPP_STUB2 ( ResumeThread, jvmti, thread)"
Reviewed-by: cjplummer, jcbeyler
2018-09-27 07:33:13 -04:00
Jean Christophe Beyler
64099fc1cc 8210689: Remove the multi-line old C style for string literals
Remove the multi-line old C style and prefer C++ multi-line

Reviewed-by: amenkov, cjplummer
2018-09-25 09:34:51 -07:00
Gary Adams
db61465761 8208471: nsk/jdb/unwatch/unwatch002/unwatch002.java fails with "Prompt is not received during 300200 milliseconds"
Reviewed-by: cjplummer, amenkov
2018-09-21 08:13:55 -04:00
Chris Plummer
7dd0aaa430 8210987: Extra newlines on Windows when running nsk jdb tests
Fix skipping over newlines

Reviewed-by: dholmes, jcbeyler, amenkov
2018-09-22 14:12:48 -07:00
Coleen Phillimore
a3931a76f6 8210861: Move assert to help diagnose rare RedefineStress crash
Assert that Method being marked on stack hasn't been missed by previous metadata walk

Reviewed-by: lfoltan
2018-09-18 16:11:36 -04:00
Jean Christophe Beyler
bdf78f557a 8210700: Clean up JNI_ENV_ARG and factorize the macros for vmTestbase/jvmti/unit tests
Remove JNI_ENV macros from the remaining vmTestbase tests

Reviewed-by: amenkov, sspitsyn, dholmes, cjplummer
2018-09-17 19:48:35 -07:00
Jean Christophe Beyler
510336c210 8210481: Remove #ifdef cplusplus from vmTestbase
Remove all cplusplus ifdefs from vmTestbase

Reviewed-by: dholmes, iignatyev, cjplummer, sspitsyn
2018-09-17 19:36:09 -07:00
Jean Christophe Beyler
fddc4b8ccb 8210726: Fix up a few minor nits forgotten by JDK-8210665
Minor changes to 4 tests to make one-liners

Reviewed-by: cjplummer, iignatyev, sspitsyn
2018-09-17 09:07:40 -07:00
Gary Adams
18199b887f 8208468: [TESTBUG] nsk/jdb/locals/locals002: fails with "Prompt is not received during ... milliseconds"
Reviewed-by: cjplummer, amenkov
2018-09-13 07:46:41 -04:00
Jean Christophe Beyler
85b57de9ce 8210665: Clean up JNI_ENV_ARG and factorize the macros for vmTestbase/jvmti[R-U] tests
Remove JNI_ENV and JVMTI_ENV macros from jvmti/[R-U] tests

Reviewed-by: cjplummer, sspitsyn
2018-09-13 13:03:50 -07:00
Jean Christophe Beyler
6a2e4311f5 8210593: Clean up JNI_ENV_ARG and factorize the macros for vmTestbase/jvmti[N-R] tests
Remove JNI_ENV/JVMTI_ENV macros from N to R jvmti tests

Reviewed-by: amenkov, dholmes
2018-09-12 10:27:03 -07:00
Jean Christophe Beyler
fe326ad022 8210385: Clean up JNI_ENV_ARG and factorize the macros for vmTestbase/jvmti[A-N] tests
Remove JNI_ENV and JVMTI_ENV macros for part of the jvmti tests

Reviewed-by: amenkov, dholmes
2018-09-11 10:12:50 -07:00
David Holmes
1f30060cbb 8210512: [Testbug] vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java fails with unexpected size of ClassLoaderReference.referringObjects
Account for the self-reference that every class has in the constant pool

Reviewed-by: sspitsyn, jcbeyler
2018-09-10 18:57:44 -04:00
Coleen Phillimore
7445ebf02b 8208697: vmTestbase/metaspace/stressHierarchy/stressHierarchy012/TestDescription.java fails with OutOfMemoryError: Metaspace
Remove timeoutHandler class and let Stresser handle timeout, remove 30 threads filling metaspace, and remove related unused files.

Reviewed-by: lfoltan, mseledtsov
2018-09-10 16:33:55 -04:00
Jean Christophe Beyler
d90f0a51c2 8210429: Clean up JNI_ENV_ARG for vmTestbase/jvmti/Get[G-Z] tests
Remove the JNI_ENV_ARG for the rest of the Get[G-Z]

Reviewed-by: dholmes, sspitsyn, cjplummer
2018-09-07 09:50:02 -07:00
Jean Christophe Beyler
d256eb923b 8210198: Clean up JNI_ENV_ARG for vmTestbase/jvmti/Get[A-F] tests
Remove JNI_ENV macros from the Get[A-F] tests

Reviewed-by: sspitsyn, amenkov, cjplummer
2018-09-05 19:40:52 -07:00
Jean Christophe Beyler
d0560a2860 8210182: Remove macros for C compilation from vmTestBase but non jvmti
Remove the macros and update the code

Reviewed-by: sspitsyn, cjplummer, amenkov
2018-08-31 22:55:34 -07:00
Daniil Titov
4d57252ee0 8209585: [Graal] vmTestbase/nsk/jvmti/scenarios/sampling tests fail with "Too small stack of resumed thread"
Reviewed-by: sspitsyn, amenkov, cjplummer, jcbeyler
2018-08-31 11:56:43 -07:00
Matthias Baesken
45fb620218 8210205: build fails on AIX in hotspot cpp tests (for example getstacktr001.cpp)
Reviewed-by: mdoerr, stuefe
2018-08-30 13:12:38 +02:00
Chris Plummer
7a55cb8954 8210118: better jdb test diagnostics when getting "Prompt is not received during ... milliseconds" failures
Print pending reply when prompt is not recieved

Reviewed-by: dholmes, gadams, sspitsyn, jcbeyler
2018-08-30 17:59:40 -07:00
Ioi Lam
3c135ae705 8210194: [TESTBUG] jvmti_FollowRefObjects.cpp missing initializer for member _jvmtiHeapCallbacks::heap_reference_callback
Reviewed-by: sspitsyn, iignatyev
2018-08-30 08:01:13 -07:00
Gary Adams
b984ecc438 8170089: nsk/jdi/EventSet/resume/resume008: ERROR: suspendCounts don't match for : Common-Cleaner
Reviewed-by: cjplummer, sspitsyn
2018-08-28 08:06:59 -04:00
Igor Ignatyev
8c47dc4a94 8209611: use C++ compiler for hotspot tests
Reviewed-by: vlivanov, ihse, erikj, jcbeyler
2018-08-28 14:37:34 -07:00
Gary Adams
fc61b1abfb 8019927: [TESTBUG] nsk/jvmti/GetThreadInfo/thrinfo001 intermittently fails with 'invalid thread group' when running with JFR
Reviewed-by: amenkov, cjplummer, sspitsyn
2018-08-28 07:30:36 -04:00
Gary Adams
14bb47410b 8034084: nsk.nsk/jvmti/ThreadStart/threadstart003 Wrong number of thread end events
Reviewed-by: amenkov, dholmes, sspitsyn
2018-08-23 07:54:19 -04:00
Daniil Titov
f1553a5f0f 8202342: [Graal] fromTonga/nsk/jvmti/unit/FollowReferences/followref003/TestDescription.java fails with "Location mismatch" errors
Reviewed-by: sspitsyn, amenkov
2018-08-22 08:31:15 -07:00
Phil Race
32ec91ca9b Merge 2018-08-03 09:42:57 -07:00
Igor Ignatyev
17891770c1 8208655: use JTreg skipped status in hotspot tests
Reviewed-by: kvn, hseigel, iklam
2018-08-02 14:40:55 -07:00
Jean Christophe Beyler
fc9941ae72 8169004: Fix redundant @requires tags in tests
Reviewed-by: tschatzl, iignatyev
2018-07-31 12:24:47 -07:00
Coleen Phillimore
16f9e07ba1 8208074: [TESTBUG] vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineWithoutBytecodeCorruption/TestDescription.java failed with NullPointerException
Fixed refactoring caused by JDK-8203820

Reviewed-by: dholmes, sspitsyn, cjplummer
2018-07-31 15:57:52 -04:00
Igor Ignatyev
5c2439b0f6 8208358: update bug ids mentioned in tests
Reviewed-by: kvn
2018-07-26 23:59:46 -07:00
Daniil Titov
31cf8b1c65 8207364: nsk/jvmti/ResourceExhausted/resexhausted003 fails to start
Reviewed-by: sspitsyn, cjplummer
2018-07-26 16:22:58 -07:00
Phil Race
1387c87093 Merge 2018-07-26 10:00:40 -07:00
Chris Plummer
3ec12f2dc1 8151259: [TESTBUG] nsk/jvmti/RedefineClasses/redefclass030 fails with "unexpected values of outer fields of the class" when running with -Xcomp
Do a better job of handling compilations before execution

Reviewed-by: sspitsyn, amenkov
2018-07-25 13:15:36 -07:00
Coleen Phillimore
a95225aabc 8203820: [TESTBUG] vmTestbase/metaspace/staticReferences/StaticReferences.java timed out
Moved InMemoryJavaCompiler out of loops or reduced loops with InMemoryJavaCompiler

Reviewed-by: vromero, jiangli
2018-07-20 18:03:23 -04:00
Daniil Titov
301f3c3bb5 8204695: [Graal] vmTestbase/nsk/jdi/ClassPrepareRequest/addSourceNameFilter/addSourceNameFilter002/addSourceNameFilter002.java fails
Reviewed-by: sspitsyn, cjplummer
2018-07-19 16:53:33 -07:00
Phil Race
28e828130d Merge 2018-07-19 10:17:22 -07:00
Alex Menkov
7d8922221d 8201513: nsk/jvmti/IterateThroughHeap/filter-* are broken
Reviewed-by: sspitsyn, cjplummer
2018-07-13 10:10:51 -07:00
Daniil Titov
a2a00af3c3 8191948: db error: InvalidTypeException: Can't assign double[][][] to double[][][]
Reviewed-by: sspitsyn, amenkov
2018-07-12 22:53:35 -07:00
Gary Adams
539a39c5f6 8206007: nsk/jdb/exclude001 test is taking a long time on some builds
Reviewed-by: cjplummer, sspitsyn
2018-07-12 10:41:44 -04:00
Leonid Mesnik
cd45167430 8139876: Exclude hanging nsk/stress/stack from execution with deoptimization enabled
Reviewed-by: kvn, mseledtsov
2018-07-12 13:32:45 -07:00
Jesper Wilhelmsson
dafb3af62d Merge 2018-07-11 21:41:43 +02:00
David Holmes
e9ad46f26c 8205878: pthread_getcpuclockid is expected to return 0 code
Reviewed-by: cjplummer, amenkov, coleenp
2018-07-09 20:17:32 -04:00
Jesper Wilhelmsson
4222f3408c Merge 2018-07-03 02:07:49 +02:00
Daniil Titov
bebd49cf84 8206086: [Graal] JDI tests fail with com.sun.jdi.ObjectCollectedException
Reviewed-by: sspitsyn, cjplummer, amenkov
2018-06-29 12:34:03 -07:00
David Holmes
5fcb3ecb4e 8205878: pthread_getcpuclockid is expected to return 0 code
Reviewed-by: cjplummer, amenkov, coleenp
2018-07-09 20:17:32 -04:00