Commit Graph

38 Commits

Author SHA1 Message Date
Jaroslav Bachorik
82f9578bb3 8085919: OperatingSystemMXBean/TestTotalSwap.java failure : Total Swap Space figures mismatch
Reviewed-by: dholmes
2015-08-04 15:16:23 +02:00
Jeremy Manson
c3bf5486af 8079301: Some command line options not settable via JAVA_TOOL_OPTIONS
Ensures special-cased command line options are settable via _JAVA_OPTIONS and JAVA_TOOL_OPTIONS.

Reviewed-by: coleenp, ddmitriev
2015-07-17 10:48:57 -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
Harold Seigel
529069c19a Merge 2015-05-08 13:26:07 -04: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
Calvin Cheung
df0cd30d79 Merge 2015-05-02 18:40:59 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Katja Kantserova
ba963fa58d 8059047: Extract parser/validator from jhat for use in tests
Reviewed-by: sla
2015-04-28 14:33:32 +02:00
Shanliang Jiang
b705686a86 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 09:40:02 +02:00
Jaroslav Bachorik
9f4631e772 8072908: com/sun/management/OperatingSystemMXBean/TestTotalSwap.sh fails on OS X with exit code 2
Reviewed-by: dholmes, sla
2015-02-16 10:53:49 +01:00
Alexander Kulyakthin
167de7ae02 8067945: SVC jdk/test/* should be cleaned from JRE layout dependency
Reviewed-by: sla
2015-01-23 14:20:52 +01:00
Katja Kantserova
a5ed93db7c 8044591: [TESTBUG] com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationp[Content]Test.java fail when -XX:+ExplicitGCInvokesConcurrent
Reviewed-by: sla, fparain
2014-12-03 11:56:02 +01:00
Jaroslav Bachorik
cd4e0a44d5 8061616: HotspotDiagnosticMXBean.getVMOption() throws IllegalArgumentException for flags of type double
Reviewed-by: mchung, sla
2014-11-03 11:19:54 +01: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
ec7f5007ee 8038947: HotSpotDiagnosticMXBean/CheckOrigin.java 'NewSize' should have origin 'ERGONOMIC' but had 'DEFAULT'
Reviewed-by: mchung, jbachorik
2014-04-25 08:55:34 +02: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
Staffan Larsen
20e46075a9 8028994: com.sun.management.VMOption is missing the ATTACH_ON_DEMAND origin
Reviewed-by: mchung, jbachorik
2014-01-20 16:27:55 +01:00
Jaroslav Bachorik
b77ba98513 6987597: ManagementFactory.getGarbageCollectorMXBeans() returns empty list with CMS
Reviewed-by: mchung
2013-11-28 09:10:18 +01:00
Shanliang Jiang
28502e7c19 8016221: A unit test should not use a fix port to run a jmx connector
Reviewed-by: jbachorik, dfuchs
2013-07-24 15:47:10 +02:00
Jaroslav Bachorik
d7811f443c 8019826: Test com/sun/management/HotSpotDiagnosticMXBean/SetVMOption.java fails with NPE
Reviewed-by: sjiang, dholmes, mchung
2013-07-11 09:21:09 +02:00
Frederic Parain
f405277c72 7150256: Add back Diagnostic Command JMX API
Reviewed-by: mchung, jbachorik
2013-06-05 08:41:02 -07: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
Mark Sheppard
c9063f559f 8003890: corelibs test scripts should pass TESTVMOPTS
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00
Alan Bateman
430592a30e 7197491: update copyright year to match last edit in jdk8 jdk repository
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Dmytro Sheyko
2b51b9ab1a 6853676: OperatingSystemMXBean.TotalPhysicalMemorySize has incorrect value
Reviewed-by: alanb, dholmes, sla
2009-06-19 16:50:38 +03:00
Staffan Larsen
311ea4a969 7147848: com.sun.management.UnixOperatingSystem uses hardcoded dummy values [macosx]
Provide the missing implementation UnixOperatingSystem on Mac OS X

Reviewed-by: dsamersoff, dcubed
2012-04-17 06:45:57 +02:00
Frederic Parain
a1429e482e 7145925: Removing remote access to diagnostic commands in the HotSpotDiagnosticMBean
Reviewed-by: acorn, mchung, phh
2012-02-15 10:46:55 -08:00
Frederic Parain
d1c86caeaa 7104647: Adding a diagnostic command framework
Reviewed-by: mchung, dholmes
2012-01-04 03:49:35 -08:00
Frederic Parain
e075dabb40 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
Add a JMX notification to GarbageCollectorMXBeans

Reviewed-by: acorn, mchung
2011-05-16 17:28:18 +02:00
Frederic Parain
186fce71ec 7028071: Add two attributes to the OperatingSystemMXBean to provide CPU Load info
Add getProcessCpuLoad() and getSystemCpuLoad() to the OperatingSystemMXBean

Reviewed-by: acorn, dholmes, mchung
2011-05-06 18:09:33 +02:00
Paul Hohensee
c37b51609d 6173675: M&M: approximate memory allocation rate/amount per thread
Subclass com.sun.management.ThreadMXBean from java.lang.management.ThreadMXBean, add getAllocatedBytes() and friends to c.s.m.ThreadMXBean and have sun.management.ThreadImpl implement c.s.m.ThreadMXBean rather than j.l.m.ThreadMXBean.

Reviewed-by: mchung, alanb, dholmes, emcmanus
2011-01-20 19:34:40 -05:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Tomas Hurka
0a8ab811e9 6858708: HotspotDiagnosticMXBean.setVMOption() throws NullPointerException
Add a null check for the VM option string

Reviewed-by: mchung, ohair
2009-11-16 15:33:05 +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
98ecfdaa47 6610094: Add generic support for platform MXBeans of any type (also fixed 6681031)
Add new methods in ManagementFactory class to obtain platform MXBeans

Reviewed-by: alanb, dfuchs, emcmanus
2008-04-10 10:47:13 -07:00
Mandy Chung
af4bff1a1e 6658779: Regression: HotspotDiagnosticMXBean.getDiagnosticOptions() throws NullPointerException
Add a null check for the VM option string

Reviewed-by: alanb, tbell
2008-03-18 11:53:15 -07:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00