241 Commits

Author SHA1 Message Date
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
Antonios Printezis
9cf0c891d9 6815790: G1: Missing MemoryPoolMXBeans with -XX:+UseG1GC
It introduces the necessary memory pools for G1.

Reviewed-by: mchung, ysr
2009-11-20 14:47:01 -05:00
Paul Hohensee
e38fa6385f 6898160: Need serviceability support for new vm argument type 'uint64_t'
Add serviceability support for uint64_t. Flags of unknown type assert in debug builds and are ignored in product builds.

Reviewed-by: never, xlu, mchung, dcubed
2009-11-04 16:49:23 -05:00
Xiaobin Lu
f5e722511a Merge 2009-10-30 17:24:14 -07:00
Paul Hohensee
2f7d60fa36 6887571: Increase default heap config sizes
Apply modification of existing server heap size ergo to all collectors except CMS.

Reviewed-by: jmasa, ysr, xlu
2009-10-28 16:25:51 -04:00
Y. Srinivas Ramakrishna
cd43e74d4e 6818264: Heap dumper unexpectedly adds .hprof suffix
Restore old behaviour wrt HeapDumpPath; first dump goes to <file>, <n>th dump goes to <file>.<n-1>, with default value of <file> the same as before.

Reviewed-by: alanb, jcoomes, tonyp
2009-10-28 11:16:42 -07:00
Xiomara Jayasena
15f08eb80e 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:10 -07:00
Mandy Chung
08f5aeffc1 6857194: Add hotspot perf counters to aid class loading performance measurement
Add new jvmstat counters to measure detailed class loading time

Reviewed-by: acorn, kamg
2009-07-10 11:10:00 -07:00
Erik Trimble
8d6035660e Merge 2009-03-12 18:16:36 -07:00
Xiomara Jayasena
2be2e027b0 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:46 -07:00
Y. Srinivas Ramakrishna
72bfacbd95 6797870: Add -XX:+{HeapDump,PrintClassHistogram}{Before,After}FullGC
Call newly created CollectedHeap::dump_{pre,post}_full_gc before and after every stop-world full collection cycle on GenCollectedHeap and ParallelScavengeHeap. (Support for G1CollectedHeap forthcoming under CR 6810861.) Small modifications to existing heap dumping and class histogram implementation, especially to allow multiple on-the-fly histos/dumps by the VM thread during a single safepoint.

Reviewed-by: jmasa, alanb, mchung
2009-03-02 16:37:04 -08:00
John Coomes
2ba0d5b055 Merge 2009-01-14 14:12:55 -08:00
Jon Masamitsu
3474623106 6689653: JMapPerm fails with UseConcMarkSweepIncGC and compressed oops off
Added safe_object_iterate() for use by JMapPerm.

Reviewed-by: tonyp
2009-01-06 07:05:05 -08:00
Erik Trimble
ac1f463988 Merge 2008-12-20 09:58:36 -08:00
Xiomara Jayasena
99f0eac1a2 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:11 -08:00
Swamy Venkataramanappa
06e37c03fb 6653214: MemoryPoolMXBean.setUsageThreshold() does not support large heap sizes
Reviewed-by: ysr, mchung
2008-12-15 13:58:57 -08:00
Mandy Chung
e5e6ca9d62 6306922: Dump dump created by +HeapDumpOnOutOfMemoryError should include stack traces for stack roots
Include stack traces of all threads in the heap dump

Reviewed-by: alanb
2008-10-14 15:16:38 -07:00
Antonios Printezis
615777b6da Merge 2008-08-21 23:36:31 -04:00
Keith McGuigan
74faacc945 6721093: -XX:AppendRatio=N not supported
Add mechanism to ignore unsupported flags for a set period of time

Reviewed-by: acorn, never, coleenp
2008-07-28 14:07:44 -04:00
Xiomara Jayasena
c96a95c4b8 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:16 -07:00
Y. Srinivas Ramakrishna
d44be8e3a0 6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
Experimental() flags will protect features of an experimental nature that are not supported in the regular product build. Made UseG1GC an experimental flag.

Reviewed-by: jmasa, kamg, coleenp
2008-06-30 17:04:59 -07:00
Y. Srinivas Ramakrishna
18f3386a98 6711316: Open source the Garbage-First garbage collector
First mercurial integration of the code for the Garbage-First garbage collector.

Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
2008-06-05 15:57:56 -07:00
John R Rose
bb7ccea4ff 6652736: well known classes in system dictionary are inefficiently processed
Combine many scalar variables into a single enum-indexed array in SystemDictionary.

Reviewed-by: kvn
2008-04-29 19:45:22 -07:00
Coleen Phillimore
4a831d45f0 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv

Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
2008-04-13 17:43:42 -04:00
Vladimir Kozlov
9f1a8ede80 6633953: type2aelembytes{T_ADDRESS} should be 8 bytes in 64 bit VM
T_ADDRESS size is defined as 'int' size (4 bytes) but C2 use it for raw pointers and as memory type for StoreP and LoadP nodes.

Reviewed-by: jrose
2008-02-25 15:05:44 -08:00
J. Duke
8153779ad3 Initial load 2007-12-01 00:00:00 +00:00