Commit Graph

225 Commits

Author SHA1 Message Date
Chris Plummer
db2d4e8f5a 8248194: Need better support for running SA tests on core files
Reviewed-by: amenkov, lmesnik
2020-07-07 13:07:53 -07:00
Igor Ignatyev
dc91b06661 8244614: cleanup keywords used/available in hotspot testbase
Reviewed-by: coleenp, mseledtsov
2020-06-08 21:27:22 -07:00
Daniil Titov
7045a46250 8244993: Revert changes to OutputAnalyzer stderrShouldBeEmptyIgnoreVMWarnings() that allow version strings
Reviewed-by: dholmes, cjplummer
2020-05-28 15:58:59 -07:00
Chris Plummer
9dc6f10755 8244203: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java fails with NullPointerException
Reviewed-by: sspitsyn, dtitov
2020-05-22 13:29:26 -07:00
Daniil Titov
a726aca6de 8242009: Review setting test.java/vm.opts in jcmd/jhsdb and debugger in serviceability tests
Reviewed-by: cjplummer
2020-05-12 09:45:24 -07:00
Yumin Qi
0c0d485c37 8237750: Load libzip.so only if necessary
Libzip.so is unconditionally loaded even without usage. Fix by on demand loading.

Reviewed-by: dlong, iklam, ccheung
2020-05-05 15:40:18 -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
Chris Plummer
e513acab16 8214797: TestJmapCoreMetaspace.java timed out
Reviewed-by: dcubed
2020-04-29 21:03:15 -07: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
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
Chris Plummer
6911667eb7 8243500: SA: Incorrect BCI and Line Number with jstack if the top frame is in the interpreter (BSD and Windows)
Reviewed-by: amenkov, sspitsyn
2020-04-28 13:38:45 -07: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
Igor Ignatyev
3a9f7648d2 8243928: several svc tests can be run in driver mode
Reviewed-by: amenkov
2020-04-27 20:06:22 -07:00
Coleen Phillimore
90ada6a314 8238048: Close alignment gaps in InstanceKlass
Moved fields around and some constant fields into ConstantPool

Reviewed-by: cjplummer, dlong, iklam
2020-04-23 16:29:22 -04:00
Chris Plummer
d80f55e7e9 8243206: Cleanup error checking and handling in serviceability/sa/JhsdbThreadInfoTest.ja
Reviewed-by: amenkov, sspitsyn
2020-04-21 16:11:25 -07:00
Chris Plummer
4a09f31eff 8237250: pmap and pstack should do a better of making it clear that they are not supported on Mac OS X
Reviewed-by: amenkov, sspitsyn
2020-04-13 16:30:11 -07:00
Igor Ignatyev
116fe806c3 8242313: use reproducible random in hotspot svc tests
Reviewed-by: cjplummer
2020-04-13 12:31:34 -07:00
Chris Plummer
e0a75ed00d 8242162: convert clhsdb "sysprops" command from javascript to java
Reviewed-by: sspitsyn, ysuenaga
2020-04-09 07:13:49 -07:00
Chris Plummer
d1091364aa 8240990: convert clhsdb "dumpclass" command from javascript to java
Reviewed-by: sspitsyn, ysuenaga
2020-04-08 21:01:01 -07:00
Chris Plummer
82dfec76c6 8242384: sa/TestSysProps.java failed due to "RuntimeException: Could not find property in jinfo output: [0.058s][info][cds] Archive was created with UseCompressedOops"
Reviewed-by: dcubed
2020-04-08 14:11:06 -07:00
Chris Plummer
64957a1770 8242265: serviceability/sa/ClhsdbScanOops.java fails due to bad @requires expression
Reviewed-by: sspitsyn, lmesnik
2020-04-08 12:03:02 -07:00
Chris Plummer
ccd2a16c58 8242165: SA sysprops support fails to dump all system properties
Reviewed-by: sspitsyn, ysuenaga
2020-04-07 18:32:55 -07:00
Chris Plummer
9fb91b4e9c 8242142: convert clhsdb "class" and "classes" commands from javascript to java
Reviewed-by: sspitsyn, amenkov
2020-04-07 16:31:46 -07:00
Chris Plummer
cceee2c638 8242168: ClhsdbFindPC.java failed due to "RuntimeException: 'In code in NMethod for LingeredAppWithTrivialMain.main' missing from stdout/stderr"
Reviewed-by: lmesnik, iignatyev
2020-04-07 09:36:13 -07:00
Chris Plummer
965404dd98 8240989: convert clhsdb "dumpheap" command from javascript to java
Reviewed-by: amenkov, ysuenaga
2020-04-03 12:58:15 -07:00
Leonid Mesnik
13af7bb9ad 8240698: LingeredApp does not pass getTestJavaOpts() to the children process if vmArguments is already specified
Reviewed-by: iignatyev, iklam, cjplummer
2020-04-01 16:27:03 -07:00
Daniil Titov
54e2c6fe3e 8196751: Add jhsdb option to specify debug server RMI connector port
Reviewed-by: sspitsyn, ysuenaga
2020-03-26 09:03:52 -07:00
Chris Plummer
a147636157 8238268: Many SA tests are not running on OSX because they do not attempt to use sudo when available
Reviewed-by: sspitsyn, iignatyev
2020-03-17 18:04:59 -07:00
Yumin Qi
0e3529ad10 8240691: ClhsdbCDSJstackPrintAll incorrectly thinks CDS is in use
Fix by checking "UseSharedSpaces = false" for CDS enabled.

Reviewed-by: iklam
2020-03-10 11:52:53 -07:00
Chris Plummer
511501048c 8193237: SA: ClhsdbLauncher should show the command being executed
Reviewed-by: sspitsyn, amenkov
2020-02-27 13:57:33 -08:00
Chris Plummer
110ef6f2c3 8238196: tests that use SA Attach should not be allowed to run against signed binaries on Mac OS X 10.14.5 and later
Reviewed-by: sspitsyn, iignatyev
2020-02-14 10:28:32 -08:00
Coleen Phillimore
5b1f960752 8237501: TestInstanceKlassSizeForInstance runs TestInstanceKlassSize instead
Reviewed-by: dcubed
2020-01-24 10:22:57 -05:00
Stefan Karlsson
c8e7590899 8237111: LingeredApp should be started with getTestJavaOpts
Reviewed-by: cjplummer, dholmes
2020-01-24 10:31:45 +01:00
Claes Redestad
c639682887 8236075: Minor bootstrap improvements
Reviewed-by: mchung, alanb
2020-01-21 13:28:15 +01:00
Coleen Phillimore
c0dce25756 8236917: TestInstanceKlassSize.java fails with "The size computed by SA for java.lang.Object does not match"
Use getTestJavaOpts() instead of getVmOptions() because of mach5 configuration settings.

Reviewed-by: lmesnik, cjplummer, dholmes
2020-01-15 08:11:03 -05:00
Coleen Phillimore
016b0f0caa 8232759: Remove GC.class_stats
Make the GC.class_stats option obsolete

Reviewed-by: dholmes, iklam
2020-01-09 17:38:41 -05:00
Chris Plummer
5cb06ce2fb 8234277: ClhsdbLauncher should enable verbose exceptions and do a better job of detecting SA failures
Reviewed-by: sspitsyn, ysuenaga
2019-12-18 11:49:30 -08:00
Christoph Langer
3c8ec642ff 8235403: Further cleanup to test serviceability/sa/ClhsdbCDSCore.java
Reviewed-by: iklam, iignatyev
2019-12-09 15:01:57 +01:00
Matthias Baesken
02f2c5ff95 8234625: hs test serviceability/sa/ClhsdbCDSCore.java fails on macOS 10.15
Reviewed-by: clanger, iignatyev
2019-11-28 09:23:09 +01: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
Severin Gehwolf
c4f5c4fe9b 8196969: JTreg Failure: serviceability/sa/ClhsdbJstack.java causes NPE
Account for serialized null scopes in NMethod

Reviewed-by: aph, never
2019-09-23 20:26:18 +02:00
Aleksey Shipilev
f412bfc34e 8231931: [TESTBUG] serviceability/sa/TestUniverse.java looks for wrong string with Shenandoah
Reviewed-by: rkennke
2019-10-08 15:08:59 +02:00
Claes Redestad
fba19ffbb2 8230043: Lazily load libverify
8230140: Remove unused mutex and monitor declarations

Reviewed-by: hseigel, erikj, alanb, dholmes
2019-10-07 16:55:24 +02:00
Fairoz Matte
80d6ffee5f 8216352: SA: ClhsdbLauncher should throw errors on Unrecognized commands
Reviewed-by: cjplummer, sspitsyn
2019-10-04 07:54:57 +01:00
Leonid Mesnik
3e3d90d6a1 8230942: Support compressed cores in SA tests
Reviewed-by: dholmes, sspitsyn
2019-09-27 10:48:23 -07:00
Leonid Mesnik
9597fcd85f 8230881: serviceability/sa/TestJmapCore tests fail with java.lang.RuntimeException: Could not find dump file
Reviewed-by: dholmes, cjplummer
2019-09-13 09:34:13 -07:00
Daniel D. Daugherty
be0cd9908a 8230317: serviceability/sa/ClhsdbPrintStatics.java fails after 8230184
Reviewed-by: eosterlund
2019-08-28 12:53:37 -04:00
Stefan Karlsson
a3d6be2b2d 8229838: Rename markOop files to markWord
Reviewed-by: dholmes, rehn
2019-08-19 11:30:03 +02:00
Stefan Karlsson
ae5615c614 8229258: Rework markOop and markOopDesc into a simpler mark word value carrier
Reviewed-by: rkennke, coleenp, kbarrett, dcubed
2019-08-06 10:48:21 +02:00
Nick Gasson
6af89d6412 8229118: [TESTBUG] serviceability/sa/ClhsdbFindPC fails on AArch64
Reviewed-by: cjplummer, adinn
2019-08-15 14:00:36 +08:00
Chris Plummer
29875f63ef 8227645: Some tests in serviceability/sa run with fixed -Xmx values and risk running out of memory
Move tests to seprate directory

Reviewed-by: dtitov, jcbeyler, ctornqvi, sspitsyn
2019-08-09 11:27:08 -07:00
Yasumasa Suenaga
81a59941af 8227594: sadebugd/DebugdConnectTest.java fails due to "java.rmi.NotBoundException: SARemoteDebugger"
Reviewed-by: cjplummer, sspitsyn
2019-07-13 20:55:25 +09:00
Yasumasa Suenaga
cf39d96d3a 8209790: SA tools not providing option to connect to debug server
Reviewed-by: sspitsyn, cjplummer
2019-07-11 08:19:56 +09:00
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
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
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
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
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
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
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
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
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
Mikael Vidstedt
f5e624c0b3 8209856: Obsolete error reporter
Reviewed-by: coleenp, stuefe
2018-08-29 13:04:50 -07:00
Coleen Phillimore
3559b6be76 8209958: Clean up duplicate basic array type statics in Universe
Reviewed-by: lfoltan, zgu
2018-08-28 18:17:01 -04:00
Jini George
b4530e2447 8204308: SA: serviceability/sa/TestInstanceKlassSize*.java fails when running in CDS mode
Use longs instead of ints while computing the identity hash of klass symbols

Reviewed-by: coleenp, lfoltan
2018-08-27 10:25:13 +05:30
Severin Gehwolf
1ab91ea928 8208091: SA: jhsdb jstack --mixed throws UnmappedAddressException on i686
Be sure to use the same register index in native and Java code.

Reviewed-by: sballal, cjplummer, tbell
2018-07-23 18:08:46 +02:00
Lois Foltan
75ed173e15 8209301: JVM rename is_anonymous, host_klass to unsafe specific terminology ahead of Unsafe.defineAnonymousClass deprecation
Clean up VM anonymous class terminology.

Reviewed-by: coleenp, dholmes, mchung
2018-08-20 08:25:57 -04:00
Ioi Lam
bd57506f87 8207832: serviceability/sa/ClhsdbCDSCore.java failed with "Couldn't find core file location"
Handle %p in /proc/sys/kernel/core_pattern

Reviewed-by: dholmes, hseigel
2018-08-15 19:22:46 -07:00
Xin Liu
e5f3e1b60c 8207965: C2-only debug build fails
Reviewed-by: kvn, iignatyev
2018-08-08 18:38:34 -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
Coleen Phillimore
3e4eba7668 8206309: Tier1 SA tests fail
Remove tests that should have been removed with JDK-8205534

Reviewed-by: hseigel
2018-07-03 15:40:08 -04:00
Coleen Phillimore
c0ebf80159 8205534: Remove SymbolTable dependency from serviceability agent
Reviewed-by: gziemski, poonam, jgeorge, hseigel
2018-07-03 13:41:18 -04:00
Goetz Lindenmaier
991f2f8c0b 8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
Reviewed-by: jgeorge, cjplummer
2018-06-25 23:04:21 +02: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
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
Aleksey Shipilev
a1518ac9b2 8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
Introduce Epsilon GC

Reviewed-by: rkennke, ihse, pliden, eosterlund, lmesnik, jgeorge, stefank
2018-06-12 15:03:00 +02:00
Vladimir Kozlov
42e75b8c79 8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
Reviewed-by: iignatyev, kbarrett
2018-06-07 17:38:34 -07:00
Stefan Karlsson
a56e3ff761 8204162: TestG1HeapRegion needs @requires vm.gc.G1
Reviewed-by: eosterlund
2018-06-05 15:56:09 +02:00
Jini George
747f934ca7 8195613: [SA] HotSpotTypeDataBase.readVMLongConstants truncates values to int
Avoid truncation to int while reading in long constants from vmStructs. Modify ClhsdbLongConstant.java for truncation testing.

Reviewed-by: dholmes, sspitsyn, cjplummer
2018-05-15 02:47:40 +05:30
Jini George
b812ae6e51 8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
Make SA aware of the new _nofast* (rewritten during CDS dump time) bytecodes.

Reviewed-by: iklam, cjplummer
2018-05-12 17:22:56 +05:30
Claes Redestad
af4695d7e4 8202417: [TESTBUG] Broken hard-coded dependency in serviceability/sa/ClhsdbJhisto.java
Reviewed-by: alanb
2018-04-30 11:48:03 +02:00
Jini George
ccc74fdd60 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
Read in the md region of the CDS archive in SA and map the vtable addresses to the corresponding metadata type.

Reviewed-by: iklam, coleenp, ysuenaga, dholmes
2018-04-26 12:25:36 +05:30
Per Lidén
24273f04a4 8199925: Break out GC selection logic from GCArguments to GCConfig
Reviewed-by: eosterlund, rkennke
2018-03-28 11:38:47 +02:00
Per Lidén
3b7962d614 8199918: Shorten names of CollectedHeap::Name members
Reviewed-by: shade, eosterlund
2018-03-28 11:38:47 +02:00
Chris Plummer
e1afb3bc99 8198655: test/lib/jdk/test/lib/apps/LingeredApp shouldn't inherit cout/cerr
No longer force stderr to console. Copy app's output to Sytem.err.

Reviewed-by: sspitsyn, dholmes, iignatyev, clanger
2018-03-24 13:39:07 -07:00
Jini George
9d036d6dd2 8175312: SA: clhsdb: Provide an improved heap summary for 'universe' for G1GC
Provide an improved heap summary for G1GC with parameters like 'capacity', 'used', 'free', etc with the 'universe' command, and introduce a new command 'g1regiondetails' to display the individual region details.

Reviewed-by: sjohanss, minqi
2018-03-20 11:24:32 +05:30
Sharath Ballal
a76221f5a7 8196930: [Testbug] serviceability/sa/ClhsdbFindPC.java fails to find expected output
Reviewed-by: dholmes, cjplummer
2018-02-16 10:10:14 +05:30
Jini George
41a54f3f49 8175384: SA: clhsdb 'printall' throws ClassCastException while printing out the bytecodes
While resolving the method invoked by invokevirtual, use java.lang.Object for arrays

Reviewed-by: dholmes, sspitsyn
2018-02-09 12:09:21 +05:30
Daniel Stewart
6f98c021d1 8196521: [Testbug] serviceability/sa/ClhsdbWhere.java fails to find method 'waitForReferencePendingList' in output
Reviewed-by: dholmes, sballal
2018-02-06 14:11:47 +05:30
Daniel Stewart
753e4ed499 8196361: JTReg failure: serviceability/sa/ClhsdbInspect.java
Modified test search strings to those guaranteed to exist in the passing cases.

Reviewed-by: dholmes, jgeorge
2018-02-06 11:43:13 +05:30
Yasumasa Suenaga
9ab8cd5bc2 8194249: SA: G1HeapRegionTable#getByAddress() returns incorrect HeapRegion
Fix conversion of addresses to HeapRegions.

Reviewed-by: jgeorge, tschatzl
2018-01-31 11:35:42 +01:00
Jesper Wilhelmsson
fc1b01b9a2 Merge 2018-01-13 02:56:22 +01:00
Jini George
906712e7c8 8193352: SA: Test for the clhsdb 'thread' and 'threads' commands
Test for the clhsdb 'thread' and 'threads' commands. Avoids an incorrect 'Couldn't find thread -a' being printed.

Reviewed-by: sspitsyn, sballal
2018-01-11 11:35:35 +05:30
Sharath Ballal
a46889d181 8194058: [TESTBUG] serviceability/sa/ClhsdbWhere.java fails to find method 'sleep' in output
Reviewed-by: dholmes, cjplummer
2018-01-03 11:14:04 +05:30
Sharath Ballal
375a443353 8193506: serviceability/sa/TestClassDump.java fails in OpenJDK build
Reviewed-by: dholmes, cjplummer
2018-01-03 10:55:35 +05:30
Sharath Ballal
68aad8b5c7 8193428: serviceability/sa/ClhsdbSymbol.java fails: java.lang.RuntimeException: 'UsageTracker' missing from stdout/stderr
Reviewed-by: dholmes, sspitsyn
2017-12-27 11:26:36 +05:30
Sharath Ballal
26cd5666fc 8193427: serviceability/sa/ClhsdbPrintStatics.java fails: java.lang.RuntimeException: '_jfr_checkpoints' missing from stdout/stderr
Reviewed-by: dholmes, sspitsyn
2017-12-26 15:53:13 +05:30
Sharath Ballal
8ae759dd32 8194067: [Testbug] serviceability/sa/Jhsdb* tests can't tolerate unrelated warnings
Reviewed-by: dholmes, sspitsyn
2018-01-09 15:21:19 +05:30
Jini George
64a1914e1c 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
Create tests for the clhsdb commands: inspect, scanoops and printas

Reviewed-by: sspitsyn, sballal, cjplummer
2017-12-14 12:49:47 +05:30
Sharath Ballal
3f561e29a9 8193124: SA: Testcases for clhsdb jdis and findpc commands
Reviewed-by: sundar, cjplummer, jgeorge
2017-12-08 15:41:11 +05:30
Yasumasa Suenaga
b6252a4d4d 8192897: NPE occurs on clhsdb jstack
Reviewed-by: dholmes, sspitsyn, jgeorge, sballal
2017-12-04 10:23:08 +09:00
Sharath Ballal
c04d1331fc 8192823: SA: Testcase for 'clhsdb source' command
Reviewed-by: sspitsyn, jgeorge
2017-12-02 11:25:35 +05:30
Jini George
4969284dc6 8191538: SA: tests for clhsdb commands: vmstructsdump, field, symboltable and symbol
Create tests for the clhsdb commands: vmstructsdump, field, symboltable and symbol

Reviewed-by: sspitsyn, sballal
2017-12-01 18:19:39 +05:30
Jini George
9a3de631aa 8191914: New SA test timeout on windows
Avoid test hangs in a few SA tests by ensuring that OutputAnalyzer gets created before waitFor() gets called

Reviewed-by: dholmes, sballal
2017-12-01 11:40:39 +05:30
Sharath Ballal
0ac9a94c4d 8191658: SA: Testcases for attach, detach, reattach and Jhisto commands
Reviewed-by: sspitsyn, jgeorge
2017-11-30 19:46:20 +05:30
Sharath Ballal
f684b1a856 8184982: SA: Running ClassDump on a simple java program generates NullPointerException
Reviewed-by: sundar, jgeorge
2017-11-30 14:58:41 +05:30
Yasumasa Suenaga
627a32d672 8185796: jstack and clhsdb jstack should show lock objects
Modifications to display monitor details with SA jstack

Reviewed-by: sspitsyn, jgeorge
2017-11-27 11:20:38 +05:30
Sharath Ballal
f0d620789d 8191401: [TESTBUG] serviceability/sa/ClhsdbFlags.java can fail due to UseJVMCICompiler
Reviewed-by: dholmes, jgeorge
2017-11-21 11:27:46 +05:30
Jini George
45cdd91ca3 8190307: SA tests for the clhsdb commands: universe, intconstant, type
SA Test cases for the clhsdb commands: universe, intconstant, type

Reviewed-by: dholmes, sballal
2017-11-16 11:58:20 +05:30
Sharath Ballal
776767764b 8190198: SA: Framework for writing 'jhsdb clhsdb' commands tests and testcases for some of the commands
Reviewed-by: jgeorge, dholmes
2017-11-16 09:26:48 +05:30
Sharath Ballal
b7dc6e4e41 8189061: serviceability/sa/TestInstanceKlassSize.java - Unable to find instance klass for null
Reviewed-by: jgeorge, dholmes
2017-10-24 15:44:29 +05:30
Yasumasa Suenaga
12a11f2c65 8175816: SA: HSDB: Compute Liveness results in java.lang.IndexOutOfBoundsException
Reviewed-by: sspitsyn, jgeorge
2017-09-29 20:57:48 +09:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00