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
Jean Christophe Beyler
7339cf8f54
8247615: Initialize the bytes left for the heap sampler
...
Initialize the heap sampler correctly before usage
Reviewed-by: sspitsyn, martin, manc
2020-07-16 16:58:55 -07:00
Yasumasa Suenaga
faf4d7ccb7
8242428: JVMTI thread operations should use Thread-Local Handshake
...
Reviewed-by: dcubed, sspitsyn, dholmes
2020-07-11 23:28:02 +09:00
Igor Ignatyev
dc91b06661
8244614: cleanup keywords used/available in hotspot testbase
...
Reviewed-by: coleenp, mseledtsov
2020-06-08 21:27:22 -07:00
Serguei Spitsyn
8e01f3ad02
8244571: assert(!_thread->is_pending_jni_exception_check()) failed: Pending JNI Exception Check during class loading
...
Fix the -Xcheck:jni asserts
Reviewed-by: dholmes, cjplummer
2020-05-23 10:39:07 +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
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
Jean Christophe Beyler
37bbbcff6d
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
Jean Christophe Beyler
4823354a6a
8207765: HeapMonitorStatIntervalTest.java fails with ZGC
...
Add a calculation of array sizes before test to satisfy ZGC support
Reviewed-by: amenkov, sspitsyn
2018-07-19 18:21:24 -07:00
Jean Christophe Beyler
a6ff367b24
8207765: HeapMonitorStatIntervalTest.java fails with ZGC
...
Add a calculation of array sizes before test to satisfy ZGC support
Reviewed-by: amenkov, sspitsyn
2018-07-19 18:21:24 -07:00
Jean Christophe Beyler
8818f46285
8207763: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatRateTest.java failed with Error. Parse Exception: Can't find source file: HeapMonitorStatIntervalTest.java
...
Rename the test.
Reviewed-by: amenkov, sspitsyn
2018-07-18 11:57:51 -04:00
Jean Christophe Beyler
3380b0d0ef
8205725: Update the JVMTI Spec for Heap Sampling
...
Update the JVMTI Spec for Heap Sampling
Reviewed-by: amenkov, sspitsyn
2018-07-17 19:59:38 -07:00
Jean Christophe Beyler
4e92c2dfdc
8205652: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatRateTest.java fails
...
Fix the StatRateTest test from the HeapMonitor package
Reviewed-by: amenkov, sspitsyn
2018-07-17 17:52:03 -07:00
Jean Christophe Beyler
6f9cb3f9ca
8205541: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatArrayCorrectnessTest.java fails with Should not have any events stored yet
...
Fix StatArray and StatObject tests from the HeapMonitor package
Reviewed-by: amenkov, sspitsyn
2018-07-17 15:09:27 -07:00
Jean Christophe Beyler
1292187b28
8206960: HeapMonitor tests fail with Graal
...
Remove checking lines and disable VMEventsTest when using Graal
Reviewed-by: amenkov, sspitsyn
2018-07-12 12:00:52 -07:00
Jean Christophe Beyler
0922828415
8205643: HeapMonitorGCCMSTest fails with Graal
...
Do not run HeapMonitorGCCMSTest with Graal
Reviewed-by: amenkov, sspitsyn
2018-07-10 15:29:25 -07:00
Goetz Lindenmaier
123fee1d38
8205605: [testbug][aix] Various test adaption to aix pecularities
...
Reviewed-by: lfoltan, coleenp
2018-06-25 13:37:01 +02:00
Martin Doerr
ea76c6d316
8205172: 32 bit build broken
...
Reviewed-by: roland, kvn, dholmes
2018-06-19 16:29:48 +02:00
Jean Christophe Beyler
89453e7c64
8205096: Add missing files for 8203394
...
Add files missed in the push for Low-Overhead Heap Profiling
Reviewed-by: dholmes, tschatzl, rehn, simonis, ehelin
2018-06-15 02:31:37 -07:00
Chris Plummer
660dbcc16f
8203329: JDWP/JDI VM information string is incorrect
...
Make sure the native java.vm.info property also gets updated when the java version is.
Reviewed-by: sspitsyn, dholmes
2018-06-07 19:01:18 -07:00
Alex Menkov
dbb9eb5b9c
8187289: NotifyFramePop request is not cleared if JVMTI_EVENT_FRAME_POP is disabled
...
Reviewed-by: sspitsyn, cjplummer
2018-06-04 10:25:44 -07:00
Alex Menkov
f8f1f3daba
8200195: serviceability/jvmti/FieldAccessWatch/FieldAccessWatch.java crashes with "assert(thread->thread_state() == _thread_in_native) failed: coming from wrong thread state"
...
Reviewed-by: sspitsyn, cjplummer
2018-04-10 15:33:11 -07:00
Alex Menkov
a1ef16545e
8198393: Instrumentation.retransformClasses() throws NullPointerException when handling a zero-length array
...
Reviewed-by: sspitsyn, cjplummer
2018-03-28 12:10:24 -07:00
Alex Menkov
07db7c6fd9
8193369: post_field_access does not work for some functions, possibly related to fast_getfield
...
Reviewed-by: sspitsyn, cjplummer
2018-03-12 14:11:54 -07:00
Alex Menkov
d26069837f
8196977: add test for JDK-8161605
...
Reviewed-by: sspitsyn, mseledtsov
2018-02-07 12:55:47 -08:00
Igor Ignatyev
71a40bce38
8186635: ClassFileInstaller should be run as a driver
...
Reviewed-by: dholmes
2018-01-17 21:44:44 -08:00
Daniil Titov
20dfdc0720
8153629: Need to cover JVMTI's GetOwnedMonitorStackDepthInfo function
...
Reviewed-by: sspitsyn, cjplummer
2018-01-17 16:49:43 -08:00
Chris Plummer
200e63f32c
8191229: serviceability/jvmti/GetOwnedMonitorInfo/GetOwnedMonitorInfoTest.java fails with NoClassDefFoundError
...
Call FindClass() when we are in the proper classloader context
Reviewed-by: sspitsyn, dholmes, amenkov
2017-12-09 07:50:50 -08:00
Serguei Spitsyn
41d19c4a10
8173936: [TESTBUG] test/serviceability/jvmti/ModuleAwareAgents/ClassFileLoadHook/MAAClassFileLoadHook.java needs to be re-examined
...
Expect CFLH events only if can_generate_early_vmstart capability is enabled
Reviewed-by: dholmes, gtriantafill
2017-10-17 14:37:01 -07:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00