Commit Graph

153 Commits

Author SHA1 Message Date
Thomas Stuefe
19ab931c71 8225348: serviceability/dcmd/vm/EventsTest.java failed
Reviewed-by: jcbeyler, cjplummer
2019-06-05 21:14:46 +02:00
Thomas Stuefe
dbc3f88d5c 8224600: Provide VM.events command
Reviewed-by: minqi, dholmes, mbaesken, clanger
2019-06-05 07:25:09 +02:00
Rahul Raghavan
c4f8325420 8220449: serviceability/dcmd/compiler/CodelistTest.java failure
Added -XX:-BackgroundCompilation to test to eager initialize JVMCI

Reviewed-by: gadams, thartmann
2019-05-29 07:49:06 +05:30
Yasumasa Suenaga
b77c2ea4e9 8224252: [TESTBUG] hotspot/test/serviceability/sa/sadebugd/SADebugDTest.java is timing out again after fix for JDK-8163805
Reviewed-by: cjplummer, sspitsyn
2019-05-25 20:55:33 +09:00
Martin Doerr
6b2615be6a 8224230: [PPC64, s390] Support AsyncGetCallTrace
Reviewed-by: goetz, jcbeyler, sspitsyn
2019-05-21 11:45:37 +02:00
Robbin Ehn
1645161cad 8223306: Remove threads linked list (use ThreadsList's array in SA)
Reviewed-by: coleenp, dholmes, dcubed
2019-05-21 10:34:57 +02:00
Yasumasa Suenaga
3b8d8d0a89 8163805: hotspot/test/serviceability/sa/sadebugd/SADebugDTest.java failed with timed out
Reviewed-by: cjplummer, jcbeyler
2019-05-18 15:42:21 +09:00
Jean Christophe Beyler
c8319ed0cc 8224020: AsyncGetCallTrace test should not run on PPC64 or IA64
Restrict the test to the right architectures

Reviewed-by: cjplummer, sspitsyn, simonis
2019-05-16 12:48:21 -07:00
Jean Christophe Beyler
4e2ebd3937 8223040: Add a AsyncGetCallTrace test
Add a AsyncGetCallTrace test

Reviewed-by: sspitsyn, dcubed
2019-05-08 15:36:10 -07: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
Daniil Titov
8dfa6d1acc 8221730: jcmd process name matching broken
Reviewed-by: jcbeyler, dholmes, cjplummer
2019-04-08 17:09:02 +00:00
Zhengyu Gu
6881a91868 8220602: Shenandoah-SA: Enable best-effort implementation of heap walk
Reviewed-by: rkennke, cjplummer
2019-03-14 09:53:15 -04:00
Nick Gasson
0eadf53694 8220707: [TESTBUG] serviceability/sa/TestHeapDumpForLargeArray.java fails with jtreg -vmoption:-Xmx < 8g
Reviewed-by: clanger, sballal, jcbeyler
2019-03-29 09:31:44 +00:00
Per Lidén
229d923b27 8221396: Clean up serviceability/sa/TestUniverse.java
Reviewed-by: stefank, jcbeyler
2019-03-27 10:38:49 +01: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
Stefan Karlsson
2370adc703 8220343: Move scavenge_root_nmethods from shared code
Reviewed-by: kvn, eosterlund
2019-03-14 09:15:51 +01:00
Stefan Karlsson
bbbcf986ea 8218978: SA: Enable more ZGC testing
Reviewed-by: eosterlund, ysuenaga
2019-02-19 10:04:53 +01:00
Daniil Titov
76ffbcde98 8205654: serviceability/dcmd/framework/HelpTest.java timed out
Reviewed-by: sspitsyn, dholmes
2019-02-08 09:41:45 -08:00
Yasumasa Suenaga
67dfadfcc2 8217845: SA should refer const values for JVMFlag from HotSpot
Reviewed-by: sspitsyn, jgeorge
2019-02-05 14:24:29 +09:00
Jini George
9c09bb98d4 8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
Refactoring the SA tests which test clhsdb commands to use ClhsdbLauncher for uniformity and ease of maintainence

Reviewed-by: jcbeyler, dholmes
2019-02-05 00:43:38 +05:30
Jini George
55369945b9 8217473: SA: Tests using ClhsdbLauncher fail on SAP docker containers
Skip the test with jtreg.SkippedException if Platform.shouldSAAttach() returns false

Reviewed-by: dholmes, goetz
2019-02-01 11:29:31 +05:30
Yasumasa Suenaga
d6a75a0f86 8217612: (CL)HSDB cannot show some JVM flags
Reviewed-by: dholmes, cjplummer
2019-01-26 10:34:29 +09:00
Jini George
86fcd475b1 8215544: SA: Modify ClhsdbLauncher to add sudo privileges to enable MacOS tests on Mach5
Check if 'sudo' privileges can be added for executing macOS tests, and if so, add these privileges before executing the tests

Reviewed-by: jcbeyler, phh, sballal
2019-01-14 09:30:43 +05:30
Jini George
482a1838b6 8213457: serviceability/sa/ClhsdbInspect.java time out
Increase the timeout needed for ClhsdbInspect.java to 480

Reviewed-by: sspitsyn, cjplummer, lmesnik
2019-01-04 13:41:45 +05:30
Harold Seigel
e159548718 8215398: -Xlog option usage => Invalid decorator '\temp\app_cds.log'
On Windows, do not treat ':' as a delimeter when it's in a string such as "C:..."

Reviewed-by: dholmes, sspitsyn
2019-01-02 10:35:33 -05: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
Jini George
fdf7d4ec11 8200613: SA: jstack throws UnmappedAddressException with a CDS core file
Dump the closed archive heap space into the corefile on Linux by setting bit 2 of the coredump_filter file to dump the file backed private mappings.

Reviewed-by: iklam, cjplummer, kevinw, coleenp
2018-12-12 10:13:11 +05:30
Patricio Chilano Mateo
bb6f1e7700 8215050: [TESTBUG] serviceability/tmtools/jstack/WaitNotifyThreadTest.java fails when run with flag -Xcomp
Identified special case when monitor address is not available in jstack

Reviewed-by: dholmes, hseigel, coleenp
2018-12-10 13:45:12 -05: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
Patricio Chilano Mateo
0a8c4491c2 8214148: [TESTBUG] serviceability/tmtools/jstack/WaitNotifyThreadTest.java is not doing what is expected
Fixed the logic for checking method name and added checks for thread status

Reviewed-by: dholmes, coleenp
2018-12-07 13:59:19 -05: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
Jini George
ea532aa075 8213323: sa/TestJmapCoreMetaspace.java and sa/TestJmapCore.java fail with ZGC
Avoid creating the hprof file and throw an exception in HeapHprofBinWriter for ZGC and handle this in the TestJmap* testcases

Reviewed-by: gadams, jcbeyler, cjplummer
2018-12-04 11:10:19 +05:30
Per Lidén
6c7781572c 8214484: ZGC: Exclude SA tests ClhsdbJhisto and TestHeapDumpFor*
Reviewed-by: shade, tschatzl
2018-12-03 14:52:49 +01: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
Sharath Ballal
1570028352 8207745: serviceability/sa/TestJmapCore.java times out parsing a 4GB hprof file
Reviewed-by: dholmes, jgeorge
2018-09-28 14:31:58 +05:30
Igor Ignatyev
2702b5c299 8182404: remove jdk.testlibrary.JDKToolFinder and JDKToolLauncher
Reviewed-by: amenkov, jcbeyler, alanb
2018-09-10 14:23:37 -07:00