Commit Graph

108 Commits

Author SHA1 Message Date
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
09510a15a1 Merge 2020-07-10 23:12:29 -07:00
Jesper Wilhelmsson
3dcd1c1ab0 Merge 2020-07-09 04:32:30 +02:00
Leonid Mesnik
dfe381ae08 8248658: Remove vmTestbase/vm/share/vmcrasher
Reviewed-by: cjplummer, sspitsyn
2020-07-08 12:11:06 -07:00
Igor Ignatyev
f2cd6d6a10 8243430: use reproducible random in :vmTestbase_vm_gc
Reviewed-by: kbarrett, lmesnik, tschatzl
2020-06-02 13:04:21 -07:00
Jie Fu
611fda672f 8244497: [TESTBUG] Incompatible types conversion error in vmTestbase/vm/runtime/defmeth/StressTest.java after JDK-8243432
Reviewed-by: dholmes
2020-05-06 13:41:11 +08:00
Igor Ignatyev
2163dec6c4 8243432: use reproducible random in :vmTestbase_vm_defmeth
Reviewed-by: dholmes
2020-05-05 09:54:51 -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
1e1c724c0d 8243428: use reproducible random in :vmTestbase_vm_compiler
Reviewed-by: thartmann
2020-04-30 08:07:36 -07:00
Igor Ignatyev
a0ed53b986 8243427: use reproducible random in :vmTestbase_vm_mlvm
Reviewed-by: thartmann
2020-04-30 08:06:51 -07:00
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
Leonid Mesnik
b247e6d908 8203239: [TESTBUG] remove vmTestbase/vm/gc/kind/parOld test
Reviewed-by: lkorinth, shade
2020-02-28 13:21:01 -08:00
Igor Ignatyev
4d00104f55 8238278: vmTestbase/vm/compiler/CodeCacheInfo/Test.java failure after JDK-8237787
Reviewed-by: kvn
2020-02-11 00:42:25 -08:00
Igor Ignatyev
c484e1cee0 8237787: rewrite vmTestbase/vm/compiler/CodeCacheInfo* from shell to java
Reviewed-by: epavlova, kvn
2020-01-29 19:27:01 -08:00
Rahul Raghavan
228c3144d2 8233453: MLVM deoptimize stress test timed out
Increased timeout factor for MLVM deoptimize stress test

Reviewed-by: iignatyev, thartmann
2019-12-09 14:02:03 +05:30
Ekaterina Pavlova
db24eb1e6a 8233000: Mark vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize test as stress test
Reviewed-by: iveresov, lmesnik
2019-10-25 07:15:09 -07:00
Ekaterina Pavlova
0501511825 8166275: vm/mlvm/meth/stress/compiler/deoptimize keeps timeouting
Reviewed-by: kvn
2019-10-24 11:25:53 -07:00
Harold Seigel
1b0445639f 8222936: mlvm/anonloader/stress/randomBytecodes/Test.java fails due to "ERROR: There were 1 hangups during parsing."
Prevent false failures by blocking the test until either it times out or the loading thread finishes

Reviewed-by: dholmes, coleenp
2019-05-31 13:09:15 -04:00
Harold Seigel
ef40115621 8221685: -XX:BytecodeVerificationRemote and -XX:BytecodeVerificationLocal should be diagnostic options
Make the options diagnostic and add -XX:+UnlockDiagnosticVMOptions to tests where needed.

Reviewed-by: lfoltan, acorn, dholmes
2019-04-24 08:27:00 -04: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
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
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
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
Jesper Wilhelmsson
fd21613d59 Merge 2019-01-25 18:12:06 +01: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
Sergey Ustimenko
cbfc7cb312 8214052: [testbug] vmTestbase/vm/compiler/CodeCacheInfoOnCompilation - wrong shell used
Reviewed-by: jwilhelm
2018-12-08 05:04:19 +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
Vicente Romero
61082e6b25 8213480: update internal ASM version to 7.0
Reviewed-by: dholmes, iignatyev, alanb
2018-11-13 23:33:17 -05: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
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
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
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
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
Igor Ignatyev
8c47dc4a94 8209611: use C++ compiler for hotspot tests
Reviewed-by: vlivanov, ihse, erikj, jcbeyler
2018-08-28 14:37:34 -07: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
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
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
Igor Ignatyev
5c2439b0f6 8208358: update bug ids mentioned in tests
Reviewed-by: kvn
2018-07-26 23:59:46 -07:00
Igor Ignatyev
cb2d33f02c 8206287: fix legal notice in hotspot tests
Reviewed-by: kvn, hseigel
2018-07-09 11:15:55 -07: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
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
Igor Ignatyev
c4ec887262 8202812: [TESTBUG] Open source VM testbase compiler tests
Reviewed-by: kvn, mseledtsov
2018-06-01 15:48:55 -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
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
08855df46a 8199643: [TESTBUG] Open source common VM testbase code
Reviewed-by: vlivanov, erikj, mseledtsov, gthornbr
2018-04-30 18:10:24 -07:00