413 Commits

Author SHA1 Message Date
Calvin Cheung
7bb3af5d16 Merge 2015-04-17 14:37:20 -07: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
Calvin Cheung
d4c484b0ba Merge 2015-04-03 13:45:33 -07:00
Jesper Wilhelmsson
7ec8aadd33 Merge 2015-04-09 17:39:42 +02:00
Jesper Wilhelmsson
8e5f94bf08 8076267: Remove n_gens()
Reviewed-by: jprovino, kbarrett, jmasa
2015-04-02 16:37:29 +02:00
Per Lidén
c0af548c2b 8076447: Remove unused MemoryManager::kind()
Reviewed-by: stefank, tschatzl
2015-04-02 09:14:16 +02:00
Jaroslav Bachorik
c8b0b0b85c 8023093: Add ManagementAgent.status diagnostic command
Reviewed-by: sla
2015-03-26 10:37:10 +01:00
Jeremy Manson
0353353bde 8074895: os::getenv is inadequate
Reviewed-by: dholmes, coleenp
2015-03-30 17:32:18 -04:00
Jaroslav Bachorik
a16c45029d 8054890: Serviceability: New diagnostic commands 'VM.set_flag' and 'JVMTI.data_dump'
Reviewed-by: sla, fparain, egahlin, ykantser
2015-03-23 11:46:15 +01:00
Jesper Wilhelmsson
5f5b27baba Merge 2015-03-23 22:08:14 +01:00
Jesper Wilhelmsson
2c63bc9175 8075635: Remove GenerationSpec array
Replaced the array with explicit variables for young and old

Reviewed-by: kbarrett, mgerdin
2015-03-16 13:28:27 +01:00
Chris Plummer
984cf4c9b5 8069111: Investigate NMT detail tracking support for 32bit ARM
Fix native stack walking issues arm arm32. Disable on thumb2. Removed support for NMT without NMT detail.

Reviewed-by: dholmes, bdelsart
2015-03-10 19:56:19 -07:00
Christian Tornqvist
06a745fd7e 8069124: runtime/NMT/MallocSiteHashOverflow.java failing in nightlies
Reviewed-by: coleenp, gtriantafill, dholmes
2015-03-10 04:53:58 -07:00
Jesper Wilhelmsson
c1bc0a31b2 8074459: Flags handling memory sizes should be of type size_t
Changed the type to size_t for flags that handles memory sizes

Reviewed-by: kbarrett, tschatzl
2015-03-03 18:01:27 +01:00
Jesper Wilhelmsson
ac1c0ee5d2 Merge 2015-02-23 18:40:04 +01:00
Jesper Wilhelmsson
5c18821ea5 Merge 2015-02-19 12:56:50 +01:00
Stefan Karlsson
d40f08d0a3 8073389: Remove the include of resourceArea.hpp from classFileParser.hpp
Reviewed-by: coleenp, dholmes
2015-02-18 10:28:27 +01:00
Jesper Wilhelmsson
d7f5fccbc6 Merge 2015-02-16 21:24:39 +01:00
Christian Tornqvist
a72a716adf Merge 2015-02-14 00:03:48 +00:00
Christian Tornqvist
cdb714aeb5 Merge 2015-02-13 15:05:30 -08: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
Christian Tornqvist
094674666c Merge 2015-02-13 05:17:41 -08:00
Thomas Stuefe
0d2c28e3b8 8072935: Fix missing newline at end of file after 8067447
Reviewed-by: dholmes, dlong
2015-02-13 06:23:48 -05:00
Chris Plummer
0b5dffb337 8054888: Runtime: Add Diagnostic Command that prints the class hierarchy
Added the VM.class_hierarhcy DCMD

Reviewed-by: stefank, miauno
2015-02-11 15:22:43 -08:00
Coleen Phillimore
8df6ac1794 8068451: Kitchensink fails with assert(_size >= sz) failed: Negative size
Need ThreadCritical lock around chunk pool cleaning and copying for snapshot

Reviewed-by: lfoltan, gtriantafill, hseigel
2015-02-10 15:10:47 -05:00
Mikael Gerdin
685f6eb32e 8072693: [BACKOUT] GCCause should distinguish jcmd GC.run from System.gc()
Reviewed-by: jwilhelm, tschatzl
2015-02-06 16:24:25 +01:00
Yasumasa Suenaga
3e6220b1ab 8068589: GCCause should distinguish jcmd GC.run from System.gc()
GCCause which is caused by GC.run diagnostic command should be different from System.gc() .

Reviewed-by: sla, tamao
2015-02-04 22:21:08 +09: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
Stefan Karlsson
207fadd39e 8075416: Cleanup GC include dependencies in memoryPool.hpp
Reviewed-by: ehelin, mgerdin
2015-03-18 10:51:00 +01:00
Jesper Wilhelmsson
e7a218b4b6 Merge 2015-03-16 18:13:35 +01:00
Jesper Wilhelmsson
7e86840f64 8057632: Remove auxiliary code used to handle the generations array
Removed next_gen(), prev_gen(), and get_gen().

Reviewed-by: kbarrett, tschatzl
2015-03-05 23:47:26 +01:00
Jiangli Zhou
b0ad035af4 8059510: Compact symbol table layout inside shared archive
Use separate compact table for shared symbols.

Reviewed-by: iklam, gziemski, shade, sla, jrose
2014-12-17 23:34:52 -05:00
Max Ockner
1d76295d70 8047290: Make Mutex::_no_safepoint_check_flag locks verify that this lock never checks for safepoint
Ensure consistent safepoint checking in Mutex/Monitor locking methods.

Reviewed-by: dholmes, dcubed, coleenp
2014-12-11 21:34:43 -05:00
Yumin Qi
9767fa7cb2 Merge 2014-12-03 20:32:33 -08: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
Jaroslav Bachorik
6c1cf6ba45 8065783: DCMD parser fails to recognize one character argument when it's positioned last
Reviewed-by: sla, egahlin, fparain
2014-11-28 16:33:57 +01:00
Coleen Phillimore
d6de951947 8062870: src/share/vm/services/mallocTracker.hpp:64 assert(_count > 0) failed: Negative counter
Signed bitfield size y can only have (1 << y)-1 values.

Reviewed-by: shade, dholmes, jrose, ctornqvi, gtriantafill
2014-11-11 09:59:50 -05:00
Coleen Phillimore
78aaa377f4 Merge 2014-11-06 00:01:33 +00:00
Christian Tornqvist
76971f377b 8058251: assert(_count > 0) failed: Negative counter when running runtime/NMT/MallocTrackingVerify.java
Fixed an issue when overflowing the MallocSite hash table bucket

Reviewed-by: coleenp, gtriantafill
2014-11-05 13:20:09 -08: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
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
Vladimir Kempik
24c29c4db4 8059216: Make PrintGCApplicationStoppedTime print information about stopping threads
Reviewed-by: dholmes, brutisso
2014-10-28 18:41:34 +04:00
Jesper Wilhelmsson
2616e09389 Merge 2014-11-17 21:32:32 +01:00
Stefan Karlsson
692dbfd02d 8062808: Turn on the -Wreturn-type warning
Reviewed-by: mgerdin, tschatzl, coleenp, jrose, kbarrett
2014-11-12 13:55:59 +01:00
Coleen Phillimore
3a86f9cd27 8059100: SIGSEGV VirtualMemoryTracker::remove_released_region
Disallow increasing native memory tracking level

Reviewed-by: hseigel, ctornqvi, gtriantafill
2014-10-10 19:36:12 +00:00
Ioi Lam
4c5840ada6 Merge 2014-09-26 17:55:09 -07:00
Coleen Phillimore
31b9cf6251 8058818: Allocation of more then 1G of memory using Unsafe.allocateMemory is still causing a fatal error on 32bit platforms
The assert was firing for NMT_Off and minimal too even though the size isn't used.

Reviewed-by: gtriantafill, dholmes
2014-09-25 07:52:32 -04:00
Jesper Wilhelmsson
f9b921bd25 Merge 2014-09-22 16:22:21 +02:00
Nils Eliasson
2dcb0e33bb 8058461: serviceability/dcmd/CodelistTest.java and serviceability/dcmd/CompilerQueueTest.java SIGSEGV
Print only alive nmethods and add lock to print compile queue

Reviewed-by: kvn, anoll
2014-09-15 17:12:01 +02:00