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