Gary Collins
d164c986b5
Merge
2011-08-17 07:05:42 -04:00
Vladimir Kozlov
90651b2666
7079329: Adjust allocation prefetching for T4
...
On T4 2 BIS instructions should be issued to prefetch 64 bytes
Reviewed-by: iveresov, phh, twisti
2011-08-16 16:59:46 -07:00
Vladimir Kozlov
080f790edc
7079317: Incorrect branch's destination block in PrintoOptoAssembly output
...
Save/restore label and block in scratch_emit_size()
Reviewed-by: never
2011-08-16 11:53:57 -07:00
Y. Srinivas Ramakrishna
183a935fcb
Merge
2011-08-16 08:02:29 -07:00
Zhengyu Gu
1b7f659a43
Merge
2011-08-16 09:18:47 -04:00
Christian Thalinger
134c40b4db
7071653: JSR 292: call site change notification should be pushed not pulled
...
Reviewed-by: kvn, never, bdelsart
2011-08-16 04:14:05 -07:00
Antonios Printezis
f482091133
7039627: G1: avoid BOT updates for survivor allocations and dirty survivor regions incrementally
...
Refactor the allocation code during GC to use the G1AllocRegion abstraction. Use separate subclasses of G1AllocRegion for survivor and old regions. Avoid BOT updates and dirty survivor cards incrementally for the former.
Reviewed-by: brutisso, johnc, ysr
2011-08-12 11:31:06 -04:00
Vladimir Kozlov
ac99f413d7
7063629: use cbcond in C2 generated code on T4
...
Use new short branch instruction in C2 generated code.
Reviewed-by: never
2011-08-11 12:08:11 -07:00
John Cuthbertson
0da9dc64d2
7074579: G1: JVM crash with JDK7 running ATG CRMDemo Fusion App
...
Handlize MemoryUsage klass oop in createGCInfo routine
Reviewed-by: tonyp, fparain, ysr, jcoomes
2011-08-11 11:36:29 -07:00
Kevin Walls
e6603b37f2
Merge
2011-08-11 14:58:29 +01:00
Vladimir Kozlov
52f678435a
7077439: Possible reference through NULL in loopPredicate.cpp:726
...
Use cl->is_valid_counted_loop() check.
Reviewed-by: never
2011-08-10 14:06:57 -07:00
Andrew Haley
aefb3a004f
7073913: The fix for 7017193 causes segfaults
...
Buffer overflow in os::get_line_chars
Reviewed-by: coleenp, dholmes, dcubed
2011-08-10 15:04:21 +04:00
Andrew John Hughes
c4b791d93a
7060836: RHEL 5.5 and 5.6 should support UseNUMA
...
Add a wrapper for sched_getcpu() for systems where libc lacks it
Reviewed-by: ysr
2011-08-05 16:50:14 -07:00
Igor Veresov
427c404400
7060842: UseNUMA crash with UseHugreTLBFS running SPECjvm2008
...
Use mmap() instead of madvise(MADV_DONTNEED) to uncommit pages
Reviewed-by: ysr
2011-08-05 16:44:01 -07:00
John Cuthbertson
f7d3d2b63e
7069863: G1: SIGSEGV running SPECjbb2011 and -UseBiasedLocking
...
Align the reserved size of the heap and perm to the heap region size to get a preferred heap base that is aligned to the region size, and call the correct heap reservation constructor. Also add a check in the heap reservation code that the reserved space starts at the requested address (if any).
Reviewed-by: kvn, ysr
2011-08-02 12:13:13 -07:00
Roland Westrelin
b543a07b9a
7074017: Introduce MemBarAcquireLock/MemBarReleaseLock nodes for monitor enter/exit code paths
...
Replace MemBarAcquire/MemBarRelease nodes on the monitor enter/exit code paths with new MemBarAcquireLock/MemBarReleaseLock nodes
Reviewed-by: kvn, twisti
2011-08-02 18:36:40 +02:00
Tom Rodriguez
9cd1a00e3f
7075623: 6990212 broke raiseException in 64 bit
...
Reviewed-by: kvn, twisti
2011-08-08 13:19:46 -07:00
Chris Phillips
6a54c8a55f
7071823: Zero: zero/shark doesn't build after b147-fcs
...
Reviewed-by: gbenson, twisti
2011-08-08 05:49:04 -07:00
Vladimir Kozlov
5ad0c2a370
7075559: JPRT windows_x64 build failure
...
Use SA_CLASSDIR variable instead of dirsctory saclasses.
Reviewed-by: kamg, dcubed
2011-08-06 08:28:08 -07:00
Krystal Mok
24e8905fdf
7072527: CMS: JMM GC counters overcount in some cases
...
Avoid overcounting when CMS has concurrent mode failure.
Reviewed-by: ysr
2011-08-02 14:37:35 +01:00
John Cuthbertson
144fb9dc25
7068240: G1: Long "parallel other time" and "ext root scanning" when running specific benchmark
...
In root processing, move the scanning of the reference processor's discovered lists to before RSet updating and scanning. When scanning the reference processor's discovered lists, use a buffering closure so that the time spent copying any reference object is correctly attributed. Also removed a couple of unused and irrelevant timers.
Reviewed-by: ysr, jmasa
2011-08-01 10:04:28 -07:00
Vladimir Kozlov
df8d608ac7
7068051: SIGSEGV in PhaseIdealLoop::build_loop_late_post
...
Removed predicate cloning from loop peeling optimization and from split fall-in paths.
Reviewed-by: never
2011-07-29 09:16:29 -07:00
Tom Rodriguez
e30a679033
7060619: C1 should respect inline and dontinline directives from CompilerOracle
...
Reviewed-by: kvn, iveresov
2011-07-28 13:03:39 -07:00
Andrew John Hughes
28383f3e18
7072341: enable hotspot builds on Linux 3.0
...
Add "3" to list of allowable versions
Reviewed-by: kamg, chrisphi
2011-07-28 14:10:21 -04:00
Xerxes Ranby
23b10ec618
7066143: JSR 292: Zero support after regressions from 7009923 and 7009309
...
Reviewed-by: jrose, twisti
2011-07-28 02:14:44 -07:00
Vladimir Kozlov
18329266ea
7069452: Cleanup NodeFlags
...
Remove flags which duplicate information in Node::NodeClasses.
Reviewed-by: never
2011-07-27 17:28:36 -07:00
Tom Rodriguez
c895368552
7071427: AdapterFingerPrint can hold 8 entries per int
...
Reviewed-by: kvn
2011-07-27 15:06:35 -07:00
Vladimir Kozlov
dd43791e4a
7070134: Hotspot crashes with sigsegv from PorterStemmer
...
Do not move data nodes which are attached to a predicate test to a dominating test.
Reviewed-by: never
2011-07-26 19:35:23 -07:00
Coleen Phillimore
3e1a7d0e17
Merge
2011-07-23 10:42:20 -04:00
Erik Trimble
98bbf6a045
7070061: Adjust Hotspot make/jprt.properties for new JDK8 settings
...
Fix so the JPRT can build with -release jdk8 now
Reviewed-by: ohair
2011-07-22 23:42:46 -07:00
Erik Trimble
25bac45a67
7069176: Update the JDK version numbers in Hotspot for JDK 8
...
Change JDK_MINOR_VER and JDK_PREVIOUS_VERSION to reflect JDK8 values
Reviewed-by: jcoomes
2011-07-22 23:47:17 -07:00
Erik Trimble
4a81ae28b7
Merge
2011-07-23 01:56:51 -07:00
David Holmes
536904f7d3
7046490: Preallocated OOME objects should obey Throwable stack trace protocol
...
Update the OOME stacktrace to contain Throwable.UNASSIGNED_STACK when the backtrace is filled in
Reviewed-by: mchung, phh
2011-07-22 00:29:01 -07:00
Vladimir Kozlov
48c1293916
7063628: Use cbcond on T4
...
Add new short branch instruction to Hotspot sparc assembler.
Reviewed-by: never, twisti, jrose
2011-07-21 11:25:07 -07:00
Tom Rodriguez
aa16309657
7012081: JSR 292: SA-JDI can't read MH/MT/Indy ConstantPool entries
...
Reviewed-by: kvn, twisti, jrose
2011-07-21 08:38:25 -07:00
Igor Veresov
aa89b8c08d
7066339: Tiered: policy should make consistent decisions about osr levels
...
Added feedback disabling flag to common(), fixed handling of TieredStopAtLevel.
Reviewed-by: kvn, never
2011-07-20 18:04:17 -07:00
Coleen Phillimore
0d6e53412e
Merge
2011-07-16 22:21:39 -04:00
Tom Rodriguez
8acdd5ce55
6990212: JSR 292 JVMTI MethodEnter hook is not called for JSR 292 bootstrap and target methods
...
Check for single stepping when dispatching invokes from method handles
Reviewed-by: coleenp, twisti, kvn, dsamersoff
2011-07-15 15:35:50 -07:00
Vladimir Kozlov
cf91e8dbca
7067288: compiler regression test Test7052494 timeouts with client VM
...
Test is modified to reduce number of iterations in test5() and test6().
Reviewed-by: never, iveresov
2011-07-14 15:39:40 -07:00
Vladimir Kozlov
fcc8abec1e
Merge
2011-07-13 10:48:42 -07:00
Zhengyu Gu
fcba257a74
7065535: Mistyped function name that disabled UseLargePages on Windows
...
Missing suffix "A" of Windows API LookupPrivilegeValue failed finding function pointer, caused VM to disable UseLargePages option
Reviewed-by: coleenp, phh
2011-07-12 21:13:53 -04:00
John Coomes
abe5e3a903
Merge
2011-07-12 16:32:25 -07:00
John Coomes
61e2d7af10
7061212: use o/s low memory notification in embedded builds
...
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-11 14:15:43 -07:00
Igor Veresov
09a3aca98b
7058510: multinewarray with 6 dimensions uncommon traps in server compiler
...
Pass arguments to runtime via java array for arrays with > 5 dimensions
Reviewed-by: never, kvn, jrose, pbk
2011-07-08 15:33:03 -07:00
Vladimir Kozlov
20a26c54cd
7059034: Use movxtod/movdtox on T4
...
Use new VIS3 mov instructions on T4 for move data between general and float registers.
Reviewed-by: never, twisti
2011-07-08 09:38:48 -07:00
Coleen Phillimore
f854e0370d
Merge
2011-07-07 22:34:34 -04:00
John Coomes
bf486b030a
7053189: remove some unnecessary platform-dependent includes
...
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-07 15:44:34 -07:00
Vladimir Kozlov
9120c1e85c
Merge
2011-07-07 10:51:07 -07:00
Tom Rodriguez
d57ae98564
7062856: Disassembler needs to be smarter about finding hsdis after 1.7 launcher changes
...
Do explicit lookup emulating old LD_LIBRARY_PATH search
Reviewed-by: kvn, jrose
2011-07-06 18:15:21 -07:00
John Coomes
804e3e1d96
7061225: os::print_cpu_info() should support os-specific data
...
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-06 13:02:54 -07:00
John Coomes
73687afa5e
7061204: clean the chunk table synchronously in embedded builds
...
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-06 12:28:07 -07:00
John Coomes
c76b491afb
7061197: ThreadLocalStorage sp map table should be optional
...
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-06 12:22:29 -07:00
John Coomes
769ba74d9c
7061192: option handling adjustments for oracle and embedded builds
...
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-06 12:17:44 -07:00
John Coomes
07d5e13794
7061187: need some includes for arm/ppc
...
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-06 12:03:01 -07:00
Tom Rodriguez
d23654d851
7061101: adlc should complain about mixing block and expression forms of ins_encode
...
Reviewed-by: kvn
2011-07-06 09:27:54 -07:00
John Coomes
ce3ae66eeb
Merge
2011-07-06 08:43:01 -07:00
Tom Rodriguez
2337123692
6478991: C1 NullCheckEliminator yields incorrect exceptions
...
Reviewed-by: twisti, iveresov
2011-07-05 16:07:54 -07:00
David Holmes
1b8996c8b4
7052988: JPRT embedded builds don't set MINIMIZE_RAM_USAGE
...
Reviewed-by: kamg, dsamersoff
2011-07-02 04:17:12 -04:00
Erik Trimble
d82d76ad4f
7061691: Fork HS21 to HS22 - renumber Minor and build numbers of JVM
...
Update the Minor and Build numbers for HS22 fork
Reviewed-by: jcoomes
2011-07-01 13:07:16 -07:00
Igor Veresov
47caaa4c06
7057120: Tiered: Allow C1 to inline methods with loops
...
Recompile the enclosing methods without inlining of the method that has OSRed to level 4 or recompile the enclosing method at level 4.
Reviewed-by: kvn, never
2011-07-01 10:37:37 -07:00
Igor Veresov
528a9bb452
7058689: Tiered: Reprofiling doesn't happen in presence of level 4 OSR methods
...
Take into account current state of profiling before believing that existing higher level versions are valid
Reviewed-by: kvn, never
2011-07-01 10:35:54 -07:00
Ashok Srinivasa Murthy
774aa0130a
6951623: 3/3 possible performance problems in FollowReferences() and GetObjectsWithTags()
...
Call collect_stack_roots() before collect_simple_roots() as an optimization.
Reviewed-by: ysr, dsamersoff, dcubed
2011-06-29 20:28:58 -07:00
Vladimir Kozlov
b443bf1f4c
7047954: VM crashes with assert(is_Mem()) failed
...
Cast constant array ptrs to bottom
Reviewed-by: never
2011-06-28 15:50:07 -07:00
Vladimir Kozlov
b3505a88a4
7044738: Loop unroll optimization causes incorrect result
...
Take into account memory dependencies when clonning nodes in clone_up_backedge_goo().
Reviewed-by: never
2011-06-28 15:24:29 -07:00
Vladimir Kozlov
565f8579ac
6990015: Incorrect Icache line size is used for 64 bit x86
...
Correct Icache::line_size for x64 and add verification code into vm_version_x86.
Reviewed-by: never, phh
2011-06-28 15:04:39 -07:00
Krystal Mok
976fd97ddf
7058036: FieldsAllocationStyle=2 does not work in 32-bit VM
...
ParseClassFile() incorrectly uses nonstatic_oop_map_size() method instead of nonstatic_oop_map_count().
Reviewed-by: never
2011-06-28 14:30:27 -07:00
Bengt Rutisson
3aaa5fb06d
7016112: CMS: crash during promotion testing
...
Also reviewed by mikael.gerdin@oracle.com ; stdlib:qsort() does byte-by-byte swapping on Windows. This leads to pointer shearing. Fix is to implement a quicksort that does full pointer updates.
Reviewed-by: never, coleenp, ysr
2011-06-28 14:23:27 +02:00
Antonios Printezis
4597e4c7a8
7049999: G1: Make the G1PrintHeapRegions output consistent and complete
...
Extend and make more consistent the output from the G1PrintHeapRegions flag.
Reviewed-by: johnc, jmasa
2011-06-24 12:38:49 -04:00
Ashok Srinivasa Murthy
bc408da53d
7043987: 3/3 JVMTI FollowReferences is slow
...
VM_HeapWalkOperation::doit() should only reset mark bits when necessary.
Reviewed-by: dsamersoff, ysr, dholmes, dcubed
2011-06-23 20:31:43 -07:00
John R Rose
8df44305c7
7056328: JSR 292 invocation sometimes fails in adapters for types not on boot class path
...
Reviewed-by: never
2011-06-23 17:14:06 -07:00
Tom Rodriguez
15161b8cd1
7057587: JSR 292 - crash with jruby in test/test_respond_to.rb
...
Don't skip receiver when GC'ing compiled invokedynamic callsites
Reviewed-by: twisti, kvn, jrose
2011-06-22 14:45:37 -07:00
Jeff Dinkins
e43b81c035
7057046: Add embedded license to THIRD PARTY README
...
Reviewed-by: lana
2011-06-22 10:10:25 -07:00
Antonios Printezis
408e0b1bc1
7046182: G1: remove unnecessary iterations over the collection set
...
Remove two unnecessary iterations over the collection set which are supposed to prepare the RSet's of the CSet regions for parallel iterations (we'll make sure this is done incrementally). I'll piggyback on this CR the removal of the G1_REM_SET_LOGGING code.
Reviewed-by: brutisso, johnc
2011-06-21 15:23:07 -04:00
Tom Rodriguez
7c1d16f7d3
7056380: VM crashes with SIGSEGV in compiled code
...
Code was using andq reg, imm instead of addq addr, imm
Reviewed-by: kvn, jrose, twisti
2011-06-21 09:04:55 -07:00
Antonios Printezis
7ceee7642b
7055073: G1: code cleanup in the concurrentMark.* files
...
Only cosmetic changes to make the concurrentMark.* more consistent, code-style-wise, with the rest of the codebase.
Reviewed-by: johnc, ysr
2011-06-20 22:03:13 -04:00
Vladimir Kozlov
d19a8f6e35
7052494: Eclipse test fails on JDK 7 b142
...
Keep 'ne' test in Counted loop when we can't guarantee during compilation that init < limit.
Reviewed-by: never
2011-06-20 16:45:35 -07:00
Y. Srinivas Ramakrishna
45f42598c1
6916968: CMS: freeList.cpp:304 assert(_allocation_stats.prevSweep() + ..., "Conservation Principle")
...
Fix assert and adjust demand volume computation by adding missing factor.
Reviewed-by: jmasa, tonyp
2011-06-20 09:42:26 -07:00
Tom Rodriguez
5d2e4e676b
7055355: JSR 292: crash while throwing WrongMethodTypeException
...
Reviewed-by: jrose, twisti, bdelsart
2011-06-16 13:46:55 -07:00
Antonios Printezis
937d6ded89
6994322: Remove the is_tlab and is_noref / is_large_noref parameters from the CollectedHeap
...
Remove two unused parameters from the mem_allocate() method and update its uses accordingly.
Reviewed-by: stefank, johnc
2011-06-16 15:51:57 -04:00
Abhijit Saha
6af175455a
7055247: Ignore test of # 7020373
...
Reviewed-by: dcubed
2011-06-15 14:59:55 -07:00
Tom Rodriguez
ca8939dd80
Merge
2011-06-15 10:20:03 -07:00
John Cuthbertson
43d9e95a42
7045751: G1: +ExplicitGCInvokesConcurrent causes excessive single region evacuation pauses
...
When ExplicitGCInvokesConcurrent is enabled, do not perform an evacuation pause if a marking cycle is already in progress and block the requesting thread until the marking cycle completes.
Reviewed-by: tonyp, ysr
2011-06-15 10:18:04 -07:00
Tom Rodriguez
a21aad64af
Merge
2011-06-14 15:20:55 -07:00
Tom Rodriguez
0c0705ca8c
7052219: JSR 292: Crash in ~BufferBlob::MethodHandles adapters
...
Reviewed-by: twisti, kvn, jrose
2011-06-14 14:41:33 -07:00
Christian Thalinger
5919a613cc
7053520: JSR292: crash in invokedynamic with C1 using tiered and compressed oops
...
Reviewed-by: iveresov, never
2011-06-14 12:25:05 -07:00
John Cuthbertson
b94d0b830c
7004681: G1: Extend marking verification to Full GCs
...
Perform a heap verification after the first phase of G1's full GC using objects' mark words to determine liveness. The third parameter of the heap verification routines, which was used in G1 to determine which marking bitmap to use in liveness calculations, has been changed from a boolean to an enum with values defined for using the mark word, and the 'prev' and 'next' bitmaps.
Reviewed-by: tonyp, ysr
2011-06-14 11:01:10 -07:00
Antonios Printezis
015e872efe
7046558: G1: concurrent marking optimizations
...
Some optimizations to improve the concurrent marking phase: specialize the main oop closure, make sure a few methods in the fast path are properly inlined, a few more bits and pieces, and some cosmetic fixes.
Reviewed-by: stefank, johnc
2011-06-14 10:33:43 -04:00
Bengt Rutisson
c0d64ac595
6918185: Remove unused code for lost card-marking optimization in BacktraceBuilder
...
Removed dead code
Reviewed-by: ysr, coleenp, dholmes
2011-06-13 13:48:18 +02:00
Y. Srinivas Ramakrishna
9ca97e4c78
7051430: CMS: ongoing CMS cycle should terminate abruptly to allow prompt JVM termination at exit
...
It turns out that there is no need to explicitly stop CMS since the JVM is taken down at a terminal safepoint during which CMS threads are (terminally) inactive. This will need to be revised if and when we evolve in the future to a point where we allow JVM reincarnation in the same process, but those changes will be much more sweeping than just terminating CMS threads. The unused ::stop() methods will be removed in a separate CR. Also include in this CR is the fix for a small typo in the spelling of UseGCLogFileRotation in a message in arguments.cpp, brought to our attention by Rainer Jung and reviewed by minqi.
Reviewed-by: johnc, jwilhelm
2011-06-13 09:58:16 -07:00
Yumin Qi
f79196c54c
Merge
2011-06-10 15:44:02 -07:00
Yumin Qi
5d0ad03a55
6941923: RFE: Handling large log files produced by long running Java Applications
...
Supply optinal flags to realize gc log rotation
Reviewed-by: ysr, jwilhelm
2011-06-10 15:08:36 -07:00
Antonios Printezis
9332c44d84
7045330: G1: Simplify/fix the HeapRegionSeq class
...
7042285: G1: native memory leak during humongous object allocation
6804436: G1: heap region indices should be size_t
A series of fixes and improvements to the HeapRegionSeq class: a) replace the _regions growable array with a standard C array, b) avoid de-allocating / re-allocating HeapRegion instances when the heap shrinks / grows (fix for 7042285), c) introduce fast method to map address to HeapRegion via a "biased" array pointer, d) embed the _hrs object in G1CollectedHeap, instead of pointing to it via an indirection, e) assume that all the regions added to the HeapRegionSeq instance are contiguous, f) replace int's with size_t's for indexes (and expand that to HeapRegion as part of 6804436), g) remove unnecessary / unused methods, h) rename a couple of fields (_alloc_search_start and _seq_bottom), i) fix iterate_from() not to always start from index 0 irrespective of the region passed to it, j) add a verification method to check the HeapRegionSeq assumptions, k) always call the wrappers for _hrs.iterate(), _hrs_length(), and _hrs.at() from G1CollectedHeap, not those methods directly, and l) unify the code that expands the sequence (by either re-using or creating a new HeapRegion) and make it robust wrt to a HeapRegion allocation failing.
Reviewed-by: stefank, johnc, brutisso
2011-06-10 13:16:40 -04:00
Antonios Printezis
6d6d8a571c
7045662: G1: OopsInHeapRegionClosure::set_region() should not be virtual
...
Make the method non-virtual, remove five unused closures, and fix a couple of copyright typos.
Reviewed-by: stefank, johnc, poonam
2011-06-08 21:48:38 -04:00
John R Rose
bb3a527f9a
7047697: MethodHandle.invokeExact call for wrong method causes VM failure if run with -Xcomp
...
Reviewed-by: never, twisti
2011-06-08 17:04:06 -07:00
Dmitry Samersoff
62767e93dc
Merge
2011-06-09 01:33:42 +04:00
Antonios Printezis
507bff762b
7032531: G1: enhance GC logging to include more accurate eden / survivor size transitions
...
This changeset extends the logging information generated by +PrintGCDetails to also print out separate size transitions for the eden, survivors, and old regions.
Reviewed-by: ysr, brutisso
2011-06-08 15:31:51 -04:00
Y. Srinivas Ramakrishna
93d9f1ddd9
Merge
2011-06-08 08:39:53 -07:00
John Coomes
b45fdce61d
Merge
2011-06-07 13:17:05 -07:00
Vladimir Kozlov
18dd7131d0
7050280: assert(u->as_Unlock()->is_eliminated()) failed: sanity
...
Mark all associated (same box and obj) lock and unlock nodes for elimination if some of them marked already.
Reviewed-by: iveresov, never
2011-06-04 10:36:22 -07:00
Tom Rodriguez
a664e486bd
7045514: SPARC assembly code for JSR 292 ricochet frames
...
Reviewed-by: kvn, jrose
2011-06-03 22:31:43 -07:00