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
Stefan Karlsson
35af52dd4f
8244010: Simplify usages of ProcessTools.createJavaProcessBuilder in our tests
...
Reviewed-by: lmesnik, iignatyev, coleenp, dholmes
2020-04-29 08:52:18 +02:00
David Holmes
a8ffbb350d
8243989: test/hotspot/jtreg/serviceability/jvmti/CanGenerateAllClassHook/CanGenerateAllClassHook.java needs to use othervm
...
Reviewed-by: mdoerr
2020-04-28 05:53:19 -04:00
Igor Ignatyev
1041efe027
8243946: serviceability/sa and jvmti tests fail after JDK-8243928
...
Reviewed-by: dholmes, mikael, sspitsyn
2020-04-27 22:24:54 -07:00
Serguei Spitsyn
ae9d5636f1
8243941: build issue introduced with the push of 8242237
...
Use right type to declare function argument
Reviewed-by: iignatyev
2020-04-28 04:46:08 +00:00
Igor Ignatyev
3a9f7648d2
8243928: several svc tests can be run in driver mode
...
Reviewed-by: amenkov
2020-04-27 20:06:22 -07:00
Serguei Spitsyn
223ca800cc
8242237: Improve JVM TI HiddenClasses tests
...
Improve JVM TI HiddenClasses test: cleanup + more comments
Reviewed-by: lmesnik, amenkov
2020-04-28 02:37:15 +00:00
Mandy Chung
7cc1371059
8238358: Implementation of JEP 371: Hidden Classes
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Coleen Phillimore
d77c52b255
8172485: [TESTBUG] RedefineLeak.java runs out of metaspace memory
...
Check for zero exit value.
Reviewed-by: lfoltan
2020-03-26 10:29:31 -04:00
Goetz Lindenmaier
d6a2a079d1
8236772: Fix build for windows 32-bit after 8212160 and 8234331
...
Reviewed-by: clanger
2020-01-08 14:22:30 +01:00
Coleen Phillimore
eb6beeac94
8235829: graal crashes with Zombie.java test
...
Start ServiceThread before compiler threads, and run nmethod barriers for zgc before adding to the service thread queues, or posting events from the java thread.
Reviewed-by: pliden, dholmes, rehn
2019-12-18 11:51:22 -05:00
Coleen Phillimore
8846a8043d
8212160: JVMTI agent crashes with "assert(_value != 0LL) failed: resolving NULL _value"
...
Add local deferred event list to thread to post events outside CodeCache_lock.
Reviewed-by: eosterlund, dholmes, sspitsyn
2019-12-05 16:57:17 -05: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
Brent Christian
3561b4ed50
8233091: Backout JDK-8212117: Class.forName loads a class but not linked if class is not initialized
...
Reviewed-by: alanb, dholmes, mchung
2019-11-04 11:42:24 -08: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
Serguei Spitsyn
4091899994
8231595: [TEST] develop a test case for SuspendThreadList including current thread
...
Extend test coverage for SuspendThreadList
Reviewed-by: amenkov, cjplummer, dholmes
2019-10-10 01:10:26 +00:00
Per Lidén
c4650cc71f
8232056: GetOwnedMonitorInfoWithEATest.java fails with ZGC: Heap too small
...
Reviewed-by: dholmes, rrich
2019-10-09 20:12:46 +02:00
Richard Reingruber
a683592254
8230677: Should disable Escape Analysis if JVMTI capability can_get_owned_monitor_info was taken
...
Reviewed-by: sspitsyn, dholmes, kvn
2019-10-08 15:30:39 +02:00
Coleen Phillimore
638910826a
8229900: RedefineDeleteJmethod.java fails with -Xcheck:jni
...
Remove RedefineClasses adjustment and test, but improve checking for method/class matching.
Reviewed-by: dholmes, sspitsyn
2019-10-07 10:04:01 -04:00
Brent Christian
a4613d4a8f
8212117: Class.forName may return a reference to a loaded but not linked Class
...
Reviewed-by: dholmes, mchung
2019-09-09 11:04:04 -07:00
Harold Seigel
3d6ba9735f
8228596: Class redefinition fails when condy instructions are removed
...
Make sure has_dynamic_constant flag value gets copied to merged constant pool, when it is set to TRUE
Reviewed-by: coleenp, dcubed, sspitsyn
2019-07-29 09:57:37 -04:00
Jean Christophe Beyler
608a45ce68
8223441: HeapMonitorStatArrayCorrectnessTest fails due to sampling determinism
...
Added an error loop to help with convergence
Reviewed-by: cjplummer, sspitsyn
2019-05-08 20:28:56 -07:00
Jean Christophe Beyler
4b6adaa5f1
8215113: Sampling interval not always correct
...
Fix the sampling interval
Reviewed-by: phh, sspitsyn
2019-04-30 15:39:42 -07:00
Serguei Spitsyn
e3aa6f7907
8222934: mark new VM option AllowRedefinitionToAddOrDeleteMethods as deprecated
...
Mark new option depricated
Reviewed-by: dcubed, coleenp, dholmes
2019-04-30 01:56:28 -07:00
Coleen Phillimore
6ebf2ce655
8192936: RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition
...
Introduce new flag fo compatibility: -XX:AllowRedefinitionToAddOrDeleteMethods
Reviewed-by: jcbeyler, sspitsyn
2019-04-19 21:49:54 -07:00
Serguei Spitsyn
ff03f5c84e
8222072: JVMTI GenerateEvents() sends CompiledMethodLoad events to wrong jvmtiEnv
...
Fix GenerateEvents() to send CompiledMethodLoad events to requesting agent only
Reviewed-by: jcbeyler, amenkov
2019-04-10 17:29:03 -07:00
Coleen Phillimore
54f31c6089
8218399: runtime/RedefineObject/TestRedefineObject.java timeout
...
Exclude this test for graal
Reviewed-by: hseigel, lfoltan
2019-03-22 16:16:10 -04:00
Coleen Phillimore
3ed98222a7
8220744: Move RedefineTests to from runtime to serviceability
...
Move tests out of runtime to jvmti/RedefineClasses
Reviewed-by: sspitsyn, dcubed, cjplummer, hseigel, mseledtsov
2019-03-19 14:22:47 -04:00
Jean Christophe Beyler
818df25a3b
8220628: Move the HeapMonitor library to C++
...
Migrate libHeapMonitorTest.c to libHeapMonitorTest.cpp
Reviewed-by: cjplummer, sspitsyn
2019-03-14 09:35:45 -07:00
Jesper Wilhelmsson
f4f859b446
Merge
2018-12-19 20:53:30 +01:00
Per Lidén
6a9c6a0392
8215451: JNI IsSameObject should not keep objects alive
...
Reviewed-by: eosterlund, kbarrett
2018-12-17 16:55:17 +01:00
Jean Christophe Beyler
f3657753d6
8201655: Add thread-enabled support for the Heap Sampling
...
Added thread-enabled support
Reviewed-by: amenkov, sspitsyn
2018-12-14 13:13:06 -08:00
Jean Christophe Beyler
a9d7e075e5
8215329: Modify ZGC requirement for HeapMonitorThreadTest.java
...
Modify the requirement to be tested
Reviewed-by: amenkov, pliden, sspitsyn
2018-12-14 10:51:09 -08:00
Jean Christophe Beyler
748821972a
8214531: HeapMonitorEventOnOffTest.java test fails with "Statistics should be null to begin with"
...
Remove the enable sampling and let the underlying method call it
Reviewed-by: sspitsyn, phh
2018-12-06 14:18:39 -08:00
Jean Christophe Beyler
42563fdad8
8214408: Migrate EventsOnOff to using the same allocateAndCheck method
...
Move code to the more stable version used by other tests
Reviewed-by: sspitsyn, amenkov
2018-11-28 11:09:27 -08:00
Simon Tooke
fe3811d46a
8214105: [TESTBUG] Bit test is always false in serviceability/jvmti/StartPhase/AllowedFunctions
...
Reviewed-by: dcubed, dholmes, jcbeyler, gadams, sspitsyn
2018-11-22 10:11:58 +01:00
Jean Christophe Beyler
3e936d3cd9
8212931: HeapMonitorStatIntervalTest.java fails due average calculation
...
Added a method to get the actual size
Reviewed-by: amenkov, sspitsyn
2018-11-16 19:27:21 -08:00
Serguei Spitsyn
a8a34764b2
8213814: build error in jtreg test jvmti/GetLocalVariable
...
Fix the build error by restoring the macro definitions for missed functions
Reviewed-by: dcubed
2018-11-13 13:42:39 -08:00
Serguei Spitsyn
f285fe93ee
8213525: new unit test GetLocalVariable/LocalVars is not stable
...
Comment out unstable checks in the test
Reviewed-by: jcbeyler, cjplummer
2018-11-13 12:11:34 -08: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
Jean Christophe Beyler
14e4479ca7
8208352: Merge HeapMonitorTest and HeapMonitorGCTest code
...
Merged the code that enables sampling and allocates
Reviewed-by: cjplummer, sspitsyn, amenkov
2018-09-05 11:12:15 -07:00
Jean Christophe Beyler
b9b522a7ad
8203356: VM Object Allocation Collector can infinite recurse
...
VM Event callback do not provoke a VM alloc event
Reviewed-by: sspitsyn, phh, amenkov, cjplummer
2018-08-30 09:47:12 -07:00
Jean Christophe Beyler
3de7598a3f
8210035: Fix copyrights for files created for the HeapMonitor work
...
Added the Oracle copyright to newly created files
Reviewed-by: sspitsyn, cjplummer
2018-08-28 21:25:37 -07:00
Jean Christophe Beyler
626a614146
8208303: Track JNI failures and fail tests
...
Fail in native code via FatalException to signal test failure
Reviewed-by: amenkov, sspitsyn
2018-08-08 15:34:32 -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
a98f40467a
8208251: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorGCCMSTest.java fails intermittently on Linux-X64
...
Lower the interval rate and check GC objects too
Reviewed-by: dcubed, sspitsyn
2018-07-26 11:53:59 -07:00
Jean Christophe Beyler
5b9175eae8
8208251: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorGCCMSTest.java fails intermittently on Linux-X64
...
Lower the interval rate and check GC objects too
Reviewed-by: dcubed, sspitsyn
2018-07-26 11:53:59 -07:00
Ekaterina Pavlova
5bafe6f9a0
8195156: [Graal] serviceability/jvmti/GetModulesInfo/JvmtiGetAllModulesTest.java fails with Graal in Xcomp mode
...
Reviewed-by: kvn, sspitsyn
2018-07-26 10:23:33 -07:00
Jean Christophe Beyler
12bf1a20d0
8207765: HeapMonitorTest.java intermittent failure
...
Lower the interval rate and check GC objects too
Reviewed-by: dcubed, sspitsyn
2018-07-25 10:51:16 -07:00