Amit Sapre
efe353282a
8151099: java.lang.management.ManagementFactory.getPlatformMXBeans() should work even if jdk.management is not present
...
Removed dependency of java.management over jdk.management.
Reviewed-by: mchung, dfuchs, dholmes
2016-10-26 14:58:14 +05:30
Igor Ignatyev
66686b8152
8149591: Prepare hotspot for GTest
...
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Stefan Sarne <stefan.sarne@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Reviewed-by: jwilhelm
2016-05-09 14:15:39 +03:00
Alan Bateman
f30fc1c88b
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: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jiangli Zhou <jiangli.zhou@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
2016-03-17 19:04:01 +00:00
Jaroslav Bachorik
2c277c0986
8138677: IllegalAccessException Class sun.usagetracker.UsageTrackerClient$4 (module java.base) can not access a member of class java.lang.management.ManagementFactory (module java.management)
...
Reviewed-by: alanb, mchung, dholmes, erikj, ihse
2015-11-24 16:07:40 +01:00
Iris Clark
8fe1b0faab
Merge
2015-11-02 09:11:55 -08:00
David Lindholm
5770f4eb32
8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
...
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
Iris Clark
11dad5584b
Merge
2015-07-13 13:23:31 -07:00
Iris Clark
dcda221b0d
Merge
2015-07-06 11:47:51 -07:00
Alejandro Murillo
ab8dd89e95
8087202: Add support for PATCH field and remove unused fields of new version string
...
Reviewed-by: dholmes, alanb
2015-06-19 10:34:38 -07:00
Gerard Ziemski
ed2bb8c9fc
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments
...
Validate the arguments to all JVM command-line flags so as to avoid crashes, and ensure that appropriate error messages are displayed when they are invalid.
Reviewed-by: ddmitriev, dholmes, kbarrett, drwhite, brutisso, coleenp
2015-06-18 14:39:38 -05:00
David Lindholm
862b933a2e
8080947: Add uint as a valid VM flag type
...
Reviewed-by: brutisso, ddmitriev
2015-06-04 14:29:34 +02:00
Shanliang Jiang
38e3be4c28
8042901: Allow com.sun.management to be in a different module to java.lang.management
...
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 10:53:31 +02:00
Jaroslav Bachorik
ed433c58a0
8074368: ThreadMXBean.getThreadInfo() corrupts memory when called with empty array for thread ids
...
Reviewed-by: mchung
2015-04-03 15:40:35 +02:00
Jesper Wilhelmsson
d7f5fccbc6
Merge
2015-02-16 21:24:39 +01:00
Stefan Karlsson
4913ad5d7d
8072911: Remove includes of oop.inline.hpp from .hpp files
...
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Jaroslav Bachorik
c6b7e46d0d
8067447: Factor out the shared implementation of the VM flags manipulation code
...
Reviewed-by: sla, dholmes
2014-12-02 19:47:45 +01:00
Max Ockner
91dbd4f088
8060074: os::free() takes MemoryTrackingLevel but doesn't need it
...
Cleaned up unused arguments in os::free and it's callers.
Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
Goetz Lindenmaier
0aa09022fa
8062370: Various minor code improvements
...
A lot of fixes useful to improve the code quality.
Reviewed-by: coleenp, dholmes
2014-10-29 10:13:24 +01:00
Jaroslav Bachorik
f52a43892a
8061616: HotspotDiagnosticMXBean.getVMOption() throws IllegalArgumentException for flags of type double
...
Reviewed-by: mchung, sla
2014-11-03 11:19:43 +01:00
Staffan Larsen
fed95a6860
8057535: add a thread extension class
...
Reviewed-by: mgerdin, bdelsart, jcoomes
2014-09-04 11:21:08 +02:00
Jon Masamitsu
5a22518210
Merge
2014-08-14 18:42:08 +00:00
Zhengyu Gu
8a690a1250
6424123: JVM crashes on failed 'strdup' call
...
Calling os::malloc()/os::strdup() and new os::strdup_check_oom() instead of ::malloc()/::strdup() for native memory tracking purpose
Reviewed-by: coleenp, ctornqvi, kvn
2014-08-11 10:18:09 -07:00
Stefan Karlsson
2880629908
8054823: Add size_t as a valid VM flag type
...
Reviewed-by: kvn, vlivanov, sla
2014-08-11 14:03:06 +02:00
Harold Seigel
b6a2f946f6
8031819: Remove legacy jdk checks and code
...
Delete old jdk specific code.
Reviewed-by: dholmes, coleenp, zgu, lfoltan
2014-06-11 09:58:23 -04:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Goetz Lindenmaier
6e6f0720a9
8042195: Introduce umbrella header orderAccess.inline.hpp
...
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Bill Pittore
b6c95dcb56
Merge
2014-02-07 14:47:04 -05:00
Jesper Wilhelmsson
5301534dc3
8028391: Make the Min/MaxHeapFreeRatio flags manageable
...
Made the flags Min- and MaxHeapFreeRatio manageable, and implemented support for these flags in ParallalGC.
Reviewed-by: sla, mgerdin, brutisso
2014-01-29 23:17:05 +01:00
Bill Pittore
ea35991cab
8027914: Client JVM silently exit with fail exit code when running in compact(1,2) with options -Dcom.sun.management and -XX:+ManagementServer
...
Check for sun.management.Agent class and print message and exit VM if not found at startup.
Reviewed-by: dholmes, mchung
2014-01-08 20:23:16 -05:00
Staffan Larsen
3e537df17c
8031305: (hotspot) com.sun.management.VMOption is missing the ATTACH_ON_DEMAND origin
...
Reviewed-by: jbachorik, mchung, dholmes
2014-01-07 12:32:57 +01:00
Igor Ignatyev
cfefbcebf5
8029070: memory leak in jmm_SetVMGlobal
...
Reviewed-by: kvn, dholmes
2013-12-23 20:56:18 +04:00
Jaroslav Bachorik
76ac5b0c28
8027294: Prepare hotspot for non TOD based uptime counter
...
Use HR timer when available for os::elapsed_counter() on linux/bsd. Add a new counter for the JVM uptime.
Reviewed-by: dholmes, sla
2013-10-25 09:07:58 +02:00
Christian Thalinger
cd7bfac363
8024545: make develop and notproduct flag values available in product builds
...
Reviewed-by: dholmes, kvn
2013-09-26 12:07:53 -07:00
Vladimir Kempik
f3ca3801d9
8020530: Non heap memory size calculated incorrectly
...
Reviewed-by: coleenp, sla
2013-08-21 22:12:11 -07:00
Christian Tornqvist
00b23c2eb8
8014294: Assert in ThreadTimesClosure::do_thread() due to use of naked oop instead of handle
...
Assert in ThreadTimesClosure::do_thread() due to use of naked oop instead of handle
Reviewed-by: coleenp, sspitsyn
2013-08-01 22:20:00 +02:00
Erik Helin
604a75ff30
8013590: NPG: Add a memory pool MXBean for Metaspace
...
Reviewed-by: jmasa, mgerdin
2013-06-26 16:58:37 +02:00
Frederic Parain
7c2fb49608
8004095: Add support for JMX interface to Diagnostic Framework and Commands
...
Reviewed-by: acorn, sla
2013-05-03 05:05:31 -07:00
Peter Allwin
a5c3cd8ee3
6729929: I18N - Taking Heap Dump failed if project path contains multibyte characters
...
Reviewed-by: dholmes, rbackman
2013-04-20 19:02:11 +02:00
Joseph Provino
698fba94ef
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
...
Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.
Reviewed-by: coleenp, stefank
2013-01-23 13:02:39 -05:00
Harold Seigel
4aad9b74e7
8001471: Klass::cast() does nothing
...
Remove function Klass::cast() and calls to it.
Reviewed-by: dholmes, coleenp
2012-11-12 16:15:05 -05:00
Gary Collins
ad3844358d
Merge
2012-10-12 10:49:39 -07:00
Joseph Provino
c5eaaaa070
7189254: Change makefiles for more flexibility to override defaults
...
Change makefiles so that targets and parameters can be overridden by alternate makefiles.
Reviewed-by: dholmes, coleenp
2012-10-10 14:35:58 -04:00
Coleen Phillimore
28047d6a0f
8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
...
Capitalize these metadata types (and objArrayKlass)
Reviewed-by: stefank, twisti, kvn
2012-09-29 06:40:00 -04:00
Kevin Walls
1c502686ea
7196045: Possible JVM deadlock in ThreadTimesClosure when using HotspotInternal non-public API
...
Reviewed-by: sspitsyn, dholmes
2012-09-19 15:24:32 +01:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Zhengyu Gu
a39b17624a
6995781: Native Memory Tracking (Phase 1)
...
7151532: DCmd for hotspot native memory tracking
Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Dmitry Samersoff
fdf8f817d3
7132515: Add dcmd to manage UnlockingCommercialFeature flag
...
Added dcmd to unlock or check status of UnlockingCommercialFeature flag
Reviewed-by: fparain, rottenha
2012-01-25 21:10:08 +04:00
Dmitry Samersoff
501bad4fd6
7066129: GarbageCollectorMXBean#getLastGcInfo leaks native memory
...
Make GCStatInfo a resource object
Reviewed-by: phh, coleenp
2012-01-25 02:29:05 +04:00
Frederic Parain
849571d5b3
7120511: Add diagnostic commands
...
Reviewed-by: acorn, phh, dcubed, sspitsyn
2012-01-09 10:27:24 +01:00
Paul Hohensee
2c192911dd
7122880: Extend vendor-specific command interface to include manageable switches
...
Add Flag::external_ext()/writable_ext(), both return false.
Reviewed-by: coleenp, zgu
2011-12-19 15:50:47 -05:00