Tom Rodriguez
2126589fd0
7029167: add support for conditional card marks
...
Reviewed-by: iveresov, kvn
2011-04-27 15:40:36 -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
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
Jon Masamitsu
8328bb291e
Merge
2011-04-20 20:32:45 -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
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 Cuthbertson
7c844aba67
Merge
2011-04-14 13:45:41 -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
John R Rose
41745904a3
Merge
2011-04-09 21:16:12 -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
b6e631d446
Merge
2011-04-08 14:19:50 -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 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
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
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
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
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
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
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
Christian Thalinger
f51036e9bc
7022998: JSR 292 recursive method handle calls inline themselves infinitely
...
Reviewed-by: never, kvn
2011-03-28 03:58:07 -07:00
Tom Rodriguez
5387ee459e
7024475: loop doesn't terminate when compiled
...
Reviewed-by: kvn
2011-03-27 00:00:14 -07:00
Roland Westrelin
4171ca786e
7029017: Additional architecture support for c2 compiler
...
Enables cross building of a c2 VM. Support masking of shift counts when the processor architecture mandates it.
Reviewed-by: kvn, never
2011-03-25 09:35:39 +01:00
John Coomes
cdd5139d91
Merge
2011-03-24 23:04:36 -07:00
John Coomes
fe899cc10d
6962931: move interned strings out of the perm gen
...
Reviewed-by: never, coleenp, ysr, jwilhelm
2011-03-22 13:36:33 -07:00
Vladimir Kozlov
3de260da41
7008866: Missing loop predicate for loop with multiple entries
...
Add predicates when loop head bytecode is parsed instead of when back branch bytecode is parsed.
Reviewed-by: never
2011-03-21 11:28:14 -07:00
Tom Rodriguez
6e8a263a06
7017732: move static fields into Class to prepare for perm gen removal
...
Reviewed-by: kvn, coleenp, twisti, stefank
2011-03-18 16:00:34 -07:00
John R Rose
f6344076f2
7012648: move JSR 292 to package java.lang.invoke and adjust names
...
Package and class renaming only; delete unused methods and classes
Reviewed-by: twisti
2011-03-11 22:34:57 -08:00
Vladimir Kozlov
4c5f41c72f
7026631: field _klass is incorrectly set for dual type of TypeAryPtr::OOPS
...
Add missing check this->dual() != TypeAryPtr::OOPS into TypeAryPtr::klass().
Reviewed-by: never
2011-03-11 07:50:51 -08:00
Vladimir Kozlov
fd6487f201
7025742: Can not use CodeCache::unallocated_capacity() with fragmented CodeCache
...
Use largest_free_block() instead of unallocated_capacity().
Reviewed-by: iveresov, never, ysr
2011-03-09 09:15:16 -08:00
Vladimir Kozlov
8f5e126d82
6589823: Error: meet not symmetric
...
Arrays pointers meet must fall to bottom if exact array klasses in upper lattice are not equal or super klass is exact.
Reviewed-by: never
2011-03-05 11:02:04 -08:00
Igor Veresov
90a153aa38
6627983: G1: Bad oop deference during marking
...
Bulk zeroing reduction didn't work with G1, because arraycopy would call pre-barriers on uninitialized oops. The solution is to have version of arraycopy stubs that don't have pre-barriers. Also refactored arraycopy stubs generation on SPARC to be more readable and reduced the number of stubs necessary in some cases.
Reviewed-by: jrose, kvn, never
2011-03-01 14:56:48 -08:00
Vladimir Kozlov
a74bc73598
6942326: x86 code in string_indexof() could read beyond reserved heap space
...
Copy small (<8) strings on stack if str+16 crosses a page boundary and load from stack into XMM. Back up pointer when loading string's tail.
Reviewed-by: never
2011-02-26 12:10:54 -08:00
Vladimir Kozlov
afa5d117b7
6812217: Base memory of MergeMem node violates assert during killing expanded AllocateArray node
...
The assert in MergeMemNode::memory_at() misses the case when address is TOP.
Reviewed-by: never
2011-02-24 10:28:20 -08:00
Vladimir Kozlov
ddd4d3ad73
Merge
2011-02-14 14:36:29 -08:00
Vladimir Kozlov
5d3ab72d1d
7017746: Regression : C2 compiler crash due to SIGSEGV in PhaseCFG::schedule_early()
...
Add TEMP edges (and KILL projections) before duplicated operands are removed in Expand() methods.
Reviewed-by: never
2011-02-10 14:25:59 -08:00
Vladimir Kozlov
b9633d42b4
7017124: Fix some VM stats to avoid 32-bit overflow
...
Added new method inc_stat_counter() to increment long statistic values and use atomic long load and store.
Reviewed-by: dholmes, jrose, phh, never
2011-02-07 10:34:39 -08:00
Vladimir Kozlov
e7c3086ed3
7013538: Java memory leak with escape analysis
...
Don't allocate VectorSet iterator on C heap. Reuse resource storage in EA.
Reviewed-by: never
2011-02-07 10:25:39 -08:00
Vladimir Kozlov
c00a50c8e9
7017240: C2: native memory leak in nsk/regression/b4675027 on windows-x86 in comp mode with G1
...
Add ResourceMark into PhaseIdealLoop::build_and_optimize().
Reviewed-by: never
2011-02-07 09:46:01 -08:00
Bob Vandette
31e3fe4a98
7016023: Enable building ARM and PPC from src/closed repository
...
Reviewed-by: dholmes, bdelsart
2011-02-02 11:35:26 -05:00
Coleen Phillimore
7b4f8073f0
6990754: Use native memory and reference counting to implement SymbolTable
...
Move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank
2011-01-27 16:11:27 -08:00
Christian Thalinger
53c79c908e
Merge
2011-01-13 07:20:32 -08:00
Daniel D. Daugherty
0c7a73dc8c
Merge
2011-01-07 15:54:32 -08:00
Vladimir Kozlov
5bce844ff6
6876037: CTW fails jdk7/hotspot/src/share/vm/opto/type.cpp:2055. assert(bits,"Use TypePtr for NULL")
...
Add missing 0 value check in TypeRawPtr::add_offset().
Reviewed-by: never
2011-01-07 11:53:24 -08:00
Paul Hohensee
7b0134a7cb
7003271: Hotspot should track cumulative Java heap bytes allocated on a per-thread basis
...
Track allocated bytes in Thread's, update on TLAB retirement and direct allocation in Eden and tenured, add JNI methods for ThreadMXBean.
Reviewed-by: coleenp, kvn, dholmes, ysr
2011-01-07 10:42:32 -05:00