Poonam Bajaj
6d21b1e4cd
6822407: heapOopSize lookup is incorrect in Serviceability Agent
...
HeapOopSize symbol should be declared as constant in vmStructs and should not be looked up in readVMIntConstants().
Reviewed-by: never, swamyv, coleenp
2009-03-27 10:29:54 -07:00
Tom Rodriguez
3b786f8edc
Merge
2009-03-26 14:39:39 -07:00
Tom Rodriguez
134debb0ba
6822204: volatile fences should prefer lock:addl to actual mfence instructions
...
Reviewed-by: kvn, phh
2009-03-26 14:31:45 -07:00
Andrey Petrusenko
cf2ae8d98d
6543938: G1: remove the concept of popularity
...
Reviewed-by: iveresov, tonyp
2009-03-25 13:10:54 -07:00
Coleen Phillimore
cec3a034d1
6541756: Reduce executable C-heap
...
Add executable parameters to reserve_memory and commit_memory to reduce executable memory to only the Code Heap.
Reviewed-by: xlu, kvn, acorn
2009-03-25 14:19:20 -04:00
Paul Hohensee
5231fcdc40
6810653: Change String cache class used by Hotspot from String to StringValue
...
Change create_vm() to load and initialize StringValue rather than String.
Reviewed-by: kvn
2009-03-24 21:56:53 -04:00
John R Rose
cfb08c72ba
6814659: separable cleanups and subroutines for 6655638
...
Preparatory but separable changes for method handles
Reviewed-by: kvn, never
2009-03-20 23:19:36 -07:00
Vladimir Kozlov
41463d1d3a
Merge
2009-03-19 09:13:24 -07:00
Vladimir Kozlov
f210928e73
6816308: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
...
Allow Hotspot builds with latest Windows SDK 6.1 on 64bit Windows 2003
Reviewed-by: ohair, tbell, jcoomes
2009-03-16 15:06:33 -07:00
Christian Thalinger
de67e52949
6378821: bitCount() should use POPC on SPARC processors and AMD+10h
...
BitCount() should use POPC on SPARC processors where POPC is implemented directly in hardware.
Reviewed-by: kvn, never
2009-03-13 11:35:17 -07:00
Erik Trimble
8d6035660e
Merge
2009-03-12 18:16:36 -07:00
Vladimir Kozlov
69f9ddee90
6791178: Specialize for zero as the compressed oop vm heap base
...
Use zero based compressed oops if java heap is below 32gb and unscaled compressed oops if java heap is below 4gb.
Reviewed-by: never, twisti, jcoomes, coleenp
2009-03-12 10:37:46 -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
Antonios Printezis
faf22e51ad
Merge
2009-03-09 11:32:57 -04:00
Karen Kinnear
a23cbf5b96
Merge
2009-03-05 22:07:29 -05:00
Y. Srinivas Ramakrishna
ce3f3161da
6824570: ParNew: Fix memory leak introduced in 6819891
...
Allocate worker-local overflow stacks, introduced in 6819891, along with ParNewGeneration, rather than with the per-scavenge ParScanThreadState.
Reviewed-by: jmasa
2009-04-02 15:57:41 -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
Daniel D. Daugherty
8aa430beb0
Merge
2009-03-02 14:43:36 -07:00
Daniel D. Daugherty
da3f81559f
6805864: 4/3 Problem with jvmti->redefineClasses: some methods don't get redefined
...
Remove incorrect optimization in klassItable::adjust_method_entries(). Add RedefineClasses() tracing support for obsolete method entry.
Reviewed-by: acorn, swamyv
2009-03-02 14:03:03 -07:00
Daniel D. Daugherty
56fe18e375
6800721: 3/4 JavaThread::jvmti_thread_state() and JvmtiThreadState::state_for() robustness
...
Check for NULL return values from jvmti_thread_state() and state_for() and return a JVM TI error code as appropriate.
Reviewed-by: coleenp, swamyv
2009-03-02 14:00:23 -07:00
Christian Thalinger
05d1de7727
6810672: Comment typos
...
I have collected some typos I have found while looking at the code.
Reviewed-by: kvn, never
2009-02-27 13:27:09 -08:00
Vladimir Kozlov
681eb89b31
Merge
2009-02-17 14:30:24 -08:00
Y. Srinivas Ramakrishna
0badccf962
6800586: -XX:+PrintGCDateStamps is using mt-unsafe localtime function
...
Replaced localtime() with localtime_r() on Solaris and Linux.
Reviewed-by: apetrusenko, dholmes, jmasa
2009-02-09 12:26:05 -08:00
Jon Masamitsu
3b5d6a04dd
6690928: Use spinning in combination with yields for workstealing termination
...
Substitute a spin loop for most calls to yield() to reduce the stress on the system.
Reviewed-by: tonyp
2009-02-08 13:18:01 -08:00
Vladimir Kozlov
72b75d1adf
6788376: allow to ignore unrecognized VM options
...
Add new product flag -XX:+IgnoreUnrecognizedVMOptions
Reviewed-by: ysr, xlu
2009-02-05 13:38:52 -08:00
Y. Srinivas Ramakrishna
d981bd442b
6787254: Work queue capacity can be increased substantially on some platforms
...
Increased the default and maximum size of the CMS marking stack and the size of the parallel workers' work queues in 64-bit mode. The latter was accomplished by an increase in the width of the Taskqueue's Age struct and its Tag field in 64-bit mode.
Reviewed-by: jmasa, tonyp
2009-01-30 14:17:52 -08:00
Y. Srinivas Ramakrishna
34b247f068
Merge
2009-01-29 21:25:42 -08:00
Y. Srinivas Ramakrishna
f031c45430
6786503: Overflow list performance can be improved
...
Avoid overflow list walk in CMS & ParNew when it is unnecessary. Fix a couple of correctness issues, including a C-heap leak, in ParNew at the intersection of promotion failure, work queue overflow and object array chunking. Add stress testing option and related assertion checking.
Reviewed-by: jmasa
2009-01-26 12:47:21 -08:00
Paul Hohensee
73aaa40e09
6792705: Add JAR file to bootclasspath when using AggressiveOpts
...
During argument processing, add alt-rt.jar to the bootclasspath between bootclasspath/p and default elements.
Reviewed-by: xlu, coleenp
2009-01-21 11:14:19 -05:00
Coleen Phillimore
76f79d82ad
Merge
2009-01-09 14:39:07 -05:00
Tom Rodriguez
956dc037db
Merge
2009-01-06 16:10:11 -08:00
Karen Kinnear
315de68fc0
4670071: loadClassInternal is too restrictive
...
VM support for deadlock fix. Library fix in 4735126. See API proposal.
Reviewed-by: dholmes, blacklion
2009-01-05 13:44:03 -05:00
Xiaobin Lu
f05b009ce8
6781583: Hotspot build fails on linux 64 bit platform with gcc 4.3.2
...
Fixed the wrong cast between types since more restrictions are imposed by gcc 4.3.2
Reviewed-by: jcoomes, acorn, phh, never
2008-12-24 19:13:53 -08:00
Gary Benson
347b8afe5b
6778657: Casts in SharedRuntime::f2i, f2l, d2i and d2l rely on undefined C++ behaviour
...
Replaces SharedRuntime::f2i et al with versions that should work
Reviewed-by: never
2008-12-22 15:43:02 -08:00
Erik Trimble
ac1f463988
Merge
2008-12-20 09:58:36 -08:00
Erik Trimble
efd43c045a
Merge
2008-12-20 09:57:03 -08:00
Xiaobin Lu
34c4172bfe
Merge
2008-12-20 00:45:18 -08:00
Poonam Bajaj
0f5687c1eb
6786340: hs14b09a pit: a lot of tests failed in "-server -Xcomp" on solaris-amd64 using fastdebug bits
...
Fixes the nsk-jdi PIT failures introduced by fix for 6739363
Reviewed-by: kvn, coleenp
2008-12-18 17:28:41 -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
Jon Masamitsu
31308ae8e4
Merge
2008-12-12 15:37:46 -08:00
Lev Serebryakov
0d7bfcafab
Merge
2008-12-12 10:19:39 -08:00
Vladimir Kozlov
6483f9c7f8
Merge
2008-12-11 17:20:10 -08:00
John Coomes
8fc946854c
6765954: par compact - stress mode for splitting young gen spaces
...
Reviewed-by: jmasa
2008-12-11 12:05:21 -08:00
John Coomes
000b184507
6578152: fill_region_with_object has usability and safety issues
...
Reviewed-by: apetrusenko, ysr
2008-12-11 12:05:08 -08:00
Lev Serebryakov
92ea783f35
6639341: sometimes contended-exit event comes after contended-entered on another thread
...
DTrace probe "contended-exit" should be fired before unparking object, or context could be lost. Probe firing was moved to proper place.
Reviewed-by: coleenp, kamg
2008-12-11 03:22:04 -08:00
Coleen Phillimore
e0d2bfab81
6727377: VM stack guard pages on Windows should PAGE_READWRITE not PAGE_EXECUTE_READWRITE
...
Make reguard_stack change access to RW, not execute and use os::protect_memory with the new parameter when change needed to X.
Reviewed-by: acorn, jcoomes
2008-12-10 15:14:29 -08:00
John R Rose
e50f766540
6779339: turn off LinkWellKnownClasses by default pending further testing
...
Temporarily turn off LinkWellKnownClasses optimization
Reviewed-by: never, kvn
2008-12-08 17:15:02 -08:00
Lev Serebryakov
1d59997abe
Merge
2008-12-05 15:06:37 -05:00
Poonam Bajaj
9330807714
Merge
2008-12-04 17:48:02 -08:00