Commit Graph

167 Commits

Author SHA1 Message Date
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
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
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
Igor Ignatyev
6ff66db553 8242314: use reproducible random in vmTestbase shared code
Reviewed-by: kbarrett, lmesnik
2020-04-28 20:49:28 -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
Jesper Wilhelmsson
c782d0e486 Merge 2020-07-07 23:42:50 +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
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
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
Jan Lahoda
29852ecd80 8232684: Make switch expressions final
Reviewed-by: alanb, mcimadamore, kvn
2019-11-12 06:32:13 +00: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
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
Nils Eliasson
019b9891d7 8226536: Catch OOM from deopt that fails rematerializing objects
Reviewed-by: vlivanov, thartmann
2019-07-10 18:48:05 +02: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
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
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
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
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
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
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
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
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
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
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
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
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
Matthias Baesken
9debae9783 8214297: testbug : missing fclose in jvmti_aod.cpp
Reviewed-by: coleenp, stuefe
2018-11-26 14:04:23 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Igor Ignatyev
8c47dc4a94 8209611: use C++ compiler for hotspot tests
Reviewed-by: vlivanov, ihse, erikj, jcbeyler
2018-08-28 14:37:34 -07: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
Mikael Vidstedt
1f437b30f3 8202331: Obsolete support for commercial features
Reviewed-by: kvn, cjplummer, dholmes
2018-06-21 21:37:28 -07:00
Daniil Titov
b5eadc5721 8203809: [Graal] JDI tests fail with: JDITestRuntimeException : ** event IS NOT a breakpoint **
Reviewed-by: sspitsyn, cjplummer
2018-06-13 10:36:13 -07:00
Igor Ignatyev
2e0bda002d 8199371: [TESTBUG] Open source vm testbase JDWP tests
Reviewed-by: sspitsyn, mseledtsov
2018-05-30 20:54:45 -07:00
Daniil Titov
de66432d4a 8203802: Jvmti test fails to build with VS2017
Reviewed-by: sspitsyn, erikj
2018-05-30 08:59:56 -07:00
Igor Ignatyev
59ac4c2629 8199383: [TESTBUG] Open source VM testbase JVMTI tests
Reviewed-by: sspitsyn, erikj
2018-05-24 17:12:15 -07:00
Igor Ignatyev
619bf3a01c 8199379: [TESTBUG] Open source vm testbase JDB tests
Reviewed-by: mseledtsov, sspitsyn
2018-05-22 10:08:04 -07:00
Igor Ignatyev
072459a055 8199370: [TESTBUG] Open source vm testbase GC tests
Reviewed-by: erikj, ihse, ehelin
2018-05-17 14:52:47 -07:00
Igor Ignatyev
01b0f9ea7d 8199384: [TESTBUG] Open source VM testbase MLVM tests
Reviewed-by: erikj, mseledtsov, vlivanov
2018-05-17 00:23:28 -07:00
Igor Ignatyev
e48cfc709d 8199382: [TESTBUG] Open source VM testbase JDI tests
Reviewed-by: erikj, kvn, sspitsyn
2018-05-05 09:24:29 -07:00
Igor Ignatyev
47bc94b60e 8199375: [TESTBUG] Open source vm testbase monitoring tests
Reviewed-by: kvn, ihse, sspitsyn
2018-05-02 16:43:56 -07:00
Igor Ignatyev
08855df46a 8199643: [TESTBUG] Open source common VM testbase code
Reviewed-by: vlivanov, erikj, mseledtsov, gthornbr
2018-04-30 18:10:24 -07:00