Christian Thalinger
12901d0e5b
7023639: JSR 292 method handle invocation needs a fast path for compiled code
...
6984705: JSR 292 method handle creation should not go through JNI
Remove assembly code for JDK 7 chained method handles
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: jrose, twisti, kvn, mhaupt
2012-07-24 10:51:00 -07:00
Zhengyu Gu
b5b29845bd
Merge
2012-07-19 06:24:46 -07:00
Zhengyu Gu
a0930ac7cd
Merge
2012-07-19 09:10:12 -04:00
Zhengyu Gu
f9083712dd
7182543: NMT ON: Aggregate a few NMT related bugs
...
1) Fixed MemTrackWorker::generations_in_used() calculation 2) Ensured NMT not to leak memory recorders after shutdown 3) Used ThreadCritical to block safepoint safe threads
Reviewed-by: acorn, coleenp, dholmes, kvn
2012-07-19 09:05:42 -04:00
Zhengyu Gu
196abe2523
7181986: NMT ON: Assertion failure when running jdi ExpiredRequestDeletionTest
...
Changed _query_lock to heap object from static object. Also fixed _query_lock and snapshot lock ranks, so they can participate deadlock detection.
Reviewed-by: coleenp, dholmes, kvn
2012-07-16 14:10:34 -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
Staffan Larsen
39dfe6d047
7178703: Fix handling of quoted arguments and better error messages in dcmd
...
Reviewed-by: coleenp, mgronlun, rbackman
2012-06-28 11:37:28 +02:00
Frederic Parain
5bb1350803
7087969: GarbageCollectorMXBean notification contains ticks vs millis
...
Reviewed-by: acorn, dcubed, rbackman
2012-03-29 02:12:40 -07:00
Nils Loodin
2c07f4154e
7148488: Whitebox tests for the Diagnostic Framework Parser
...
Reviewed-by: brutisso, sla, mgerdin
2012-03-15 13:37:13 +01:00
Dmitry Samersoff
e1675f98d4
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-22 19:43:22 +04:00
Nils Loodin
510522ff57
7145243: Need additional specializations for argument parsing framework
...
Reviewed-by: acorn, fparain
2012-02-15 12:17:30 -08:00
Frederic Parain
476ee44449
7143760: Memory leak in GarbageCollectionNotifications
...
Reviewed-by: dholmes, dcubed, kamg
2012-02-14 06:54:27 -08:00
Keith McGuigan
1e318cc920
Merge
2012-01-27 10:42:36 -05:00
Dmitry Samersoff
7ece654913
Merge
2012-01-25 18:58:59 -08:00
Frederic Parain
6fd2cebd85
7131346: Parsing of boolean arguments to diagnostic commands is broken
...
Reviewed-by: dholmes, dcubed
2012-01-25 10:32:29 -08: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
Antonios Printezis
8861552c07
7132398: G1: java.lang.IllegalArgumentException: Invalid threshold: 9223372036854775807 > max (1073741824)
...
Was not passing the right old pool max to the memory pool constructor in the fix for 7078465.
Reviewed-by: brutisso, johnc
2012-01-24 17:08:58 -05:00
Antonios Printezis
c90c187756
7078465: G1: Don't use the undefined value (-1) for the G1 old memory pool max size
...
Reviewed-by: johnc, brutisso
2012-01-19 09:13:58 -05:00
Frederic Parain
849571d5b3
7120511: Add diagnostic commands
...
Reviewed-by: acorn, phh, dcubed, sspitsyn
2012-01-09 10:27:24 +01:00
Paul Hohensee
66388c03c9
Merge
2012-01-05 17:16:13 -05:00
Paul Hohensee
2cd87d4e3a
7126480: Make JVM start time in milliseconds since the Java epoch available
...
Expose existing Management::_begin_vm_creation_time via new accessor Management::begin_vm_creation_time().
Reviewed-by: acorn, dcubed
2012-01-05 17:14:52 -05:00
Frederic Parain
1de4ad84a2
7125594: C-heap growth issue in ThreadService::find_deadlocks_at_safepoint
...
Reviewed-by: sspitsyn, dcubed, mchung, dholmes
2012-01-05 07:26:44 -08: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
Frederic Parain
85db00acd6
7104647: Adding a diagnostic command framework
...
Reviewed-by: phh, dcubed
2011-12-14 04:30:57 -08:00
John Cuthbertson
6d0e0064bf
7110173: GCNotifier::pushNotification publishes stale data
...
GCNotifier::pushNotification() references GCMemoryManager::_last_gc_stat but is called from GCMemoryManager::gc_end() before GCMemoryManager::_last_gc_stat is set up using the values in GCMemoryManager::_current_gc_stat. As a result the GC notification code accesses unitialized or stale data. Move the notification call after GCMemoryManager::_las_gc_stat is set, but inside the same if-block.
Reviewed-by: poonam, dholmes, fparain, mchung
2011-11-21 09:24:56 -08:00
Poonam Bajaj
9b428e449c
7110428: Crash during HeapDump operation
...
Reviewed-by: ysr, dholmes
2011-11-16 16:27:29 -08:00
David Holmes
c45d65f8eb
Merge
2011-10-17 01:40:27 -04:00
Christos Zoulas
32708baef1
7098194: integrate macosx-port changes
...
Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Victor Hernandez <vhernandez@apple.com>
Co-authored-by: Pratik Solanki <psolanki@apple.com>
Reviewed-by: kvn, dholmes, never, phh
2011-10-13 09:35:42 -07:00
Antonios Printezis
55c503aea2
7075646: G1: fix inconsistencies in the monitoring data
...
Fixed a few inconsistencies in the monitoring data, in particular when reported from jstat.
Reviewed-by: jmasa, brutisso, johnc
2011-09-23 16:07:49 -04:00
Antonios Printezis
c5b2025c02
7045232: G1: pool names are inconsistent with other collectors (don't have 'Space')
...
Make sure the eden and survivor pools have "Space" in their name.
Reviewed-by: jmasa, ysr
2011-09-21 01:27:20 -04:00
John Cuthbertson
0da9dc64d2
7074579: G1: JVM crash with JDK7 running ATG CRMDemo Fusion App
...
Handlize MemoryUsage klass oop in createGCInfo routine
Reviewed-by: tonyp, fparain, ysr, jcoomes
2011-08-11 11:36:29 -07:00
Tom Rodriguez
8cdd97938c
Merge
2011-05-12 19:39:58 -07:00
Frederic Parain
b38843c8d9
7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
...
Add a notification to the GarbageCollectorMXBeans
Reviewed-by: acorn, mchung
2011-05-12 10:30:11 -07:00
Tom Rodriguez
6aeaca98d1
6939861: JVM should handle more conversion operations
...
Reviewed-by: twisti, jrose
2011-05-06 16:33:13 -07:00
Jon Masamitsu
6663052a88
6946417: G1: Java VisualVM does not support G1 properly
...
Added counters for jstat
Reviewed-by: tonyp, jwilhelm, stefank, ysr, johnc
2011-04-21 10:23:44 -07:00
Erik Trimble
c9e484d473
7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
...
Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: ohair
2011-04-05 14:12:31 -07:00
Tom Rodriguez
31ac558f3d
7029509: nightly failures after static fields in Class
...
Reviewed-by: kvn
2011-03-21 14:06:50 -07:00
Stefan Karlsson
46bcea93ef
7020992: jmm_DumpThreads should not allocate system object arrays outside the perm gen
...
Allocate ordinary object arrays
Reviewed-by: ysr, never, mchung
2011-02-21 11:26:45 +01:00
Antonios Printezis
57d8e5b8ba
Merge
2011-02-14 22:21:18 -05:00
Stefan Karlsson
311bd2a9a9
7018257: jmm_DumpThreads allocates into permgen
...
Don't allocate in permgen
Reviewed-by: ysr, sla
2011-02-11 14:15:16 +01:00
Yasumasa Suenaga
60418bbde3
7015169: GC Cause not always set
...
Sometimes the gc cause was not always set. This caused JStat to print the wrong information.
Reviewed-by: tonyp, ysr
2011-02-03 20:49:09 -08:00
Keith McGuigan
8a44936bb0
6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
...
Defer posting events from the compiler thread: use service thread
Reviewed-by: coleenp, dholmes, never, dcubed
2011-02-02 14:38:01 -05:00
Coleen Phillimore
7b4f8073f0
6990754: Use native memory and reference counting to implement SymbolTable
...
Move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank
2011-01-27 16:11:27 -08:00
Coleen Phillimore
f29b91c7b1
6811367: Fix code in HeapDumper::dump_heap() to avoid buffer overrun
...
Check buffer size before using and use dynamic buffer sizes for subsequent calls.
Reviewed-by: kamg, dholmes
2011-01-14 13:47:53 -05:00
Paul Hohensee
7b0134a7cb
7003271: Hotspot should track cumulative Java heap bytes allocated on a per-thread basis
...
Track allocated bytes in Thread's, update on TLAB retirement and direct allocation in Eden and tenured, add JNI methods for ThreadMXBean.
Reviewed-by: coleenp, kvn, dholmes, ysr
2011-01-07 10:42:32 -05:00
Stefan Karlsson
8006fe8f75
6989984: Use standard include model for Hospot
...
Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Tomas Hurka
ce872b40fb
6765718: Indicate which thread throwing OOME when generating the heap dump at OOME
...
Emit a fake frame that makes it look like the thread is in the OutOfMemoryError zero-parameter constructor
Reviewed-by: dcubed
2010-09-11 08:18:31 +02:00
Antonios Printezis
b513e518d2
6980206: G1: assert(has_undefined_max_size, "Undefined max size");
...
An assert in the management.cpp is too strong and assumes the max size is always defined on memory pools, even when we don't need to use it.
Reviewed-by: mchung, johnc
2010-08-27 13:34:14 -04:00
Antonios Printezis
1456a4c423
6941275: G1: The MemoryPools are incorrectly supported for G1
...
The way we were caluclating the max value meant that it might fluctuate during the run and this broke some assumptions inside the MBeans framework. This change sets the max value of each pool to -1, which means undefined according to the spec.
Reviewed-by: mchung, johnc
2010-08-25 08:44:58 -04:00