Commit Graph

114 Commits

Author SHA1 Message Date
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
Katja Kantserova
0c78d5f9e3 8034960: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
Reviewed-by: sla, alanb
2014-05-09 15:24:57 +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
Staffan Larsen
ee21184b17 7195249: Some jtreg tests use hard coded ports
Use Utils.getFreePort() and launch the tests by java code

Reviewed-by: jbachorik, sla
2014-02-28 12:57:35 +04:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08: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
6005bfb33e 8033787: [TESTBUG] Few jdk regression management tests should be improved with -XX:+UsePerfData usage
Reviewed-by: dholmes
2014-02-21 12:31:29 +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
Vladimir Kozlov
57b7b831ae Merge 2014-01-28 14:57:41 -08:00
Vladimir Kozlov
9c83896027 Merge 2014-01-22 14:17:32 -08:00
Ivan Gerasimov
4339b3b54f 8025886: replace [[ and == bash extensions in regtest
Reviewed-by: dsamersoff, sla
2014-01-20 19:23:22 +04: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
Volker Simonis
70041ae4e4 8028537: PPC64: Updated the JDK regression tests to run on AIX
Co-authored-by: Jonathan Lu <luchsh@linux.vnet.ibm.com>
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Reviewed-by: alanb
2014-01-17 21:54:30 +01:00
Peter Allwin
49103a8c63 8004183: test/sun/management/jmxremote/LocalRMIServerSocketFactoryTest.java doesn't clean-up
Reviewed-by: sjiang, dfuchs, dholmes, olagneau, dholmes, jbachorik
2014-01-17 16:25:17 +01:00
Joe Darcy
48ce9464b0 8031651: Remove unneeded -source and -target flags in jdk repo regression tests
Reviewed-by: dfuchs, mullan
2014-01-14 10:08:24 -08:00
Jaroslav Bachorik
b7f68c381a 8029809: sun/management/jmxremote/bootstrap/CustomLauncherTest.java fails intermittently with "Operation not permitted"
Reviewed-by: sla
2013-12-18 11:00:48 +01:00
Jaroslav Bachorik
a923f5c5d3 8031420: sun/management/jmxremote/bootstrap/CustomLauncherTest.java fails on some platforms: Unable to locate 'libjvm.so'
Reviewed-by: sla, chegar, sjiang
2014-01-10 08:22:00 +01:00
Mandy Chung
7183dce25d 8028647: Add instrumentation in GetSafepointSyncTime.java and remove it from ProblemList.txt
Reviewed-by: sla, chegar
2013-11-20 10:00:54 -08:00
Roger Riggs
ce59b012f7 8028141: test/sun/management/jmxremote/bootstrap/LocalManagementTest|CustomLauncherTest.java failing again
Correct to use the test.class.path instead of test.classes

Reviewed-by: alanb, chegar
2013-11-19 13:20:07 -05:00
Jaroslav Bachorik
d2a8f2c819 8028433: [TESTBUG] add -XX:+UsePerfData to some sun.management tests
Reviewed-by: sla, egahlin
2013-11-18 16:20:40 +01:00
Jaroslav Bachorik
e72d357292 8027163: sun/management/jmxremote/bootstrap/CustomLauncherTest.java should be updated for jdk8 removal of solaris-32bit support
Reviewed-by: sla
2013-11-18 15:25:15 +01:00
Katja Kantserova
17e4152715 8015497: Take new fixes from hotspot/test/testlibrary to jdk/test/lib/testlibrary
Reviewed-by: sla
2013-11-13 11:46:05 +01:00
Erik Gahlin
cd2f2cbb84 6849945: VM Periodic Task Thread CPU time = -1ns in HotspotThreadMBean.getInternalThreadCpuTimes()
Reviewed-by: sla
2013-11-12 18:12:47 +01:00
Alex Schenkman
fc31eabd57 8014506: Test of Jdp feature
Reviewed-by: sla
2013-11-08 18:16:12 +01:00
Jaroslav Bachorik
f05950c786 8027058: sun/management/jmxremote/bootstrap/RmiBootstrapTest.sh Failed to initialize connector
Dynamically discover the first available port instead of hard-coding one

Reviewed-by: sla, chegar, dfuchs
2013-10-30 14:50:46 +01:00
Jaroslav Bachorik
094e46c9d7 8027358: sun/management/jmxremote/bootstrap/LocalManagementTest.java failing since JDK-8004926
Reviewed-by: alanb, egahlin
2013-10-29 21:49:46 +01:00
Jaroslav Bachorik
b441547010 8004926: sun/management/jmxremote/bootstrap/CustomLauncherTest.sh oftenly times out
Improve reliability by converting the test to Java

Reviewed-by: dsamersoff, dholmes
2013-10-25 13:01:11 +02: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
Dmitry Samersoff
a3fda5b9bc 8004213: JDP packet needs pid, broadcast interval and rmi server hostname fields
Add some extra fileds to jdp packet

Reviewed-by: allwin, sla, hirt
2013-10-19 00:05:42 +04:00
Jaroslav Bachorik
c3a2245bba 6804470: JvmstatCountersTest.java test times out on slower machines
Increasing the default timeout to cater for the slower machines

Reviewed-by: alanb
2013-10-15 10:26:34 +02:00
Dmitry Samersoff
d95f70f9d3 8009213: sun/management/jdp/JdpTest.sh fails with exit code 1
There's no guarantee that the java process has executed far enough to be found by jps when we try to obtain it's pid.

Reviewed-by: sla
2013-10-03 16:54:55 +04:00
Dmitry Samersoff
ee8568fe00 8015604: JDP packets containing ideographic characters are broken
Code uses string length rather than byte array length and non ascii entry brakes packet.

Reviewed-by: dholmes, jbachorik, sla
2013-06-05 18:20:34 +04:00
Florian Weimer
4bfd2d2b39 8014420: Default JDP address does not match the one assigned by IANA
JDP protocol defaults changed to IANA assigned values

Reviewed-by: dholmes, jbachorik, hirt
2013-05-28 18:46:39 +04:00
David Katleman
930dcf7d28 8012048: JDK8 b85 source with GPL header errors
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:33 -07:00
Dmitry Samersoff
403e23ec70 8008095: TEST_BUG: JDK-8002048 one more testcase failure on Solaris
Fixed couple of more Solaris shell incompatibilities

Reviewed-by: chegar
2013-02-13 21:06:30 +04:00
Dmitry Samersoff
232b814f68 8007786: JDK-8002048 testcase doesn't work on Solaris
Test built in into Solaris shell doesn't have -e operator

Reviewed-by: sla, sspitsyn
2013-02-12 16:02:14 +04:00
Dmitry Samersoff
c572f25040 8007277: JDK-8002048 testcase fails to compile
Sun.* classes is not included to ct.sym file and symbol file have to be ignored

Reviewed-by: alanb
2013-02-06 16:53:47 +04:00
Dmitry Samersoff
eea117f3e5 8002048: Protocol to discovery of manageable Java processes on a network
Introduce a protocol to discover manageble Java instances across a network subnet, JDP

Reviewed-by: sla, dfuchs
2013-02-03 21:39:58 +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
Deven You
ce388a548a 7164191: properties.putAll API may fail with ConcurrentModifcationException on multi-thread scenario
Reviewed-by: dholmes, sla
2012-05-15 16:46:10 +04:00
Staffan Larsen
e0a4e74f80 7152798: TEST_BUG: sun/management/HotspotClassLoadingMBean/GetClassLoadingTime.java does not compile
Make sure the test is compiled, run and finds it supporting classes

Reviewed-by: alanb, sspitsyn, rbackman
2012-03-19 14:18:36 +01:00
Alan Bateman
3269d85838 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00: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
Staffan Larsen
399194bb7a 7073626: RmiBootstrapTest.sh and RmiSslBootstrapTest.sh fail under Cygwin
Detect and handle cygwin correctly

Reviewed-by: alanb, sspitsyn
2012-02-24 20:02:50 +01:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Kelly O'Hair
67582cd0a5 6911131: Test does not work with CYGWIN: sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.sh
Reviewed-by: tbell, alanb
2010-01-04 15:41:54 -08:00
Joe Darcy
c40412f4f4 6907177: Update jdk tests to remove unncessary -source and -target options
Reviewed-by: ohair
2009-12-03 18:19:10 -08:00
Daniel Fuchs
9f61f3723c 6774170: LocalRMIServerSocketFactory should protect against ServerSocket.accept().getInetAddress() being null
Reviewed-by: emcmanus, jfdenise
2008-11-21 18:18:00 +01:00
Xiomara Jayasena
2617d1d179 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:45 -07:00
Mandy Chung
6c33c4e721 6687508: Update test/sun/management jtreg tests due to sun.management.ManagementFactory class rename
Modified the jtreg tests to use ManagementFactoryHelper instead

Reviewed-by: emcmanus
2008-04-11 10:26:26 -07:00
Luis Miguel Alventosa
f810300851 4981215: Publishing a port number for management console to access
Reviewed-by: emcmanus, dfuchs
2008-03-10 23:13:31 +01:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00