Vladimir Kozlov
2641db378b
6863420: os::javaTimeNanos() go backward on Solaris x86
...
Use new atomic long load method Atomic::load() to load max_hrtime.
Reviewed-by: never, ysr, johnc, phh, dcubed, acorn
2009-07-26 16:40:14 -07:00
Vladimir Kozlov
1a7cfb7023
Merge
2009-07-24 09:01:00 -07:00
Vladimir Kozlov
b0f75657c5
6826736: CMS: core dump with -XX:+UseCompressedOops
...
Fix deoptimization code and OopMapSet::all_do() to check for oop = narrow_oop_base.
Reviewed-by: jcoomes, phh, ysr, never
2009-07-22 15:48:51 -07:00
Y. Srinivas Ramakrishna
075c1335cb
6700789: G1: Enable use of compressed oops with G1 heaps
...
Modifications to G1 so as to allow the use of compressed oops.
Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
2009-07-14 15:40:39 -07:00
Antonios Printezis
1215bc6717
6855834: G1: minimize the output when -XX:+PrintHeapAtGC is set
...
Changing the behavior of -XX:+PrintHeapAtGC for G1 from printing lengthy, per-region information to instead printing a concise summary.
Reviewed-by: ysr, apetrusenko, jcoomes
2009-07-07 14:23:00 -04:00
Vladimir Kozlov
9d4cd45834
Merge
2009-07-01 15:06:54 -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
Vladimir Kozlov
7b9d6a79ac
6837472: com/sun/jdi/MonitorFrameInfo.java fails with AggressiveOpts in 6u14
...
Disable escape analysis when jvmti/debugger is used. Add support for EA ibto SA.
Reviewed-by: never
2009-06-09 16:19:10 -07:00
Y. Srinivas Ramakrishna
9d9317de4c
6820167: GCALotAtAllSafepoints + FullGCALot(ScavengeALot) options crash JVM
...
Short-circuit gc-a-lot attempts by non-JavaThreads; SkipGCALot c'tor to elide re-entrant gc-a-lot attempts.
Reviewed-by: apetrusenko, jcoomes, jmasa, kamg
2009-06-11 12:40:00 -07:00
Jon Masamitsu
46dcdf10e6
Merge
2009-06-10 14:57:21 -07:00
Changpeng Fang
0429abd38a
6848466: frame::frame_size() assertion failure with -XX:+DebugDeoptimization
...
Add a RegisterMap* argument to frame::frame_size() to correctly compute the sender frame
Reviewed-by: never
2009-06-05 10:25:39 -07:00
Igor Veresov
8c764e214c
6484957: G1: parallel concurrent refinement
...
6826318: G1: remove traversal-based refinement code
Removed traversal-based refinement code as it's no longer used. Made the concurrent refinement (queue-based) parallel.
Reviewed-by: tonyp
2009-05-11 16:30:56 -07:00
Vladimir Kozlov
b5cff6a1a0
Merge
2009-05-08 10:34:31 -07:00
Christian Thalinger
6a270f9f19
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
...
These methods can be instrinsified by using bit scan, bit test, and population count instructions.
Reviewed-by: kvn, never
2009-05-06 00:27:52 -07:00
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