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
Zhengyu Gu
a988fc0968
Merge
2012-11-09 22:22:53 -08:00
Zhengyu Gu
07b3c477fe
Merge
2012-11-09 16:45:20 -08:00
Zhengyu Gu
f47de1cb41
8001592: NMT: assertion failed: assert(_amount >= amt) failed: Just check: memBaseline.hpp:180
...
Fixed NMT that miscounted arena memory when it is used as value or stack object.
Reviewed-by: acorn, coleenp
2012-11-09 19:24:31 -05:00
Zhengyu Gu
1abc21c310
8002273: NMT to report JNI memory leaks when -Xcheck:jni is on
...
Allows NMT to report that JNI thread failed to detach from JVM before exiting, which leaks the JavaThread object when check:jni option is on.
Reviewed-by: acorn, dholmes, coleenp, ctornqvi
2012-11-09 11:04:06 -05:00
Harold Seigel
7fee66f152
8000725: NPG: method_holder() and pool_holder() and pool_holder field should be InstanceKlass
...
Change types of above methods and field to InstanceKlass and remove unneeded casts from the source files.
Reviewed-by: dholmes, coleenp, zgu
2012-11-06 15:09:37 -05:00
Zhengyu Gu
c1df1d9659
8001591: NMT: assertion failed: assert(rec->addr() + rec->size() <= cur->base()) failed: Can not overlap in memSnapshot.cpp
...
NMT should allow overlapping committed regions as long as they belong to the same reserved region
Reviewed-by: dholmes, coleenp
2012-11-05 15:30:22 -05:00
Zhengyu Gu
3e481cdd81
7199092: NMT: NMT needs to deal overlapped virtual memory ranges
...
Enhanced virtual memory tracking to track committed regions as well as reserved regions, so NMT now can generate virtual memory map.
Reviewed-by: acorn, coleenp
2012-10-19 21:40:07 -04: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
Mikael Vidstedt
769dd50182
7197424: update copyright year to match last edit in jdk8 hotspot repository
...
Update copyright year to 2012 for relevant files
Reviewed-by: dholmes, coleenp
2012-10-09 10:09:34 -07: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
Nils Loodin
8bc04a0b28
7200092: Make NMT a bit friendlier to work with
...
Reviewed-by: kvn, ysr, azeemj
2012-09-21 10:56:28 +02: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
Zhengyu Gu
fb2076c572
7188594: Print statistic collected by NMT with VM flag
...
Print out statistics of collected NMT data if it is on at VM exits
Reviewed-by: kvn, coleenp, twisti
2012-09-17 16:37:26 -04:00
Zhengyu Gu
afd497eecc
7190089: NMT ON: NMT failed assertion on thread's stack base address
...
Solaris only, record stack info to NMT after stack size adjustment was made for primordial threads
Reviewed-by: kvn, acorn, coleenp
2012-09-17 10:20:04 -04:00
Zhengyu Gu
442e4b0e54
7181995: NMT ON: NMT assertion failure assert(cur_vm->is_uncommit_record() || cur_vm->is_deallocation_record
...
Fixed virtual memory records merge and promotion logic, should be based on sequence number vs. base address order
Reviewed-by: coleenp, acorn
2012-09-11 20:53:17 -04: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
Daniel D. Daugherty
9d85b8e187
Merge
2012-08-17 11:57:46 -07:00
Zhengyu Gu
5bc134a53b
7191124: Optimized build is broken due to inconsistent use of DEBUG_ONLY and NOT_PRODUCT macros in NMT
...
Updated all related variables and methods to use NOT_PRODUCT macros
Reviewed-by: coleenp, acorn, kvn
2012-08-14 13:56:46 -04:00
Zhengyu Gu
a13f3bdad8
7185614: NMT ON: "check by caller" assertion failed on nsk ThreadMXBean test
...
7187429: NMT ON: Merge failure should cause NMT to shutdown
Fixed NMT assertion failures
Reviewed-by: acorn, kvn
2012-08-01 17:19:30 -04:00
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