Commit Graph

2898 Commits

Author SHA1 Message Date
Antonios Printezis
098ed89645 Merge 2011-11-22 04:47:10 -05:00
John Cuthbertson
a03f061ca2 7111795: G1: Various cleanups identified during walk through of changes for 6484965
Various cleanups and formatting changes identified during a code walk through of the changes for 6484965 ("G1: piggy-back liveness accounting phase on marking").

Reviewed-by: brutisso, tonyp
2011-11-18 12:27:10 -08:00
John Cuthbertson
6d0e0064bf 7110173: GCNotifier::pushNotification publishes stale data
GCNotifier::pushNotification() references GCMemoryManager::_last_gc_stat but is called from GCMemoryManager::gc_end() before GCMemoryManager::_last_gc_stat is set up using the values in GCMemoryManager::_current_gc_stat. As a result the GC notification code accesses unitialized or stale data. Move the notification call after GCMemoryManager::_las_gc_stat is set, but inside the same if-block.

Reviewed-by: poonam, dholmes, fparain, mchung
2011-11-21 09:24:56 -08:00
Bengt Rutisson
40c94189f7 7110718: -XX:MarkSweepAlwaysCompactCount=0 crashes the JVM
Interpret MarkSweepAlwaysCompactCount < 1 as never do full compaction

Reviewed-by: ysr, tonyp, jmasa, johnc
2011-11-21 07:47:34 +01:00
Antonios Printezis
3cd36270b7 7097002: G1: remove a lot of unused / redundant code from the G1CollectorPolicy class
Major cleanup of the G1CollectorPolicy class. It removes a lot of unused fields and methods and also consolidates replicated information (mainly various ways of counting the number of CSet regions) into one copy.

Reviewed-by: johnc, brutisso
2011-11-18 12:52:27 -05: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
Coleen Phillimore
8f2d760f58 Merge 2011-06-02 21:01:48 -07:00
Tom Rodriguez
e666162b03 7050554: JSR 292 - need optimization for selectAlternative
Reviewed-by: kvn, jrose
2011-06-02 13:36:11 -07:00
Coleen Phillimore
991018b6b2 7049928: VM crashes with "assert(_adapter != NULL) failed: must have" at methodOop.cpp:63
Removed extra change from another bug fix that caused this regression

Reviewed-by: phh, dcubed, kvn, kamg, never
2011-06-02 14:17:48 -04:00
Y. Srinivas Ramakrishna
a893b9dd91 7048782: CMS: assert(last_chunk_index_to_check<= last_chunk_index) failed: parCardTableModRefBS.cpp:359
The LNC array is sized before the start of a scavenge, while the heap may expand during a scavenge. With CMS, the last block of an arbitrary suffice of the LNC array may expand due to coalition with the expansion delta. We now take care not to attempt access past the end of the LNC array. LNC array code will be cleaned up and suitably encapsulated as part of the forthcoming performance RFE 7043675.

Reviewed-by: brutisso
2011-06-02 10:23:36 -07:00
John R Rose
8465226f29 7049410: JSR 292 old method name MethodHandle.invokeGeneric should not be accepted by the JVM
Change the default setting of the flag AllowInvokeGeneric to false

Reviewed-by: never
2011-06-01 23:25:31 -07:00
John R Rose
0ed03852e5 7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError
Delegate invokedynamic linkage errors to MethodHandleNatives.raiseException.

Reviewed-by: never
2011-06-01 23:25:20 -07:00
Vladimir Kozlov
a8556d6c01 6956668: misbehavior of XOR operator (^) with int
Optimize cmp_ne(xor(X,1),0) to cmp_eq(X,0) only for boolean values X.

Reviewed-by: never
2011-05-31 10:05:36 -07:00
Vladimir Kozlov
c3a7796068 7047069: Array can dynamically change size when assigned to an object field
Fix initialization of a newly-allocated array with arraycopy

Reviewed-by: never
2011-05-27 12:47:48 -07:00
Y. Srinivas Ramakrishna
8a46284b54 7048342: CMS: eob == _limit || fc->isFree() failed: Only a free chunk should allow us to cross over the limit
The freeness bit was being cleared in debug code when it shouldn't have been. Also removed unused FreeChunk methods linkAfterNonNull and clearPrev.

Reviewed-by: brutisso
2011-05-27 10:23:03 -07:00
Tom Rodriguez
382a3145b9 Merge 2011-05-26 16:39:34 -07:00
Tom Rodriguez
7cf200bd15 7047961: JSR 292 MethodHandleWalk swap args doesn't handle T_LONG and T_DOUBLE properly
Reviewed-by: kvn, jrose
2011-05-26 14:44:41 -07:00
Igor Veresov
193c0ac698 7047491: C1: registers saved incorrectly when calling checkcast_arraycopy stub
Save and restore the argument registers around the call to checkcast_arraycopy

Reviewed-by: never, roland
2011-05-26 13:15:01 -07:00
Vladimir Kozlov
a1e18b9ed3 7048332: Cadd_cmpLTMask doesn't handle 64-bit tmp register properly
Use ins_encode %{ %} form to encode cadd_cmpLTMask() instruction and remove unused code.

Reviewed-by: never
2011-05-25 21:17:07 -07:00
Tom Rodriguez
f6d95d906a 7046732: JSR 292 assert(result == cpce->f1()) failed: expected result for assembly code
Reviewed-by: kvn, iveresov, jrose
2011-05-25 16:04:09 -07:00
Vladimir Kozlov
65530c9100 7048030: is_scavengable changes causing compiler to embed more constants
CiObject::can_be_constant() and should_be_constant() should use is_perm() instead of !is_scavengable()

Reviewed-by: never, jrose
2011-05-24 20:24:11 -07:00
Thomas Salter
da271b804e 7046893: LP64 problem with double_quadword in c1_LIRAssembler_x86.cpp
Fixed invalid casts in address computation

Reviewed-by: kvn, never
2011-05-24 15:30:05 -07:00
Mark Reinhold
44af04a583 7048009: Update .jcheck/conf files for JDK 8
Reviewed-by: jjh
2011-05-24 15:28:35 -07:00
Erik Trimble
8826c8bf9f Merge 2011-05-24 14:07:12 -07:00
Erik Trimble
88f5cae01f Added tag hs21-b13 for changeset c59e039b8a59 2011-05-24 14:02:47 -07:00
Vladimir Kozlov
69bcf41540 7047300: VM crashes with assert(_base == InstPtr) failed: Not an object pointer
The code incorrectly used is_instptr() instead of is_oopptr() to get const_oop.

Reviewed-by: never
2011-05-24 12:54:51 -07:00
Y. Srinivas Ramakrishna
ed15a87975 7042740: CMS: assert(n> q) failed: Looping at: ... blockOffsetTable.cpp:557
Do a one-step look-ahead, when sweeping free or garbage blocks, to avoid overstepping sweep limit, which may become a non-block-boundary because of a heap expansion delta coalescing with a previously co-terminal free block.

Reviewed-by: brutisso, tonyp
2011-05-23 16:42:14 -07:00
Coleen Phillimore
57769e3600 7033141: assert(has_cp_cache(i)) failed: oob
Unrewrite bytecodes for OOM error allocating the constant pool cache.

Reviewed-by: dcubed, acorn, never
2011-05-21 15:39:54 -07:00
Vladimir Kozlov
800a1a0611 7045506: assert(!can_reshape || !new_phi) failed: for igvn new phi should be hooked
Replace the assert in PhiNode::Ideal with check to avoid transformation of new phi.

Reviewed-by: never
2011-05-21 13:59:55 -07:00
Vladimir Kozlov
0aff6e35b8 7045693: java/util/EnumSet/EnumSetBash.java still failing intermittently
New limit for unrolled loop should be set only for zero trip guard and loop iteration test.

Reviewed-by: never
2011-05-21 11:44:31 -07:00
John Coomes
8b76becfe7 Merge 2011-05-20 22:27:48 -07:00
Suchen Chien
0b8be06024 Added tag jdk7-b143 for changeset c59e039b8a59 2011-05-20 16:03:55 -07:00
Vladimir Kozlov
8d44d62173 7046096: SEGV IN C2 WITH 6U25
Missing fail flag set in strings concatenation code.

Reviewed-by: never
2011-05-20 12:46:20 -07:00
Erik Trimble
81013a98d0 7040781: Bump the HS21 build number to 14
Update the HS21 build number to 14

Reviewed-by: jcoomes
2011-05-20 05:24:46 -07:00
Tom Rodriguez
b95e28d25a Merge 2011-05-18 11:45:06 -07:00
Keith McGuigan
33cd8e7aa0 Merge 2011-05-18 10:12:31 -04:00
Bengt Rutisson
5417807e7a Merge 2011-05-18 13:19:32 +02:00
Tom Rodriguez
f5e5b2b6e2 Merge 2011-05-17 19:15:34 -07:00
Tom Rodriguez
c2f2cb75fc 7045513: JSR 292 inlining causes crashes in methodHandleWalk.cpp
Reviewed-by: jrose
2011-05-17 19:11:51 -07:00
John R Rose
807e4b3dcf 7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one
Fix to 7042656: JSR292: invokeExact/Generic doesn't throw UnsupportedOperationException if invoked via Method.invoke

Reviewed-by: never
2011-05-17 15:43:46 -07:00
Vladimir Kozlov
32ead86b1c 7045570: compiler/5091921/Test7005594.java failed because not enough space for object heap
Fixed tests.

Reviewed-by: iveresov, never
2011-05-17 12:26:33 -07:00
Bertrand Delsart
4b893d695b 7045515: ARM assembly code for JSR 292 ricochet frames
ARM ricochet port and minor fixes in shared debug code

Reviewed-by: jrose, vladidan
2011-05-17 16:50:27 +02:00
David Holmes
0a07595216 Merge 2011-05-17 09:29:56 -04:00
John Cuthbertson
95548aa291 7041440: G1: assert(obj->is_oop_or_null(true )) failed: Error #
During an evacuation pause clear the region fields of any concurrent marking task whose local finger points into the collection set as the values in the region fields will become stale. Clearing these fields causes the concurrent mark task to claim a new region when marking restarts after the pause.

Reviewed-by: tonyp, iveresov
2011-05-17 00:56:01 -07:00
Tom Rodriguez
a16e057c0a 6996747: SIGSEGV in nmethod::cleanup_inline_caches / CompiledIC::verify
Reviewed-by: kvn, iveresov
2011-05-16 22:16:44 -07:00
Vladimir Kozlov
0e10a5ad61 7044725: -XX:-UnrollLimitCheck -Xcomp : Exception: String index out of range: 29488
Fix problems in new RCE code.

Reviewed-by: never
2011-05-16 14:21:16 -07:00
David Holmes
fc79ef453f 7035744: jprt no longer does open-only builds
Added Open (OpenJDK) and Emb (Embedded) build flavours to JPRT. Added a few open builds and basic sanity tests to the normal JDK7 JPRT submission job.

Reviewed-by: ohair, jcoomes, bobv, kvn
2011-05-15 23:57:15 -04:00
Erik Trimble
643341dea0 7040780: Bump the HS21 build number to 13
Update the HS21 build number to 13

Reviewed-by: jcoomes
2011-05-12 22:05:08 -07:00
Erik Trimble
ead9ceeca5 Merge 2011-05-12 22:05:04 -07:00
Erik Trimble
14216b3f51 Added tag hs21-b12 for changeset 19acba38f929 2011-05-12 21:42:52 -07:00
Tom Rodriguez
8cdd97938c Merge 2011-05-12 19:39:58 -07:00
Y. Srinivas Ramakrishna
e69cc568e9 Merge 2011-05-12 17:36:45 -07:00
Suchen Chien
81fa17dbea Added tag jdk7-b142 for changeset 19acba38f929 2011-05-12 17:17:22 -07:00
Tom Rodriguez
a09d6af7ae Merge 2011-05-12 16:24:44 -07:00
Y. Srinivas Ramakrishna
7721092e27 Merge 2011-05-12 15:05:22 -07:00
Christian Thalinger
db9005f0d3 6998541: JSR 292 implement missing return-type conversion for OP_RETYPE_RAW
Reviewed-by: jrose, kvn, never
2011-05-12 14:04:48 -07:00
Tom Rodriguez
3327033b50 Merge 2011-05-12 10:33:17 -07:00
Frederic Parain
b38843c8d9 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
Add a notification to the GarbageCollectorMXBeans

Reviewed-by: acorn, mchung
2011-05-12 10:30:11 -07:00
Tom Rodriguez
e5357d4bee 7043461: VM crashes in void LinkResolver::runtime_resolve_virtual_method
Reviewed-by: kvn, coleenp
2011-05-12 10:29:02 -07:00
Y. Srinivas Ramakrishna
c40a4d6878 7043891: CMS: assert(_whole_heap.contains(p)) failed: out of bounds access to card marking array
Fixed assertion checking code that was attempting to translate addresses past end of space for card-table slot. Also elaborated some assertion checking messages.

Reviewed-by: iveresov, jmasa, tonyp
2011-05-11 15:47:12 -07:00
Keith McGuigan
d2ab644ad1 Merge 2011-05-11 13:19:53 -04:00
Daniel D. Daugherty
1d148aa7d3 7043298: 4/4 fix for 7028172 causes "Label too long: ..." error message
Use '-e' version of sed expressions. Clarify and fix comments

Reviewed-by: never, acorn
2011-05-11 08:59:46 -07:00
Tom Rodriguez
249ae52324 7043040: JSR292: JRuby bench/shootout/binarytrees.ruby-2.ruby SEGV: constantPoolKlass::oop_follow_contents
Reviewed-by: kvn, ysr
2011-05-10 17:44:14 -07:00
Vladimir Kozlov
70dfd21e87 7043552: regression after 7042327
Generate Opaque2 node only during first unroll.

Reviewed-by: never
2011-05-10 12:57:21 -07:00
Igor Veresov
953f34d325 7043564: compile warning and copyright fixes
Fixed the warning, also fixed copyrights in a bunch of files.

Reviewed-by: johnc, kvn
2011-05-10 12:26:10 -07:00
Christian Thalinger
fee8d7fca4 7042122: JSR 292: adjust various inline thresholds for JSR 292 API methods and method handle adapters
Reviewed-by: jrose, never, kvn
2011-05-10 00:45:03 -07:00
Y. Srinivas Ramakrishna
8e56205189 6883834: ParNew: assert(!_g->to()->is_in_reserved(obj),"Scanning field twice?") with LargeObjects tests
Fixed process_chunk_boundaries(), used for parallel card scanning when using ParNew/CMS, so as to prevent double-scanning, or worse, non-scanning of imprecisely marked objects exceeding parallel chunk size. Made some sizing parameters for parallel card scanning diagnostic, disabled ParallelGCRetainPLAB, and elaborated and clarified some comments.

Reviewed-by: stefank, johnc
2011-05-10 00:33:21 -07:00
Tom Rodriguez
42e49be1bc 7043301: assert(locals < caller->fp() || locals > (caller->fp() + 16)) failed: locals in save area
Reviewed-by: kvn
2011-05-09 19:45:52 -07:00
Tom Rodriguez
9b9953cb0b Merge 2011-05-06 19:34:55 -07:00
Tom Rodriguez
6aeaca98d1 6939861: JVM should handle more conversion operations
Reviewed-by: twisti, jrose
2011-05-06 16:33:13 -07:00
Erik Trimble
63c85322b1 7040779: Bump the HS21 build number to 12
Update the HS21 build number to 12

Reviewed-by: jcoomes
2011-05-06 14:41:06 -07:00
Erik Trimble
cee74b9a63 Merge 2011-05-06 14:41:00 -07:00
Erik Trimble
b9851bd6eb Added tag hs21-b11 for changeset de80080e77a6 2011-05-06 14:10:20 -07:00
Igor Veresov
bb2c21a025 7042153: guarantee(x_compare_res != Constant::not_comparable) failed: incomparable constants in IfOp
Handle IfOps folding properly in case of unloaded constant oop arguments

Reviewed-by: kvn, never
2011-05-06 12:12:29 -07:00
Tom Rodriguez
b73681ae0c Merge 2011-05-06 11:36:25 -07:00
Keith McGuigan
cb6e2c12f4 Merge 2011-05-06 11:25:16 -04:00
Bengt Rutisson
90ab9d500c Merge 2011-05-06 09:45:18 +02:00
Vladimir Kozlov
8698030a91 7042327: assert(opaq->outcnt() == 1 && opaq->in(1) == limit)
Separate limit by Opaque2 node when calculating new limit for unrolled loop.

Reviewed-by: never
2011-05-05 21:06:14 -07:00
David Holmes
8553d963c0 7036525: Disable alternative source mechanism for OPENJDK builds
By default if OPENJDK=true is set then we don't look in the alt-src predefined location. The user can explicitly set HS_ALT_SRC_REL to the desired location in conjunction with OPENJDK=true, if they wish.

Reviewed-by: jcoomes, kamg
2011-05-05 21:20:21 -04:00
Suchen Chien
e554c899e5 Added tag jdk7-b141 for changeset dbc77e0dc173 2011-05-05 14:02:02 -07:00
Keith McGuigan
d7fa132400 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
Update JVMTI source files to remove hyperlinks and add full legal name

Reviewed-by: acorn, dcubed, dholmes
2011-05-05 12:50:42 -04:00
John Coomes
62a8508587 6728025: LinkResolver is missing some ResourceMarks
Reviewed-by: dholmes, coleenp, ysr, kamg
2011-05-05 07:51:05 -07:00
Kevin Walls
64fd535370 Merge 2011-05-05 09:33:14 -04:00
Antonios Printezis
e061c0b0a4 7040450: G1: assert((_g1->evacuation_failed()) || (!_g1->obj_in_cs(obj))) failed: shouldn't still be in ..
There is a race in the evac failure handling code that causes the condition the assert checks not to be true. The fix is to replace the too-strong assert with a more targeted one.

Reviewed-by: johnc, ysr, jcoomes
2011-05-05 09:15:52 -04:00
Vladimir Kozlov
9f0bca3b75 7042070: Typo in Test6796786.java
The test should compare with -0.0f.

Reviewed-by: never, iveresov
2011-05-04 22:41:17 -07:00
Tom Rodriguez
d63a3a993b 7042052: Xcomp crash with PopSynchronousTest
Reviewed-by: kvn, iveresov
2011-05-04 22:31:18 -07:00
David Holmes
ec330e431d Merge 2011-05-04 23:10:58 -04:00
David Holmes
13d8bb1f5d 7036267: c2/arm: mark version number as experimental and disable on unsupported platforms
Change call to Abstract_VM_Version::vm_info_string to VM_Version::vm_info_string so it cna be overridden by the arch specific VM_Version class

Reviewed-by: bobv, phh
2011-05-04 19:16:49 -04:00
Igor Veresov
63f068ad0d 7041501: NUMA: Expand the old gen more aggressively
Expand the old gen in bigger increments

Reviewed-by: jmasa
2011-05-04 15:08:44 -07:00
Vladimir Kozlov
1ac79543d0 5091921: Sign flip issues in loop optimizer
Fix integer overflow problem in the code generated by loop optimizer.

Reviewed-by: never
2011-05-04 13:12:42 -07:00
Keith McGuigan
cc15f4771e Merge 2011-05-04 11:04:45 -04:00
Christian Thalinger
1e12174562 Merge 2011-05-04 03:42:58 -07:00
Christian Thalinger
2d91ad91db Merge 2011-05-04 00:46:22 -07:00
Christian Thalinger
488bc73bcd 7041244: JSR 292: Server VM gets a SEGV running a JCK test
Reviewed-by: iveresov, kvn, never
2011-05-04 00:41:48 -07:00
Tom Rodriguez
af178514e2 7041582: set_mode_flags isn't called without -Xmixed specified
Reviewed-by: kvn, iveresov
2011-05-04 00:21:22 -07:00
Tom Rodriguez
676d346314 7041603: standalone SA doesn't build after 7010849
Reviewed-by: dcubed
2011-05-03 20:56:35 -07:00
Tom Rodriguez
c3a8cf7156 Merge 2011-05-03 17:09:05 -07:00
Erik Trimble
5f044f9de1 Merge 2011-05-03 16:03:37 -07:00
Erik Trimble
3ad5f6532c Added tag hs21-b10 for changeset 33e592b5ff17 2011-05-03 16:00:35 -07:00
Daniel D. Daugherty
544652776c 7041410: 5/4 finish removing SOLARIS_7_OR_LATER from HotSpot
Delete use of SOLARIS_7_OR_LATER from sparcWorks.make

Reviewed-by: never
2011-05-03 12:45:54 -07:00
Zhengyu Gu
07cf5c9b40 Merge 2011-05-03 12:19:04 -07:00
Tom Rodriguez
0ecc18851a 6796786: invalid FP identity transform - (a - b) -> b - a
Reviewed-by: iveresov, twisti
2011-05-03 12:11:54 -07:00
Jon Masamitsu
6819e3739e 7041789: 30% perf regression with c2/arm following 7017732
Implement a more accurate is_scavengable()

Reviewed-by: stefank, jcoomes, ysr
2011-05-03 10:30:34 -07:00
Zhengyu Gu
3c624bcfb1 Merge 2011-05-03 10:17:29 -07:00
Zhengyu Gu
56154746f3 6986065: Rebrand exe/dll company names
Fixed Windows exe/dll right-click properties. "Oracle Corporation" for company name in jdk7, but "Sun Microsystems, Inc." for jdk6.

Reviewed-by: phh, acorn
2011-05-03 13:01:41 -04:00
Dmitry Samersoff
dd299ffb44 Merge 2011-05-03 13:01:31 -04:00
Vladimir Kozlov
e1442309e1 7041100: The load in String.equals intrinsic executed before null check
Remove control from loads in String.equals intrinsic and cast argument to not-null.

Reviewed-by: never
2011-05-03 09:10:39 -07:00
Deepak Bhole
fb47d47b6f 7031385: incorrect register allocation in release_store_fence on linux x86
Since gcc 4.5 the inline assembly trying to use r register for an atomic 8-bit exchange and it leads to compilation error

Reviewed-by: dsamersoff, dholmes
2011-05-03 18:43:18 +04:00
Omair Majid
d02acdc62a 7041156: gcc 4.6 doesn't recognise -export-dynamic option
Since -export-dynamic is a linker option, the correct way to pass it is -Xlinker -export-dynamic

Reviewed-by: dsamersoff, dholmes
2011-05-03 18:24:55 +04:00
Tom Rodriguez
33f0e50994 7009361: JSR 292 Invalid value on stack on solaris-sparc with -Xcomp
Reviewed-by: kvn, twisti
2011-05-02 18:53:37 -07:00
Daniel D. Daugherty
50d82a0f69 7028172: 3/4 SA needs to adapt to Solaris libproc change made in 6748307
Support build and runtime configs of old and new interfaces as appropriate.

Reviewed-by: acorn, never
2011-05-02 14:53:49 -07:00
Tom Rodriguez
dfc5561910 Merge 2011-05-02 10:51:36 -07:00
Suchen Chien
f2b6bcdcb9 Merge 2011-05-02 09:36:24 -07:00
Christian Thalinger
6bfb306487 6552561: MaxRecursiveInlineLevel flag doesn't operate correctly
Reviewed-by: kvn, never
2011-05-02 00:55:09 -07:00
Erik Trimble
caba73d1dd 7040777: Bump the HS21 build number to 11
Update the HS21 build number to 11

Reviewed-by: jcoomes
2011-04-29 17:00:19 -07:00
Erik Trimble
c99361768e Merge 2011-04-29 16:55:43 -07:00
Jon Masamitsu
0772441e15 Merge 2011-04-29 14:36:21 -07:00
Jon Masamitsu
f6dc8f6c3c Merge 2011-04-29 12:33:39 -07:00
Vladimir Kozlov
6d0283ed8e Merge 2011-04-29 11:15:30 -07:00
Dmitry Samersoff
b0269509f1 7019808: build fails on Fedora 14: SELinux run-time check: execution of stack in libjvm.so
Executable flag is set in the elf header of libjvm.so during build, instruct ld to don't do it.

Reviewed-by: acorn, phh
2011-04-29 21:13:00 +04:00
Bengt Rutisson
fbffd24fc5 7040068: CMS: Possibly unsafe initialization of BlockOffsetArrayUseUnallocatedBlock
BlockOffsetArrayUseUnallocatedBlock was intended to be turned off as part of BUG 6948538 but a code line in collectorPolicy.cpp actually kept it turned on.

Reviewed-by: jwilhelm, ysr
2011-04-29 09:11:03 +02:00
Jon Masamitsu
c01be49675 Merge 2011-05-02 07:08:53 -07:00
Igor Veresov
5c6475f522 Merge 2011-04-29 20:42:27 -07:00
Igor Veresov
2abb1bbd58 7040485: Use transparent huge page on linux by default
Turn on UseLargePages by default but try only HugeTLBFS method if it is not explicitly specified on the command line.

Reviewed-by: ysr
2011-04-29 12:39:32 -07:00
Antonios Printezis
10f6cc7fc3 7035144: G1: nightly failure: Non-dirty cards in region that should be dirty (failures still exist...)
We should only undirty cards after we decide that they are not on a young region, not before. The fix also includes improvements to the verify_dirty_region() method which print out which cards were not found dirty.

Reviewed-by: johnc, brutisso
2011-04-29 14:59:04 -04:00
Antonios Printezis
8c04c76193 7034139: G1: assert(Thread::current()->is_ConcurrentGC_thread()) failed: only a conc GC thread can call this
We were calling STS join and leave during a STW pause and we are not suppoesed to. I now only call those during  concurrent phase. I also added stress code in the non-product builds to force an overflows (the condition that ws uncovering the bug) to make sure it does not happen again.

Reviewed-by: johnc, brutisso
2011-04-29 12:40:49 -04:00
Suchen Chien
874944e5bc Added tag jdk7-b140 for changeset 33e592b5ff17 2011-04-28 17:44:24 -07:00
Vladimir Kozlov
2683d5390b 7039652: Performance regression after 7004547 changes
Use unrolled_count() to limit unrolling and use the stride check only for initial stride value.

Reviewed-by: never
2011-04-28 16:40:23 -07:00
John Cuthbertson
5b3550c107 7040410: -Xloggc:<file> incorrectly enables TraceClassUnloading causing tracing on tty
Don't enable TraceClassUnloading whne -Xloggc is specified.

Reviewed-by: tonyp, ysr
2011-04-28 15:29:18 -07:00
Tom Rodriguez
eb8db40092 7032162: assert(flat != TypePtr::BOTTOM) failed: cannot alias-analyze an untyped ptr
Reviewed-by: kvn
2011-04-28 14:00:13 -07:00
Daniel D. Daugherty
7d7755b8a4 7039447: 2/1 java profiling is broken in build 139 (garbage in function name)
The name in a deferred JVM/TI DynamicCodeGenerated event needs to be explicitly saved.

Reviewed-by: acorn, never, dsamersoff, dholmes
2011-04-28 08:24:46 -07:00
Christine Lu
8c555ebbcf Merge 2011-04-27 19:20:31 -07:00
Coleen Phillimore
0032ebd4ef Merge 2011-04-27 17:25:45 -07:00
Tom Rodriguez
2126589fd0 7029167: add support for conditional card marks
Reviewed-by: iveresov, kvn
2011-04-27 15:40:36 -07:00
John Cuthbertson
b777d36af8 7037756: Deadlock in compiler thread similiar to 6789220
Avoid blocking in CompileBroker::compile_method_base() if the current thread holds the pending list lock.

Reviewed-by: never, brutisso, ysr
2011-04-27 14:40:41 -07:00
Zhengyu Gu
6d9bd0f890 Merge 2011-04-27 06:20:00 -07:00
Zhengyu Gu
865413485d 7036747: 7017009 reappeared, problem with ElfStringTable
Created new "new" operator for CHeapObj that allows malloc to fail without causing fatal error. Also replaced "HeapAllocate" with "os::malloc" in decoder code to allow decoder to handle low memory scenario.

Reviewed-by: coleenp, dholmes
2011-04-27 09:09:57 -04:00
Y. Srinivas Ramakrishna
d86311b13c 7039089: G1: changeset for 7037276 broke heap verification, and related cleanups
In G1 heap verification, we no longer scan perm to G1-collected heap refs as part of process_strong_roots() but rather in a separate explicit oop iteration over the perm gen. This preserves the original perm card-marks. Added a new assertion in younger_refs_iterate() to catch a simple subcase where the user may have forgotten a prior save_marks() call, as happened in the case of G1's attempt to iterate perm to G1 refs when verifying the heap before exit. The assert was deliberately weakened for ParNew+CMS and will be fixed for that combination in a future CR. Also made some (non-G1) cleanups related to code and comments obsoleted by the migration of Symbols to the native heap.

Reviewed-by: iveresov, jmasa, tonyp
2011-04-26 21:17:24 -07:00
Kelly O'Hair
74225e1f34 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:20:22 -07:00
Vladimir Kozlov
6c8fc4b347 7039586: test/java/util/Collections/Rotate.java failing with hs21-b09
A predicate should not be moved in partial peel optimization since it will invalidate jvm state of its uncommon trap.

Reviewed-by: never
2011-04-26 12:14:22 -07:00
Igor Veresov
e3121a5a43 7037939: NUMA: Disable adaptive resizing if SHM large pages are used
Make the NUMA allocator behave properly with SHM and ISM large pages.

Reviewed-by: ysr
2011-04-26 11:46:34 -07:00
Coleen Phillimore
ab86f12c44 7009923: JSR 292: VM crash in JavaThread::last_frame
Handle stack overflow before the first frame is called, by printing out the called method and not walking the stack.

Reviewed-by: dholmes, phh, dsamersoff
2011-04-26 14:04:43 -04:00
Tom Rodriguez
16d6414619 7030715: JSR 292 JRuby test/test_super_call_site_caching.rb asserts with +DoEscapeAnalysis
Reviewed-by: twisti
2011-04-25 16:25:58 -07:00
John Coomes
385e7253a7 7037250: cscope.make database generation is silently broken
Reviewed-by: stefank
2011-04-23 04:20:09 -07:00
Vladimir Danushevsky
e074254d05 Merge 2011-04-23 00:33:38 -04:00
Erik Trimble
1b20e61722 7039044: Bump the HS21 build number to 10
Update the HS21 build number to 10

Reviewed-by: jcoomes
2011-04-22 18:52:28 -07:00
Erik Trimble
6b2955ae93 Merge 2011-04-22 18:52:22 -07:00
Jon Masamitsu
9050363747 Merge 2011-04-22 09:26:09 -07:00
Erik Trimble
fc92df058d Added tag hs21-b09 for changeset 3d6edd0ae4e9 2011-04-21 19:49:49 -07:00
David Katleman
f86b47af7c Added tag jdk7-b139 for changeset 3d6edd0ae4e9 2011-04-21 15:32:54 -07:00
Jon Masamitsu
6663052a88 6946417: G1: Java VisualVM does not support G1 properly
Added counters for jstat

Reviewed-by: tonyp, jwilhelm, stefank, ysr, johnc
2011-04-21 10:23:44 -07:00
Vladimir Danushevsky
7610a8bf75 Merge 2011-04-21 10:12:42 -04:00
Y. Srinivas Ramakrishna
11badb92aa Merge 2011-04-21 01:16:20 -07:00
Christian Thalinger
868bf68a3e 6993078: JSR 292 too many pushes: Lesp points into register window
Reviewed-by: kvn, never
2011-04-21 00:25:40 -07:00
Jon Masamitsu
8328bb291e Merge 2011-04-20 20:32:45 -07:00
Y. Srinivas Ramakrishna
b4d40650b2 7037276: Unnecessary double traversal of dirty card windows
Short-circuited an unnecessary double traversal of dirty card windows when iterating younger refs. Also renamed some cardtable methods for more clarity.

Reviewed-by: jmasa, stefank, poonam
2011-04-20 19:19:30 -07:00
Vladimir Kozlov
abc5f94df7 7026700: regression in 6u24-rev-b23: Crash in C2 compiler in PhaseIdealLoop::build_loop_late_post
Memory slices should be always created for non-static fields after allocation

Reviewed-by: never
2011-04-20 18:29:35 -07:00
Andrew Haley
cf6f747d17 7034464: Support transparent large pages on Linux
Support transparent huge pages on Linux available since 2.6.38

Reviewed-by: iveresov, ysr
2011-04-20 17:12:04 -07:00
Vladimir Danushevsky
46259d93ba 7035861: linux-armsflt: assert(ni->data() == (int)(x + o)) failed: instructions must match
The change avoids generating relocation info entry for the staging area patching stub on systems that don't support movw/movt instructions

Reviewed-by: bdelsart
2011-04-20 14:07:57 -04:00
Tom Rodriguez
75eac4de0f 7009346: java/dyn/InvokeDynamicPrintArgs.java fails with NPE on solaris-sparc with -Xcomp
Reviewed-by: kvn, jrose, twisti
2011-04-20 09:29:00 -07:00
Coleen Phillimore
a2c2b262bc Merge 2011-04-19 20:40:20 -07:00
Antonios Printezis
12d1d9acc1 7011855: G1: non-product flag to artificially grow the heap
It introduces non-product cmd line parameter G1DummyRegionsPerGC which indicates how many "dummy" regions to allocate at the end of each GC. This allows the G1 heap to grow artificially and makes concurrent marking cycles more frequent irrespective of what the application that is running is doing. The dummy regions will be found totally empty during cleanup so this parameter can also be used to stress the concurrent cleanup operation.

Reviewed-by: brutisso, johnc
2011-04-19 15:46:59 -04:00
Tom Deneau
e8d2ed978f 7037812: few more defaults changes for new AMD processors
Use PREFETCHW as default prefetch instruction, set UseXMMForArrayCopy and UseUnalignedLoadStores to true by default.

Reviewed-by: kvn
2011-04-19 09:30:17 -07:00
John Cuthbertson
236207402d 7036706: G1: Use LIR_OprDesc::as_pointer_register in code changes for 7035117
Use LIR_OprDesc::as_pointer_register() instead as_register/as_register_lo combination in the code changes for 7035117.

Reviewed-by: iveresov
2011-04-18 16:27:16 -07:00
Kevin Walls
4fbaadca47 7005503: Make GuaranteedSafepointInterval a diagnostic flag
Reviewed-by: kamg, ysr
2011-04-18 08:03:45 -07:00
Christian Thalinger
7fb4bcc550 7036960: TemplateTable::fast_aldc in templateTable_x86_64.cpp uses movptr instead of load_klass
Reviewed-by: kvn, iveresov
2011-04-18 06:50:57 -07:00
Christian Thalinger
0b2d972fd3 7018355: JSR 292: VM crash in DefNewGeneration::copy_to_survivor_space
Reviewed-by: kvn, jrose
2011-04-18 01:33:28 -07:00
Tomas Hurka
34c1a8cd79 7007254: NullPointerException occurs with jvisualvm placed under a dir. including Japanese chars
Use java_lang_String::create_from_platform_dependent_str() instead of java_lang_String::create_from_str() in JvmtiEnv::AddToSystemClassLoaderSearch()

Reviewed-by: dcubed
2011-04-16 11:59:54 +02:00
Erik Trimble
f0b2f38989 7037174: Bump the HS21 build number to 09
Update the HS21 build number to 09

Reviewed-by: jcoomes
2011-04-15 18:23:27 -07:00
Erik Trimble
b143b66838 Merge 2011-04-15 18:23:20 -07:00
John Cuthbertson
f603d437be 7036021: G1: build failure on win64 and linux with hs21 in jdk6 build environment
Missing parentheses around a casted expression and some missing casts were causing build failures with the jdk6 build tools.

Reviewed-by: kvn, brutisso
2011-04-15 10:10:50 -07:00
John R Rose
8753dded1c Merge 2011-04-15 08:29:26 -07:00
Coleen Phillimore
8acea1848a 7032407: Crash in LinkResolver::runtime_resolve_virtual_method()
Make CDS reorder vtables so that dump time vtables match run time order, so when redefine classes reinitializes them, they aren't in the wrong order.

Reviewed-by: dcubed, acorn
2011-04-15 09:36:28 -04:00
Zhengyu Gu
462140d52d 7016797: Hotspot: securely/restrictive load dlls and new API for loading system dlls
Created Windows Dll wrapped to handle jdk6 and jdk7 platform requirements, also provided more restictive Dll search orders for Windows system Dlls.

Reviewed-by: acorn, dcubed, ohair, alanb
2011-04-15 09:34:43 -04:00
Vladimir Danushevsky
2a5436b3d3 Merge 2011-04-14 23:06:33 -04:00
Erik Trimble
fa2b3a414e Added tag hs21-b08 for changeset dff699fcdf23 2011-04-14 17:53:28 -07:00
Suchen Chien
5f954ad7f2 Added tag jdk7-b138 for changeset dff699fcdf23 2011-04-14 15:21:45 -07:00
John Cuthbertson
3a33c2639e Merge 2011-04-14 13:49:29 -07:00
John Cuthbertson
7c844aba67 Merge 2011-04-14 13:45:41 -07:00
Y. Srinivas Ramakrishna
91657bd273 7036482: clear argument is redundant and unused in cardtable methods
Removed the unused clear argument to various cardtbale methods and unused mod_oop_in_space_iterate method. Unrelated to synopsis, added  a pair of clarifying parens in AllocationStats constructor.

Reviewed-by: brutisso, jcoomes
2011-04-14 12:10:15 -07:00
Zhengyu Gu
b3eb7daed6 7033100: CreateMinidumpOnCrash does not work for failed asserts
Passing NULL as MINIDUMP_EXCEPTION_INFORMATION when calling MiniDumpWriteDump when crash is due to assertion instead of real exception to avoid creating zero-length mini dump file.

Reviewed-by: acorn, dcubed, poonam, coleenp
2011-04-14 11:50:36 -04:00
Vladimir Danushevsky
0ab6045255 Merge 2011-04-14 11:02:05 -04:00
Christian Thalinger
2234bb04a7 Merge 2011-04-14 06:46:38 -07:00
Xerxes Ranby
c933c7d4f2 7036220: Shark fails to find LLVM 2.9 System headers during build
Reviewed-by: gbenson, twisti
2011-04-14 01:53:12 -07:00
Igor Veresov
3344bbfb29 7036236: VM crashes assert((!inside_attrs()) || is_error_reported()) failed ..
Eliminate the race condition.

Reviewed-by: kvn
2011-04-14 00:02:21 -07:00
John Cuthbertson
20a3437a74 7035117: G1: nsk/stress/jni/jnistress002 fails with assertion failure
Allow long type for offset in G1 code in compiler implementations of Unsafe.getObject

Reviewed-by: never, iveresov
2011-04-13 17:56:43 -07:00
Igor Veresov
aac4b1553e 6988308: assert((cnt > 0.0f) && (prob > 0.0f)) failed: Bad frequency assignment in if
Make sure cnt doesn't become negative and integer overflow doesn't happen.

Reviewed-by: kvn, twisti
2011-04-13 14:33:03 -07:00
Coleen Phillimore
3c4d3002f2 Merge 2011-04-12 14:18:53 -07:00
Keith McGuigan
222ac81222 7020373: JSR rewriting can overflow memory address size variables
Abort if incoming classfile's parameters would cause overflows

Reviewed-by: coleenp, dcubed, never
2011-04-12 16:42:26 -04:00
Jeff Dinkins
d5438d3e05 7045697: JDK7 THIRD PARTY README update
Reviewed-by: lana
2011-05-27 15:01:07 -07:00
David Katleman
079c89189f 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
Reviewed-by: ohair, trims
2011-05-25 13:31:51 -07:00
John Coomes
2af4bb66d4 6791672: enable 1G and larger pages on solaris
Reviewed-by: ysr, iveresov, johnc
2011-08-17 10:32:53 -07:00
Vladimir Danushevsky
0c1e2baaec Merge 2011-04-12 10:32:42 -04:00
Gary Benson
5001776189 7035870: JSR 292: Zero support
This adds support for JSR 292 to Zero.

Reviewed-by: twisti
2011-04-12 02:40:23 -07:00
David Holmes
09c93cbb25 7034585: Adjust fillInStackTrace filtering to assist 6998871
Allow for one or more fillInStackTrace frames to be skipped

Reviewed-by: mchung, kvn
2011-04-12 02:53:06 -04:00
Vladimir Danushevsky
bea445368e 7005865: Crash when running with PrintIRWithLIR
The failure is caused by uninitialized bci number

Reviewed-by: iveresov
2011-04-11 23:02:37 -04:00
Tom Deneau
899faa3fec 7035713: 3DNow Prefetch Instruction Support
The upcoming processors from AMD are the first that support 3dnow prefetch without supporting the 3dnow instruction set.

Reviewed-by: kvn
2011-04-11 15:30:31 -07:00
Bengt Rutisson
2ea041a2b2 7034625: Product builds in Visual Studio projects should produce full symbol information
Add the /debug flag to the linker command in Visual Studio

Reviewed-by: mgronlun, poonam, hosterda
2011-04-11 11:12:41 +02:00
John R Rose
93459f517d 6987991: JSR 292 phpreboot test/testtracefun2.phpr segfaults
Make MH verification tests more correct, robust, and informative.  Fix lingering symbol refcount problems.

Reviewed-by: twisti
2011-04-09 22:55:25 -07:00
John R Rose
41745904a3 Merge 2011-04-09 21:16:12 -07:00
Tom Rodriguez
bbb0b31bfe 7035161: assert(!o->is_null_object()) failed: null object not yet handled here
Reviewed-by: kvn
2011-04-08 23:00:14 -07:00
Vladimir Kozlov
83ccc5e2c6 Merge 2011-04-08 20:52:28 -07:00
Igor Veresov
e8447846ee 7034967: C1: assert(false) failed: error (assembler_sparc.cpp:2043)
Fix -XX:+VerifyOops

Reviewed-by: kvn, never
2011-04-08 17:03:31 -07:00
Erik Trimble
6f92a23612 7035259: Bump the HS21 build number to 08
Update the HS21 build number to 08

Reviewed-by: jcoomes
2011-04-08 16:18:48 -07:00
Erik Trimble
2914e392a3 Merge 2011-04-08 16:18:38 -07:00
Erik Trimble
260ad514b0 Added tag hs21-b07 for changeset 25580f153384 2011-04-08 15:56:52 -07:00
Vladimir Kozlov
2096fd712c 7004555: Add new policy for one iteration loops
Add new policy for one iteration loops (mostly formal pre- loops).

Reviewed-by: never
2011-04-08 14:56:22 -07:00
Jon Masamitsu
b147ec205b Merge 2011-04-08 14:53:16 -07:00
Jon Masamitsu
b6e631d446 Merge 2011-04-08 14:19:50 -07:00
Tom Rodriguez
fe74e1ba6a 7034957: acquiring lock CodeCache_lock/1 out of order with lock tty_lock/0 -- possible deadlock
Reviewed-by: iveresov
2011-04-07 21:32:23 -07:00
Kelly O'Hair
7bf0d4d5cd 7019210: Fix misc references to /bugreport websites
Reviewed-by: skannan
2011-04-07 20:26:41 -07:00
John Coomes
f9b80cdc1c 6841742: par compact - remove unused/unsupported options
Ignore UseParallel{OldGCDensePrefix,OldGCCompacting,DensePrefixUpdate}

Reviewed-by: jwilhelm, brutisso
2011-04-07 17:16:20 -07:00
John R Rose
f8fe3457a5 7009600: JSR 292 Server compiler crashes in Compile::find_intrinsic(ciMethod*, bool)
Catch errors during the compile-time processing of method handles; back out cleanly

Reviewed-by: twisti
2011-04-07 17:12:23 -07:00
John R Rose
b95f04efbf 7012087: JSR 292 Misleading exception message for a non-bound MH for a virtual method
Improve error message formatting to give more information to user.  Also, catch a corner case related to 6930553 and 6844449.

Reviewed-by: kvn
2011-04-07 17:12:21 -07:00
John R Rose
16784a72e8 6981791: remove experimental code for JSR 292
Reviewed-by: twisti
2011-04-07 17:02:30 -07:00
John Coomes
dadf395fbe 7034133: cleanup obsolete option handling
Reviewed-by: ysr, johnc, poonam
2011-04-07 16:52:15 -07:00
Suchen Chien
0996fdf3ea Added tag jdk7-b137 for changeset 25580f153384 2011-04-07 15:20:57 -07:00
John Cuthbertson
a08e1ce906 7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error
A referent object that is only weakly reachable at the start of concurrent marking but is re-attached to the strongly reachable object graph during marking may not be marked as live. This can cause the reference object to be processed prematurely and leave dangling pointers to the referent object. Implement a read barrier for the java.lang.ref.Reference::referent field by intrinsifying the Reference.get() method, and intercepting accesses though JNI, reflection, and Unsafe, so that when a non-null referent object is read it is also logged in an SATB buffer.

Reviewed-by: kvn, iveresov, never, tonyp, dholmes
2011-04-07 09:53:20 -07:00
Vladimir Kozlov
ed30132e8b 6992789: assert(phi->_idx >= nodes_size()) failed: only new Phi per instance memory slice
Swap checks: check for regular memory slice first and keep input phi.

Reviewed-by: never
2011-04-06 17:32:09 -07:00
Jon Masamitsu
b02fa2a90f Merge 2011-04-06 16:02:53 -07:00
Tom Rodriguez
8a4683b5ed 7034513: enable fast accessors and empty methods for ZERO and -Xint
Reviewed-by: kvn, iveresov
2011-04-06 16:02:50 -07:00
Tom Rodriguez
4f41ea7fff 7033779: CodeCache::largest_free_block may need to hold the CodeCache lock
Reviewed-by: kvn
2011-04-05 19:16:52 -07:00
Tom Rodriguez
aac4647e6e 7032963: StoreCM shouldn't participate in store elimination
Reviewed-by: kvn
2011-04-05 19:14:03 -07:00
Erik Trimble
c9e484d473 7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
Update the copyright to be 2010 on all changed files in OpenJDK

Reviewed-by: ohair
2011-04-05 14:12:31 -07:00
Tom Rodriguez
14dcde9439 Merge 2011-04-05 02:31:46 -07:00
Tom Rodriguez
1a5a2ecd25 6777083: assert(target != __null,"must not be null")
Reviewed-by: iveresov, kvn
2011-04-05 00:31:09 -07:00
Vladimir Kozlov
073a00a4ca Merge 2011-04-05 00:27:58 -07:00
Tom Rodriguez
642c26950d Merge 2011-04-04 22:17:15 -07:00
Tom Rodriguez
3327aeff0c 6528013: C1 CTW failure with -XX:+VerifyOops assert(allocates2(pc),"")
Reviewed-by: kvn, iveresov
2011-04-04 19:03:35 -07:00
Vladimir Kozlov
3151573d39 7004547: regular loop unroll should not unroll more than max unrolling
Take into account that after unroll conjoined heads and tails will fold.

Reviewed-by: never
2011-04-04 19:02:36 -07:00
Igor Veresov
9ef9a4a3dc Merge 2011-04-04 18:48:49 -07:00
Igor Veresov
1875cfefc6 7033732: C1: When calling c2 arraycopy stubs offsets and length must have clear upper 32bits
With 7033154 we started calling c2 arraycopy stubs from c1. On sparcv9 we must clear the upper 32bits for offset (src_pos, dst_pos) and length parameters when calling them.

Reviewed-by: never, kvn
2011-04-04 16:00:34 -07:00
David Holmes
953a87d003 7009276: Add -XX:+IgnoreUnrecognizedVMOptions to several tests
Reviewed-by: kvn
2011-04-04 18:15:55 -04:00
Tom Rodriguez
774ac503d0 7026957: assert(type2aelembytes(store->as_Mem()->memory_type(), true) == 1 << shift->in(2)->get_int()) failed
Reviewed-by: kvn, jrose
2011-04-04 12:57:04 -07:00
Gary Benson
80dfa0e342 7032458: Zero and Shark fixes
Reviewed-by: twisti
2011-04-04 03:02:00 -07:00
Roland Westrelin
f94d7776ca 7033154: Improve C1 arraycopy performance
Better static analysis. Take advantage of array copy stubs.

Reviewed-by: never
2011-04-03 12:00:54 +02:00
Vladimir Kozlov
00eca5e982 7004535: Clone loop predicate during loop unswitch
Clone loop predicate for clonned loops

Reviewed-by: never
2011-04-02 10:54:15 -07:00
Vladimir Kozlov
68f1177f59 7032314: Allow to generate CallLeafNoFPNode in IdealKit
Added CallLeafNoFPNode generation to IdealKit. Added i_o synchronization.

Reviewed-by: never
2011-04-02 09:49:27 -07:00
Tom Rodriguez
5cd8d5c115 6909440: C2 fails with assertion (_always_cold->is_cold(),"must always be cold")
Reviewed-by: kvn
2011-04-01 21:45:33 -07:00
Erik Trimble
3b74e3fbe5 7033237: Bump the HS21 build number to 07
Update the HS21 build number to 07

Reviewed-by: jcoomes
2011-04-01 20:44:31 -07:00
Erik Trimble
f22754cd60 Merge 2011-04-01 20:44:27 -07:00
Vladimir Kozlov
bcbdcf6f83 Merge 2011-04-01 15:16:04 -07:00
Erik Trimble
f61376e61b Added tag hs21-b06 for changeset 8908d8654a39 2011-04-01 12:06:59 -07:00
Tom Rodriguez
3ad32dbe57 6385687: UseFastEmptyMethods/UseFastAccessorMethods considered harmful
Reviewed-by: kvn, jrose, phh
2011-03-31 21:05:55 -07:00
Suchen Chien
6c26fd43cd Added tag jdk7-b136 for changeset 8908d8654a39 2011-03-31 18:14:04 -07:00
Vladimir Kozlov
f33b8cbb7a 7032849: 7022998 changes broke hs_err compile task print
Initialize the time stamp on ostream used for hs_err dumping.

Reviewed-by: never
2011-03-31 16:54:27 -07:00
Tom Rodriguez
99fefbc760 Merge 2011-03-31 15:30:12 -07:00
Tom Rodriguez
036560e999 7032129: Native memory usage grow unexpectedly for vm/oom/*InternedString tests
Reviewed-by: kvn, kamg, jcoomes
2011-03-31 14:00:41 -07:00
Vladimir Kozlov
0493606cdd 7032696: Fix for 7029152 broke VM
StrIntrinsicNode::Ideal() should not optimize memory during Parse.

Reviewed-by: jrose, never
2011-03-31 13:22:34 -07:00
Keith McGuigan
727612ede9 7030388: JCK test failed to reject invalid class check01304m10n
Restrict fix for 7020118 to only when checking exception handlers

Reviewed-by: dcubed, dholmes
2011-03-31 08:08:50 -04:00
Andrew John Hughes
cf3120dddc 7010849: 5/5 Extraneous javac source/target options when building sa-jdi
Make code changes necessary to get rid of the '-source 1.4 -target 1.4' options.

Reviewed-by: dholmes, dcubed
2011-04-01 15:15:37 -07:00
Gary Benson
df96662d1a 7032775: Include Shark code in the build again
Co-authored-by: Andrew Hughes <ahughes@redhat.com>
Reviewed-by: ohair
2011-03-31 06:54:30 -04:00
Christian Thalinger
c9e2dcda4b 6817525: turn on method handle functionality by default for JSR 292
After appropriate testing, we need to turn on EnableMethodHandles and EnableInvokeDynamic by default.

Reviewed-by: never, kvn, jrose, phh
2011-03-31 02:31:57 -07:00
Christian Thalinger
79c814c616 7032388: guarantee(VM_Version::supports_cmov()) failed: illegal instruction on i586 after 6919934
6919934 added some unguarded cmov instructions which hit a guarantee on older hardware.

Reviewed-by: never, iveresov, kvn, phh
2011-03-31 00:27:08 -07:00
Igor Veresov
9d7277cbb2 Merge 2011-03-30 18:55:04 -07:00
Karen Kinnear
b65a6220c8 Merge 2011-03-30 17:05:40 -07:00
Igor Veresov
65b52f04ae 6564610: assert(UseCompiler || CompileTheWorld, "UseCompiler should be set by now.")
Remove invalid asserts

Reviewed-by: never, kvn
2011-03-30 15:22:41 -07:00
Vladimir Kozlov
3ecb9f51df 7029152: Ideal nodes for String intrinsics miss memory edge optimization
In Ideal() method of String intrinsics nodes look for TypeAryPtr::CHARS memory slice if memory is MergeMem. Do not unroll a loop with String intrinsics code.

Reviewed-by: never
2011-03-30 12:08:49 -07:00
Dmitry Samersoff
52bf12aead 7017193: Small memory leak in get_stack_bounds os::create_stack_guard_pages
Getline() returns -1 but still allocate memory for str

Reviewed-by: dcubed, coleenp
2011-03-30 19:38:07 +04:00
Tom Rodriguez
fd8aac2f3c 7031614: jmap -permstat fails with java.lang.InternalError in sun.jvm.hotspot.oops.OopField.getValue
Reviewed-by: kvn, dcubed
2011-03-30 07:47:19 -07:00
Igor Veresov
ca6c080c99 Merge 2011-03-30 03:48:38 -07:00
Igor Veresov
431a861d74 7026307: DEBUG MESSAGE: broken null klass on amd64
Correct typo introduces in 7020521

Reviewed-by: never, kvn
2011-03-29 22:25:17 -07:00
Tom Rodriguez
2c72495789 7032306: Fastdebug build failure on Solaris with SS11 compilers
Reviewed-by: kvn, iveresov
2011-03-29 22:05:21 -07:00