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
Kevin Walls
5fb46fd5a8
6581734: CMS Old Gen's collection usage is zero after GC which is incorrect
...
Management code enabled for use by a concurrent collector.
Reviewed-by: mchung, ysr
2010-07-30 22:43:50 +01:00
Erik Trimble
ba7c173659
6941466: Oracle rebranding changes for Hotspot repositories
...
Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
John Cuthbertson
b1867e0dd5
6819061: G1: eliminate serial Other times that are proportional to the collection set length
...
6871109: G1: remove the concept of the scan only prefix
Removed scan only regions and associated code. The young portion of the collection set is now constructed incrementally - when a young region is retired as the current allocation region it is added to the collection set.
Reviewed-by: apetrusenko, iveresov, tonyp
2010-04-22 10:02:38 -07:00
Daniel D. Daugherty
6fb483993a
Merge
2010-03-23 17:29:13 -07:00
Daniel D. Daugherty
30e02ce948
6915365: 3/4 assert(false,"Unsupported VMGlobal Type") at management.cpp:1540
...
Remove assert to decouple JDK and HotSpot additions of known types.
Reviewed-by: mchung
2010-03-23 14:37:18 -07:00
Frederic Parain
2450ae35a1
6935224: Adding new DTrace probes to work with Palantir
...
Adding probes related to thread scheduling and class initialization
Reviewed-by: kamg, never
2010-03-17 11:01:05 +01:00
John Cuthbertson
0356567ed8
6782663: Data produced by PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime is not accurate
...
Update and display the timers associated with these flags for all safepoints.
Reviewed-by: ysr, jcoomes
2010-02-09 13:56:09 -08:00
Tom Rodriguez
98449cf2c2
6914300: ciEnv should export all well known classes
...
Reviewed-by: kvn, twisti
2010-01-06 14:22:39 -08:00
Jon Masamitsu
c5b5e2e3a7
Merge
2009-12-11 08:39:30 -08:00
Antonios Printezis
203cd9408a
6904967: G1: some CollectionUsageThreshold tests fail
...
Ensure that max and committed are non-zero (currently: at least as large as the region size).
Reviewed-by: iveresov, mchung
2009-12-07 14:22:34 -05:00
Antonios Printezis
911a80e5d5
6906565: G1: deal with compilation warning in g1MemoryPool.hpp
...
Size_t max_size() hides size_t max_size() const.
Reviewed-by: jmasa, ysr
2009-12-04 07:44:41 -05:00
Antonios Printezis
8a125d9913
6880903: G1: G1 reports incorrect Runtime.maxMemory()
...
G1 reports committed memory instead of reserved memory from the Runtime.maxMemory() method
Reviewed-by: ysr, jmasa
2009-12-04 07:44:35 -05:00