John Cuthbertson
55750920b4
6490395: G1: Tidy up command line flags
...
Change G1 flag names to be more consistent and disable some in 'product' mode.
Reviewed-by: tonyp, iveresov
2009-04-30 15:07:53 -07:00
Vladimir Kozlov
2c4602adb3
6834177: Running jsynprog on Solaris Nevada can cause JVM crash
...
Use CodeCache buffer blob instead of static buffer in AdapterHandlerLibrary.
Reviewed-by: never
2009-04-29 12:58:09 -07:00
John R Rose
34c1d72421
6655646: dynamic languages need dynamically linked call sites
...
Invokedynamic instruction (JSR 292 RI)
Reviewed-by: twisti, never
2009-04-21 23:21:04 -07:00
Tom Rodriguez
62717f091a
Merge
2009-04-14 12:25:54 -07:00
John R Rose
ce0c084720
6655638: dynamic languages need method handles
...
Initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.)
Reviewed-by: kvn, twisti, never
2009-04-08 10:56:49 -07:00
Xiaobin Lu
62fa852746
6699669: Hotspot server leaves synchronized block with monitor in bad state
...
Remove usage of _highest_lock field in Thread so that is_lock_owned won't depend on the correct update of that field.
Reviewed-by: never, dice, acorn
2009-04-06 15:47:39 -07:00
Y. Srinivas Ramakrishna
e1b2c1c442
Merge
2009-04-03 15:59:19 -07:00
Karen Kinnear
d4f2196cd0
Merge
2009-04-02 18:17:03 -04:00
Karen Kinnear
1f5324fed4
6825642: nsk sajdi tests fail with NullPointerException
...
Reviewed-by: xlu, coleenp, kamg, swamyv
2009-04-02 14:26:42 -04:00
Tom Rodriguez
e36afee3bd
Merge
2009-04-02 10:49:41 -07:00
Andrey Petrusenko
a8f9284064
Merge
2009-04-02 05:22:02 -07:00
Paul Hohensee
4be7c3c672
6819213: revive sun.boot.library.path
...
Support multiplex and mutable sun.boot.library.path
Reviewed-by: acorn, dcubed, xlu
2009-04-01 16:38:01 -04:00
Changpeng Fang
c0d62ad9e6
6761600: Use sse 4.2 in intrinsics
...
Use SSE 4.2 in intrinsics for String.{compareTo/equals/indexOf} and Arrays.equals.
Reviewed-by: kvn, never, jrose
2009-03-31 14:07:08 -07:00
Vladimir Kozlov
aee9449305
Merge
2009-03-31 10:02:01 -07:00
Vladimir Kozlov
705188bb7b
6821700: tune VM flags for peak performance
...
Tune C2 flags default values for performance.
Reviewed-by: never, phh, iveresov, jmasa, ysr
2009-03-30 18:19:31 -07:00
Y. Srinivas Ramakrishna
137a679446
6819891: ParNew: Fix work queue overflow code to deal correctly with +UseCompressedOops
...
When using compressed oops, rather than chaining the overflowed grey objects' pre-images through their klass words, we use GC-worker thread-local overflow stacks.
Reviewed-by: jcoomes, jmasa
2009-03-28 15:47:29 -07:00
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