Commit Graph

155 Commits

Author SHA1 Message Date
Dmitry Samersoff
0e6c22bcea 8165500: TestJpsJar shouldn't jar all test.classpath directories
Refactor test to better handle errors

Reviewed-by: sspitsyn
2016-10-25 14:49:35 +03:00
Srinivas Dama
410b8c8f8f 8055033: Shell tests for jrunscript don't pass through VM options
Passed jtreg env variables TESTVMOPTS, TESTJAVAOPTS to java and TESTTOOLVMOPTS, TESTJAVACOPTS to javac launchers

Reviewed-by: sundar
2016-10-13 01:59:39 -07:00
Sharath Ballal
fec04dd065 8164943: sun/tools/jhsdb/HeapDumpTest failed with Can't find library: /test/lib/share/classes
Change /test/lib/share/classes to /test/lib in HeapDumpTest.java

Reviewed-by: dsamersoff, ctornqvi
2016-09-06 09:37:55 +03:00
Alejandro Murillo
092d3bef1c Merge 2016-09-01 15:20:57 -07:00
Jini George
c7a2c07ca8 8163150: SA: CLHSDB printmdo throws an exception with "java.lang.InternalError: missing reason for 22"
Accounted for the new JVMCI related Deoptimization Reasons.

Reviewed-by: dsamersoff, sla
2016-08-31 11:46:59 +03:00
Dmitry Samersoff
7c219b82fc 8160923: sun/tools/jps/TestJpsJar.java fails due to ClassNotFoundException: jdk.testlibrary.ProcessTools
Cleanup build tag

Reviewed-by: iklam, rehn, ctornqvi
2016-08-29 11:59:52 +03:00
Sharath Ballal
d6ad2ec5c5 8163346: Update jmap-hashcode/Test8028623.java for better diagnostic of timeout
Update jmap-hashcode/Test8028623.java to use LingeredApp and rename it to jhsdb/HeapDumpTest.java

Reviewed-by: dsamersoff, dholmes
2016-08-26 13:11:39 +03:00
Yasumasa Suenaga
bc0cae288e 8163581: Heap Parameters in HSDB cannot handle G1CollectedHeap
Reviewed-by: dholmes, sjohanss
2016-08-25 12:24:16 +09:00
Christian Tornqvist
0731886f09 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:53 -04:00
Alejandro Murillo
284b527560 Merge 2016-08-12 14:12:56 -07:00
Alejandro Murillo
b5eefa753f Merge 2016-08-12 13:58:18 -07:00
Jini George
1920a07b8c 8163143: illegal bci error with interpreted frames in SA due to mirror being stored in interpreted frames
Added code to represent the frame mirror offset in SA

Reviewed-by: dsamersoff
2016-08-11 17:47:47 +03:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Yasumasa Suenaga
6500bf0035 8163272: jhsdb jinfo cannot show system properties
Reviewed-by: dholmes, dsamersoff
2016-08-08 21:59:33 +09:00
Sharath Ballal
994bbbb9c9 8160817: Add jsadebugd functionality to jhsdb
Add jsadebugd functionality to jhsdb

Reviewed-by: dsamersoff
2016-08-01 15:39:10 +03:00
Dmitry Samersoff
95e2d58dc1 8159925: sun/tools/jps/TestJpsJar.java still fails after fix for JDK-8153278
Check user.dir property

Reviewed-by: dcubed, sspitsyn
2016-07-08 17:36:34 +03:00
Dmitry Samersoff
9707ae0c4e 8153278: sun/tools/jps/TestJpsJar.java fails in hs nightly
Refactor the test to take pwd right before the check

Reviewed-by: dholmes
2016-06-15 11:24:12 +03:00
Dmitry Samersoff
f29ed63213 8155009: [TESTBUG] jstack subtest of BasicLauncherTest should not be executed under OS X
Detect OS X and skip part of the test

Reviewed-by: sspitsyn, rehn
2016-06-03 13:07:00 +03:00
Robbin Ehn
97027caf34 8156537: Tools using MonitoredVmUtil do not parse module in cmdline correctly
Reviewed-by: dsamersoff, sla
2016-06-03 10:05:04 +02:00
Dmitry Samersoff
df511d0dcc 8152950: BasicLauncherTest.java fails due to type error
Better handle js engine initialization error

Reviewed-by: jbachorik
2016-05-27 19:31:41 +03:00
Yasumasa Suenaga
529e462363 8156033: jhsdb jmap cannot set heapdump name
Reviewed-by: dsamersoff
2016-05-07 10:32:56 +09:00
Dmitry Samersoff
ae4d032d41 8155091: Remove SA related functions from tmtools
Remove options that enables support for non-cooperative mode

Reviewed-by: alanb, mchung, sla
2016-05-09 23:41:59 +03:00
Daniel D. Daugherty
0060da2f23 8153302: [BACKOUT] STW phases at Concurrent GC should count in PerfCounter
Reviewed-by: jmasa, jwilhelm
2016-04-01 14:29:41 -07:00
Yasumasa Suenaga
1f5235f540 8151674: STW phases at Concurrent GC should count in PerfCounter
Reviewed-by: jmasa, sla, tschatzl
2016-03-30 21:05:35 +09:00
Jesper Wilhelmsson
d9415fe792 Merge 2016-03-23 20:14:36 +01:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Yasumasa Suenaga
570f4df3f1 8151709: jhsdb should show help message in SALauncher
Reviewed-by: dsamersoff
2016-03-15 12:27:26 +09:00
Yasumasa Suenaga
ec2bb17be5 8151181: Add JSnap to jhsdb
Reviewed-by: dsamersoff
2016-03-04 18:13:04 +09:00
Dmitry Samersoff
034d9dddfc 8149174: [TESTBUG] TestJcmdDefaults.java: ouput should contain all content of jcmd/usage.out
Fixed typoeo in expected output

Reviewed-by: sspitsyn
2016-02-06 14:22:51 +03:00
Alejandro Murillo
8f53087d6e Merge 2016-01-05 13:08:05 -08:00
Alejandro Murillo
a14aea12fc Merge 2015-12-18 09:37:18 -08:00
Amy Lu
69bd68385c 8145869: Mark test JMXStartStopTest.java and TestJstatdServer.java as intermittently failing
Reviewed-by: darcy
2015-12-22 11:07:17 +08:00
Jaroslav Bachorik
d36b231c45 8145417: JInfoSanityTest failed with Error attaching to remote server: java.rmi.ConnectException: Connection refused
Reviewed-by: sspitsyn
2015-12-18 14:43:24 +01:00
David Lindholm
ac45dea45e 8145092: Use Unified Logging for the GC logging
JEP-271

Reviewed-by: sjohanss, brutisso
2015-11-18 14:51:10 +01:00
Alexandre Iline
fb7027bca9 8139430: Refactor test library to decrease module dependencies of tests
Reviewed-by: mchung, alanb
2015-11-23 11:49:04 -08:00
Amy Lu
dad26e258c 8143583: Several tests don't work with latest jtreg due to non-existing files in @build
Reviewed-by: alanb, sla
2015-11-23 16:14:33 +08:00
Chris Plummer
5b3684cf37 8140189: [TESTBUG] Get rid of "@library /../../test/lib" in jtreg tests
Use new external.lib.roots property in TEST.ROOT so /../../test/lib is not needed.

Reviewed-by: mseledtsov, sla, iklam
2015-10-29 12:02:53 -07:00
Dmitry Samersoff
37668179b5 8086134: Deadlock detection fails to attach to core file
Test reimplemented for jtreg

Reviewed-by: jbachorik
2015-09-24 20:40:12 +03:00
Jaroslav Bachorik
d9e40f6803 8134420: sun/tools/jps/TestJpsClass fails with java.lang.RuntimeException: The line 'line 2' does not match pattern '^\\d+\\s+.*': expected true, was false
Reviewed-by: sla, dsamersoff
2015-09-04 12:18:03 +02:00
Dmitry Samersoff
9b98a06f7d 8132648: sun/tools/jhsdb/BasicLauncherTest fails with java.lang.RuntimeException
Added check for standard conditions causing attach to fail

Reviewed-by: jbachorik, sspitsyn
2015-08-04 18:11:40 +03:00
Dmitry Samersoff
ad592d234f Merge 2015-07-23 15:25:30 +00:00
Dmitry Samersoff
2155377556 8059038: Create new launcher for SA tools
Proivide jhsdb command to launch sa based tools

Reviewed-by: sspitsyn, jbachorik
2015-07-23 18:17:02 +03:00
Katja Kantserova
b66a26f3b1 8132094: Mark intermittently failuring core-svc tests
Reviewed-by: jbachorik, sspitsyn
2015-07-22 09:51:40 +02:00
Jaroslav Bachorik
d5644aff56 8132059: com/sun/jdi/BreakpointTest.java fails with java.lang.IllegalArgumentException: Bad line number
Reviewed-by: dcubed
2015-07-21 18:38:09 +02:00
Katja Kantserova
29a5a845e9 8075658: Mark intermittently failuring core-svc tests
Reviewed-by: jbachorik, olagneau, darcy
2015-07-20 13:14:47 +02:00
Dmitry Samersoff
c55d90aeef 8081576: serviceability/sa tests fail due to LingeredApp process fails to start
Provide a API to corrctly terminate LingeredApp

Reviewed-by: sspitsyn
2015-06-23 12:35:39 +03:00
Katja Kantserova
18df7777e0 8085813: The targeted processes in sun/tools tests should be launched with -XX:+UsePerfData flag in order to work on embedded platforms
Reviewed-by: sspitsyn
2015-06-09 10:11:11 +02:00
Alejandro Murillo
f77dadee42 Merge 2015-06-04 15:38:00 -07:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Staffan Larsen
98d6dd65f9 8081292: sun/tools/jmap/BasicJMapTest.java timed out
Reviewed-by: mgronlun, sspitsyn
2015-05-28 10:37:49 +02:00