Commit Graph

622 Commits

Author SHA1 Message Date
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
David Holmes
1d5674ab33 8208278: [mlvm] [TESTBUG] vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test Deadlocked threads are not always detected
Reviewed-by: iignatyev
2019-02-24 16:10:52 -05: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
Mikael Vidstedt
aeaad9c910 8218937: Make mlvmJvmtiUtils strncpy uses GCC 8.x friendly
Reviewed-by: iignatyev
2019-02-14 15:12:17 -08:00
Igor Ignatyev
120fdfe6ad 8195060: vm/mlvm/anonloader/stress/byteMutation intermittently times out
Reviewed-by: kvn
2019-02-13 11:18:14 -08:00
Gary Adams
5d0ff15a58 8218754: JDK-8068225 regression in JDIBreakpointTest
Reviewed-by: cjplummer, sspitsyn
2019-02-12 15:19:25 -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
Jesper Wilhelmsson
b2d0be746a Merge 2019-02-02 00:11:54 +01:00
Igor Ignatyev
103b6b2d69 8218178: vmTestbase/vm/mlvm/mixed/stress/regression/b6969574/INDIFY_Test.java fails with -Xcomp
Reviewed-by: dlong
2019-02-01 13:33:02 -08:00
Yasumasa Suenaga
e56ecb5e8c 8217432: MetaspaceGC::_capacity_until_GC exceeds MaxMetaspaceSize
Reviewed-by: tschatzl, stuefe
2019-02-01 21:43:37 +09:00
Igor Ignatyev
2b003cb4aa 8067250: [mlvm] vm/mlvm/mixed/stress/regression/b6969574 fails and perf regression
Reviewed-by: roland
2019-01-25 08:52:32 -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
Jesper Wilhelmsson
fd21613d59 Merge 2019-01-25 18:12:06 +01: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
Sergey Ustimenko
cbfc7cb312 8214052: [testbug] vmTestbase/vm/compiler/CodeCacheInfoOnCompilation - wrong shell used
Reviewed-by: jwilhelm
2018-12-08 05:04:19 +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
Coleen Phillimore
dd9664f39b 8214356: Verification of class metadata unloading takes a long time
Conditionalize verify_chunk_in_freelist call.

Reviewed-by: shade, tschatzl
2018-11-29 13:04:25 -05:00
Thomas Schatzl
9a4eed85df 8211211: vmTestbase/metaspace/stressDictionary/StressDictionary.java timeout
Disable CMS precleaning to avoid accumulating too many classloaders to unload.

Reviewed-by: kbarrett, sangheki
2018-11-28 10:52:01 +01: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
Vicente Romero
61082e6b25 8213480: update internal ASM version to 7.0
Reviewed-by: dholmes, iignatyev, alanb
2018-11-13 23:33:17 -05: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
Daniel D. Daugherty
0f9e314cb5 8213704: increase default timeout for vmTestbase/metaspace/stressDictionary/StressDictionary.java
Reviewed-by: rehn
2018-11-09 15:19: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
Harold Seigel
71637b00c7 8212997: [TESTBUG] Remove defmeth tests for class file versions 50 and 51
Remove the unneeded tests.  Keep the tests for class file versions 49 and 52.

Reviewed-by: acorn, coleenp
2018-10-29 08:38:59 -04:00
Harold Seigel
67d76fe937 8192864: defmeth tests can hide failures
Add a call to addFailureCount() to record previously hidden failures.

Reviewed-by: lfoltan, coleenp
2018-10-26 08:23:52 -04: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
Daniel D. Daugherty
daf4ad38ab 8212220: add code to verify results to metaspace/stressDictionary/StressDictionary.java
Also change the test's default timeout to 5 minutes.

Reviewed-by: dholmes, stuefe
2018-10-24 11:04:25 -04: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
Erik Joelsson
232912a6ca 8212028: Use run-test makefile framework for testing in Oracle's Mach5
Reviewed-by: ihse
2018-10-15 11:36:20 -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
Jean Christophe Beyler
49b859b9d3 8201224: Make string buffer size dynamic in mlvmJvmtiUtils.c
Calculate the string size for the buffer first

Reviewed-by: amenkov, sspitsyn, iklam
2018-08-22 09:33:18 -07: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
Jean Christophe Beyler
dc45757347 8208242: Add @requires to vmTestbase/gc/g1 tests
Added classunloading must not be disabled and G1 is required to g1/unloading tests

Reviewed-by: kbarrett, tschatzl
2018-08-08 11:11:19 -07:00
Xin Liu
e5f3e1b60c 8207965: C2-only debug build fails
Reviewed-by: kvn, iignatyev
2018-08-08 18:38:34 -07:00
Jean Christophe Beyler
b2042fe0ca 8079682: [mlvm] remove SAM code in MHTransformationGen
Remove SAM code from the test and remove related dead code

Reviewed-by: iignatyev
2018-08-06 14:23:02 -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
3d94ce71b5 8208249: TriggerUnloadingByFillingMetaspace generates garbage class names
Put a ThreadLocal around the object to be thread safe

Reviewed-by: tschatzl, iignatyev
2018-07-31 10:16:56 -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
Jean Christophe Beyler
b184fceaa0 8208246: flags duplications in vmTestbase_vm_g1classunloading tests
Remove duplicate flags for the classunloading tests

Reviewed-by: tschatzl, iignatyev
2018-07-31 10:20:10 -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
Igor Ignatyev
cb2d33f02c 8206287: fix legal notice in hotspot tests
Reviewed-by: kvn, hseigel
2018-07-09 11:15:55 -07:00
Ekaterina Pavlova
b4c6d6ae31 8195630: [Graal] vmTestbase/nsk/jvmti/AttachOnDemand/attach024/TestDescription.java fails with Graal
Reviewed-by: kvn
2018-06-28 19:33:00 -07:00
Gary Adams
446bbb0f40 8205508: hotspot/jtreg/vmTestbase/nsk/jdb/exclude/exclude001/exclude001.java fails with Prompt is not received during 300200 milliseconds
Reviewed-by: cjplummer, sspitsyn, dcubed
2018-06-28 10:31:39 -04:00
Alex Menkov
1e326d1b84 8205681: [TEST_BUG] vmTestbase/nsk/jvmti/Allocate/alloc001/TestDescription.java fails with exit code 98
Reviewed-by: sspitsyn, cjplummer, dholmes
2018-06-28 03:45:49 -07:00
Lois Foltan
7ca4027957 8169559: Add class loader names to relevant VM messages
Added new method class_in_module_of_loader to provide a standard format for class information within error messages.

Reviewed-by: goetz, hseigel, mchung
2018-06-25 11:33:11 -04:00
David Holmes
95bf19563b 8010319: Implementation of JEP 181: Nest-Based Access Control
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Mikael Vidstedt
1f437b30f3 8202331: Obsolete support for commercial features
Reviewed-by: kvn, cjplummer, dholmes
2018-06-21 21:37:28 -07:00
Gary Adams
dfe4aabde4 6545967: sp05t003 failed ResumeThread() due to THREAD_NOT_SUSPENDED
Reviewed-by: cjplummer, sspitsyn
2018-06-20 13:57:38 -04:00
Igor Ignatyev
6e38484942 8202559: Tests which start VM using JNI start failing after compile upgrade to VC 2017
Reviewed-by: erikj
2018-06-18 16:58:16 -07:00
Boris Ulasevich
44d8adb43f 8204961: JVMTI jtreg tests build warnings on 32-bit platforms
Reviewed-by: sspitsyn, dholmes
2018-06-18 20:50:23 -04:00
Vladimir Kozlov
9b7a61eff1 8184349: There should be some verification that EnableJVMCI is disabled if a GC not supporting JVMCI is selected
Exit VM with Error when JVMCI does not support seected GC.

Reviewed-by: iveresov, thartmann
2018-06-15 09:16:48 -07:00
Leonid Mesnik
c83edf5ae6 8203491: [TESTBUG] Port heapdump tests into java
Reviewed-by: coleenp, jgeorge
2018-06-13 16:32:02 -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
Per Lidén
e7af7a4aef 8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Daniil Titov
f801eef7d1 8203033: [Testbug] vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic002/TestDescription.java fails with nestmates
Reviewed-by: sspitsyn, dholmes
2018-06-06 13:58:57 -07:00
Stefan Karlsson
ad35b3d424 8204168: Increase small heap sizes in tests to accommodate ZGC
Reviewed-by: pliden, ehelin
2018-06-05 15:56:21 +02:00
Stefan Karlsson
8c5db24c99 8204165: Filter out tests requiring class unloading when ClassUnloading is disabled
Reviewed-by: coleenp, kbarrett
2018-06-05 15:56:14 +02:00
Stefan Karlsson
b95d16720f 8204163: Also detect concurrent GCs in MetaspaceBaseGC.java
Reviewed-by: eosterlund, pliden
2018-06-05 15:56:12 +02:00
Igor Ignatyev
c4ec887262 8202812: [TESTBUG] Open source VM testbase compiler tests
Reviewed-by: kvn, mseledtsov
2018-06-01 15:48:55 -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
Igor Ignatyev
91cff962f9 8199380: [TESTBUG] Open source VM testbase AOD tests
Reviewed-by: erikj, sspitsyn
2018-05-30 16:18:56 -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
Harold Seigel
da47d82500 8203183: vmTestbase/vm/mlvm/anonloader/stress/oome/heap/Test.java times out
Limit the heap size so the OOM happens sooner.

Reviewed-by: kbarrett, coleenp
2018-05-24 13:04:33 -04:00
Mikhailo Seledtsov
6b45a75b88 8199255: [TESTBUG] Open source VM testbase default methods tests
Open sourced default method tests

Reviewed-by: ccheung, iignatyev, erikj
2018-05-23 17:09:49 -07:00
Mikhailo Seledtsov
6fcf6a9b20 8199257: [TESTBUG] Open source VM testbase metaspace tests
Open sourced VM metaspace tests

Reviewed-by: coleenp, stuefe
2018-05-22 13:05:22 -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
bc795f4eb8 8203437: 8199370 broke build on linux-ppc64le (w/ GCC 4.8.5.)
Reviewed-by: shade
2018-05-18 12:45:05 -07:00
Leonid Mesnik
5dcd1ced4c 8199271: [TESTBUG] open source VM testbase stress tests
Reviewed-by: mseledtsov, sspitsyn, erikj
2018-05-17 16:21:27 -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
Mikhailo Seledtsov
8d586517f4 8199252: [TESTBUG] Open source VM testbase system dictionary tests
Opensourced the tests

Reviewed-by: iignatyev, gziemski
2018-05-16 16:43:11 -07:00
Igor Ignatyev
f575533a17 8202392: [TESTBUG] open source vm testbase heapdump tests
Reviewed-by: sspitsyn, mseledtsov
2018-05-15 11:28:29 -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
Daniil Titov
a1dda2a3fa 8207261: [Graal] JDI and JDWP tests that consume all memory should be filtered out to not run with Graal
Reviewed-by: sspitsyn, cjplummer
2018-07-17 11:20:16 -07:00
Daniil Titov
8afac1c9da 8191948: db error: InvalidTypeException: Can't assign double[][][] to double[][][]
Reviewed-by: sspitsyn, amenkov
2018-07-12 22:53:35 -07:00