48 Commits

Author SHA1 Message Date
Roger Riggs
19215787f8 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: alanb, bpb
2017-04-11 14:18:22 -04:00
Igor Ignatyev
972a49157a 8177374: fix module dependency declaration in jdk_svc tests
Reviewed-by: mchung, sspitsyn
2017-03-22 17:57:22 -07:00
Igor Ignatyev
062caf2df9 8176176: fix @modules in jdk_svc tests
Reviewed-by: shurailine, sspitsyn
2017-03-15 22:48:59 -07:00
Mandy Chung
7e2dd137c3 8173608: Separate JDK management agent from java.management module
Reviewed-by: dfuchs, dholmes, erikj
2017-01-31 20:06:32 -08: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
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
e67e132b02 8142398: ManagementAgent.status diagnostic command only outputs the specifically set properties
Reviewed-by: sla
2015-11-13 14:44:05 +01:00
Jaroslav Bachorik
7d1251ff12 8138748: ManagementAgent.status DCMD fails with NPE for JMX configured on command line
Reviewed-by: sspitsyn, dsamersoff, olagneau
2015-10-02 18:49:54 +02:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07: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
Jaroslav Bachorik
60c572a84a 8080138: sun/management/jmxremote/startstop/JMXStartStopTest.java failed with java.lang.Error intermittently
Reviewed-by: sla
2015-06-22 12:13:56 +02:00
Jaroslav Bachorik
5e723c42f9 8081634: Concurrent usage of a StringBuilder causes test intermittent failures
Reviewed-by: sla, sspitsyn
2015-06-22 12:13:39 +02: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
Jaroslav Bachorik
ffe4b47d20 8075926: Add a sun.management.JMXConnectorServer perf counter to track its state
Reviewed-by: duke
2015-04-03 15:39:38 +02:00
Katja Kantserova
549731dc2f 8078896: Add @modules as needed to the jdk_svc tests
Reviewed-by: alanb, mchung
2015-05-07 09:11:49 +02:00
Alejandro Murillo
c185e9a5bf Merge 2015-05-01 03:56:04 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Jaroslav Bachorik
a79d202015 8076971: sun/management/jmxremote/startstop/JMXStatusTest.java failed with AssertionError
Reviewed-by: sla, dholmes
2015-04-27 10:13:21 +02:00
Jaroslav Bachorik
883ba19236 8077402: JMXStartStopTest fails intermittently on slow hosts
Reviewed-by: sla, dholmes
2015-04-27 10:12:56 +02:00
Jaroslav Bachorik
ca198f7351 8023093: Add ManagementAgent.status diagnostic command
Reviewed-by: sla
2015-03-25 18:33:17 +01:00
Jaroslav Bachorik
4195de8dec 8074041: sun/management/jmxremote/startstop/JMXStartStopTest.java fails with InvocationTargetException
Reviewed-by: sla, ykantser
2015-03-11 15:32:17 +01:00
Jaroslav Bachorik
d9fe0af048 8066708: JMXStartStopTest fails to connect to port 38112
Reviewed-by: smarks, dsamersoff, olagneau
2015-02-03 16:46:05 +01:00
Jaroslav Bachorik
2d52d7e64d 8057149: sun/management/jmxremote/startstop/JMXStartStopTest.java fails with "Starting agent on port ... should report port in use"
Reviewed-by: sla
2014-09-24 11:55:36 +02:00
Staffan Larsen
13a51887f7 8057776: Misc cleanups of the attach code
Reviewed-by: alanb, dfuchs, jbachorik
2014-09-08 14:46:51 +02:00
Jaroslav Bachorik
d7d41d2c0d 8057134: sun/management/jmxremote/startstop/JMXStartStopTest.java failing intermittently
Reviewed-by: sla, dfuchs
2014-09-03 17:08:58 +02:00
Jaroslav Bachorik
e4085cd0a6 8057150: Add more diagnostics to JMXStartStopTest
Reviewed-by: sla, dfuchs
2014-09-03 16:05:41 +02:00
Jaroslav Bachorik
c3ba2ec46d 8040692: [TESTBUG] sun/management/jmxremote/bootstrap/JvmstatCountersTest.java requires -XX:+UsePerfData option to pass on embedded platforms
Reviewed-by: sla
2014-08-21 14:36:49 +02:00
Jaroslav Bachorik
3962277490 8044427: [test] sun/management/jmxremote/startstop/JMXStartStopTest times out intermittently on Solaris/Sparcv9
Reviewed-by: sla
2014-07-01 17:58:14 +02:00
Jaroslav Bachorik
e614cf24ef 8048193: [tests] Replace JPS and stdout based PID retrieval by Process.getPid()
Reviewed-by: sla
2014-07-01 15:00:33 +02:00
Jaroslav Bachorik
99a469d169 8038826: sun/management/jmxremote/startstop/JMXStartStopTest.java fails with "should report port in use"
Reviewed-by: sla
2014-06-25 09:43:47 +02:00
Jaroslav Bachorik
cc7e85e940 8048005: Add test timing information to JMXStartStopTest
Reviewed-by: egahlin, dfuchs
2014-06-24 19:59:26 +02:00
Staffan Larsen
855f7c421e 8044135: Add API to start JMX agent from attach framework
Reviewed-by: alanb
2014-06-11 15:47:53 +02:00
Katja Kantserova
c3d3305c76 8043520: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
Reviewed-by: sla, egahlin
2014-05-22 11:05:36 +02:00
Staffan Larsen
70bf57509c 8039173: Propagate errors from Diagnostic Commands as exceptions in the attach framework
Reviewed-by: igerasim, alanb, dsamersoff
2014-05-09 12:06:13 +02:00
Jaroslav Bachorik
70f2238ba9 8035395: sun/management/jmxremote/startstop/JMXStartStopTest.java fails intermittently: Port already in use
Reviewed-by: sla, sjiang
2014-02-21 14:01:57 +01:00
Jaroslav Bachorik
431e7d6c39 8034177: sun/management/jmxremote/startstop/JMXStartStopTest.java should report port in use
Reviewed-by: dfuchs, sjiang
2014-02-17 09:43:12 +01:00
Jaroslav Bachorik
28dabe2b6e 8022221: Intermittent test failures in sun/management/jmxremote/startstop/JMXStartStopTest.sh
Reviewed-by: sla
2014-01-21 09:15:46 +01:00
Dmitry Samersoff
3a6305e6c7 8024071: In ManagementAgent.start it should be possible to set the jdp.name parameter
Pass one more property from Agent to JdpController

Reviewed-by: jbachorik, sla
2013-10-19 20:59:42 +04:00
Alan Bateman
c12b624078 8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
Reviewed-by: chegar
2013-01-11 20:19:55 +00:00
Lana Steuck
b7af263526 Merge 2012-12-28 18:36:41 -08:00
Shanliang Jiang
446a481b15 8005325: The script should use TESTVMOPTS
Put back TESTVMOPTS which was removed by mistake.

Reviewed-by: smarks
2012-12-21 10:58:20 +01:00
David Katleman
306cab1006 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:50 -08:00
Shanliang Jiang
679f2eee3f 7158614: JMXStartStopTest.sh failing intermittently
Fixed 3 problems here: 1) checked the lock file too eary 2) never got the process id of a java test 3) some shell commands were not supported in some Solaris machines.

Reviewed-by: dsamersoff, alanb
2012-12-19 11:06:51 +01:00
Mark Sheppard
c9063f559f 8003890: corelibs test scripts should pass TESTVMOPTS
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00
Dmitry Samersoff
8af0bcb7fe 7186723: TEST_BUG: Race condition in sun/management/jmxremote/startstop/JMXStartStopTest.sh
Make test self-terminating and independent to cygwin/mks kill behaviour

Reviewed-by: sspitsyn, alanb
2012-09-29 15:44:06 +04:00
Dmitry Samersoff
fe4588a87e 7110104: It should be possible to stop and start JMX Agent at runtime
Added a capability to start and stop JMX Agent by jcmd

Reviewed-by: acorn, mchung
2012-02-27 15:21:18 +04:00