Commit Graph

76 Commits

Author SHA1 Message Date
Mandy Chung
622f239448 8304163: Move jdk.internal.module.ModuleInfoWriter to the test library
Reviewed-by: jpai, alanb
2023-03-20 17:30:24 +00:00
Matthias Baesken
1ca31d34fc 8299657: sun/tools/jhsdb/SAGetoptTest.java fails after 8299470
Reviewed-by: clanger
2023-01-05 09:31:38 +00:00
Chris Plummer
767262e67c 8292201: serviceability/sa/ClhsdbThreadContext.java fails with "'Thread "Common-Cleaner"' missing from stdout/stderr"
Reviewed-by: amenkov, sspitsyn
2022-09-03 16:06:25 +00:00
Leonid Mesnik
36ef4c1a92 8291081: Some sun/tools/jstatd/TestJstatd* tests fail with "Not a percentage\: 68.31\: expected true, was false"
Reviewed-by: kevinw, cjplummer
2022-08-11 00:30:19 +00:00
Leonid Mesnik
348a0521e1 8290846: sun/tools/jstatd/JstatdTest* tests should use VM options
Reviewed-by: cjplummer, sspitsyn
2022-07-28 00:04:17 +00:00
Kevin Walls
116763cb5d 8284331: Add sanity check for signal handler modification warning.
Reviewed-by: dholmes, amenkov
2022-04-29 20:14:55 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Kevin Walls
cb8a82ee24 8272317: jstatd has dependency on Security Manager which needs to be removed
Reviewed-by: cjplummer, rriggs
2022-01-28 12:54:19 +00:00
Jesper Wilhelmsson
f1fbba23eb Merge 2021-12-22 16:46:43 +00:00
Kevin Walls
734143918d 8279007: jstatd fails to start because SecurityManager is disabled
Reviewed-by: alanb, sspitsyn, mullan
2021-12-22 11:36:53 +00:00
Chris Plummer
db502d30a4 8269556: sun/tools/jhsdb/JShellHeapDumpTest.java fails with RuntimeException 'JShellToolProvider' missing from stdout/stderr
Reviewed-by: kevinw, sspitsyn, amenkov
2021-12-13 19:02:12 +00:00
Kevin Walls
2af9e5976f 8276139: TestJpsHostName.java not reliable, better to expand HostIdentifierCreate.java test
Reviewed-by: jiefu, sspitsyn
2021-11-17 11:59:52 +00:00
Alex Menkov
bb92fb02ca 8274930: sun/tools/jps/TestJps.java can fail with long VM arguments string
Reviewed-by: sspitsyn, lmesnik
2021-11-02 21:57:16 +00:00
Naoto Sato
f71df142a9 8273187: jtools tests fail with missing markerName check
Reviewed-by: iris, sspitsyn, joehw
2021-09-20 13:38:38 +00:00
Emmanuel Bourg
d09b028407 8271396: Spelling errors
Reviewed-by: tschatzl, chegar, iris, psadhukhan, cjplummer
2021-07-29 16:03:31 +00:00
Weijun Wang
640a2afda3 8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
buddyliao
66191ff4b0 8266193: BasicJMapTest does not include testHistoParallel methods
Reviewed-by: sspitsyn, amenkov
2021-05-07 02:57:32 +00:00
Chris Plummer
ed701ea687 8262271: SA: Add new stress test that tests getting the stack trace of an active thread
Reviewed-by: ysuenaga, sspitsyn
2021-03-19 19:20:11 +00:00
Chris Plummer
43524cc41a 8243455: Many SA tests can fail due to trying to get the stack trace of an active method
Reviewed-by: lmesnik, ysuenaga, sspitsyn
2021-03-12 23:35:47 +00:00
Lin Zang
c54724da14 8257234: Add gz option to SA jmap to write a gzipped heap dump
Reviewed-by: cjplummer, ysuenaga, sspitsyn
2021-02-25 12:09:55 +00:00
Lin Zang
aa35b42354 8261131: jcmd jmap dump should not accept gz option with no value
Reviewed-by: cjplummer, sspitsyn
2021-02-25 12:06:32 +00:00
Alex Menkov
cc5691c69e 8248162: serviceability/attach/RemovingUnixDomainSocketTest.java failed
Reviewed-by: cjplummer, sspitsyn
2021-02-10 22:17:48 +00:00
Lin Zang
461c5fc637 8256450: Add gz option to jmap to write a gzipped heap dump
Reviewed-by: cjplummer, sspitsyn, phh
2020-11-25 16:51:42 +00:00
Lin Zang
14e25e2059 8255982: Extend BasicJMapTest to test with different GC Heap
Reviewed-by: shade, iignatyev
2020-11-12 02:12:15 +00:00
Jie Fu
5585e6f63a 8251155: HostIdentifier fails to canonicalize hostnames starting with digits
Reviewed-by: sspitsyn, redestad
2020-08-05 15:07:25 +08:00
Lin Zang
3498a10a2b 8215624: Add parallel heap iteration for jmap –histo
Chunk and parallelize the heap scan

Reviewed-by: sspitsyn, stefank, phh
2020-08-13 11:31:37 -07:00
Paul Hohensee
51b7c76a95 8245129: Enhance jstat gc option output and tests
Widen and right-justify size fields assuming 2tb heap

Reviewed-by: simonis, dtitov
2020-06-29 13:39:35 -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
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
Alex Menkov
8a7ff65d98 8242522: Minor LingeredApp improvements
Reviewed-by: lmesnik, cjplummer
2020-04-29 16:02:56 -07:00
Chris Plummer
d041941e64 8242789: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java fails with 'JShellToolProvider' missing from stdout/stderr
Reviewed-by: amenkov, sspitsyn
2020-04-21 16:13:24 -07:00
Athijegannathan Sundararajan
d5cd165965 8241749: Remove the Nashorn JavaScript Engine
Reviewed-by: jlaskey, ihse, mchung
2020-04-16 12:26:20 +05:30
Alex Menkov
f11d4628c1 8242282: Test sun/tools/jps/TestJps.java fails after JDK-8237572
Reviewed-by: dcubed, cjplummer
2020-04-10 10:52:26 -07:00
Roger Riggs
50ed53076f 8225319: Remove rmic from the set of supported tools
Reviewed-by: erikj, alanb, lancea, jjg, amlu
2020-04-08 09:22:08 -04:00
Alex Menkov
e18d66174a 8237572: Combine the two LingeredApp classes
Reviewed-by: cjplummer, lmesnik
2020-04-06 12:51:40 -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
b70ef0d2e2 8240711: TestJstatdPort.java failed due to "ExportException: Port already in use:"
Reviewed-by: amenkov
2020-03-18 11:05:11 -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
Serguei Spitsyn
db69852ac2 8240881: [BACKOUT] 8222489 jcmd VM.system_properties gives unusable paths on Windows
Undo the 8222489 changeset

Reviewed-by: dcubed, iklam
2020-03-11 20:28:43 +00:00
Chihiro Ito
08c3b1fc8f 8222489: jcmd VM.system_properties gives unusable paths on Windows
Reviewed-by: sspitsyn, ysuenaga
2020-03-07 23:08:33 +09:00
Daniil Titov
26b642f92f 8196729: Add jstatd option to specify RMI connector port
Reviewed-by: cjplummer, sspitsyn
2020-02-06 11:23:51 -08:00
Stefan Karlsson
c8e7590899 8237111: LingeredApp should be started with getTestJavaOpts
Reviewed-by: cjplummer, dholmes
2020-01-24 10:31:45 +01:00
Daniil Titov
75912b7aaa 8236873: Worker has a deadlock bug
Reviewed-by: dfuchs, dholmes, sspitsyn
2020-01-16 09:53:03 -08:00
Chris Plummer
b9bde2ed45 8231288: "jhsdb jmap" test needed to reproduce issues that used to be reproduced by JShellHeapDumpTest
Reviewed-by: sgehwolf, sspitsyn
2019-10-02 17:56:46 -07:00
Chris Plummer
f6a5479a44 8231287: JMap should do a better job of reporting exception it catches
Retrhow any caught exception, and always print exceptions before exiting

Reviewed-by: sspitsyn, phh
2019-09-28 12:33:34 -07:00
Chris Plummer
6212eb36c3 8228625: [TESTBUG] sun/tools/jhsdb/JShellHeapDumpTest.java fails with RuntimeException 'JShellToolProvider' missing from stdout/stderr
Give jshell process time to fully startup and stablize before requesting heap dump

Reviewed-by: sspitsyn, amenkov
2019-09-26 14:41:09 -07:00
Christoph Langer
8551294077 8230857: Avoid reflection in sun.tools.common.ProcessHelper
Reviewed-by: sspitsyn, dholmes
2019-09-23 12:32:13 +02:00
Christoph Langer
2f5ce4c6cd 8230850: Test sun/tools/jcmd/TestProcessHelper.java fails intermittently
Reviewed-by: stuefe, cjplummer, sgehwolf
2019-09-16 09:21:42 +02:00
Ralf Schmelter
5bbe479ade 8228589: BasicJStackTest.java and JcmdOutputEncodingTest.java failing after JDK-8227868
Reviewed-by: cjplummer, sgehwolf
2019-07-26 10:52:47 +02:00
Ralf Schmelter
678b5df6c7 8227868: jinfo and jstack can fail converting UTF8 output to strings
Reviewed-by: sgehwolf, dholmes, cjplummer
2019-07-22 14:40:00 +02:00