Volker Simonis
e3c38523b2
6865265: JVM crashes with "missing exception handler" error
...
Retry the call to fast_exception_handler_bci_for() after it returned with a pending exception. Don't cache the exception handler pc computed by compute_compiled_exc_handler() if the handler is for another (nested) exception.
Reviewed-by: kamg, kvn
2011-10-04 14:30:04 -07:00
Vladimir Kozlov
47e357e16f
7081933: Use zeroing elimination optimization for large array
...
Don't zero new typeArray during runtime call if the allocation is followed by arraycopy into it.
Reviewed-by: twisti
2011-09-26 10:24:05 -07:00
Kurt Miller
95c56a472b
7089790: integrate bsd-port changes
...
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
Vladimir Kozlov
a46128d0dd
7081842: assert(Compile::current()->unique() < (uint)MaxNodeLimit) failed: Node limit exceeded
...
Add missing node limit check in IGVN optimizer
Reviewed-by: iveresov, never
2011-09-20 08:39:40 -07:00
Igor Veresov
0e0ba86cd8
Merge
2011-09-15 12:44:09 -07:00
Roland Westrelin
9d8e44db59
7077312: Provide a CALL effect for instruct declaration in the ad file
...
Abstracted way to declare that the MachNode has the effect of a call (kills caller save registers, preserves callee save registers)
Reviewed-by: twisti, never
2011-09-14 09:22:51 +02:00
Christian Thalinger
ed9a60ae02
7108383: JSR 292: JRuby bench_define_method_methods.rb: assert(slow_jvms != NULL) failed: miss path must not
...
Reviewed-by: kvn, never
2011-11-17 04:07:30 -08:00
Vladimir Kozlov
8d2ee23293
6890673: Eliminate allocations immediately after EA
...
Try to eliminate allocations and related locks immediately after escape analysis.
Reviewed-by: never
2011-11-16 09:13:57 -08:00
Christian Thalinger
81c085a1e2
7003454: order constants in constant table by number of references in code
...
Reviewed-by: kvn, never, bdelsart
2011-11-16 01:39:50 -08:00
Vladimir Kozlov
6b52dbceb0
7105605: Use EA info to optimize pointers compare
...
Optimize pointers compare using EA information.
Reviewed-by: never, twisti
2011-11-14 18:38:03 -08:00
Vladimir Kozlov
157ba53d27
7110586: C2 generates incorrect results
...
Exact limit of empty loop calculated incorrectly.
Reviewed-by: iveresov, never
2011-11-10 20:17:05 -08:00
Vladimir Kozlov
f99084037a
7090259: Fix hotspot sources to build with old compilers
...
Fixed warnings which prevent building VM with old compilers.
Reviewed-by: never
2011-09-13 20:28:00 -07:00
Vladimir Kozlov
e756c96259
7089632: assert(machtmp->outcnt() == 1) failed: expected for a MachTemp
...
Replace assert with check to delete MachTemp nodes only when they are really dead.
Reviewed-by: never
2011-09-13 11:46:51 -07:00
Tom Rodriguez
e3afdf10ad
7088955: add C2 IR support to the SA
...
Reviewed-by: kvn
2011-09-11 14:48:24 -07:00
Vladimir Kozlov
92b2b44b18
7035946: Up to 15% regression on JDK 7 b136 vs b135 on specjvm2008.crypto.rsa on x64
...
Revert changes which caused regression.
Reviewed-by: never
2011-09-09 13:47:11 -07:00
Roland Westrelin
499732d316
7087453: PhaseChaitin::yank_if_dead() should handle MachTemp inputs
...
PhaseChaitin::yank_if_dead() should be able to handle MachTemp inputs as a special case and yank them.
Reviewed-by: never, kvn
2011-09-08 09:35:41 +02:00
Vladimir Kozlov
61068411fa
7054211: No loop unrolling done in jdk7b144 for a test update() while loop
...
Restore unrolling code for CaffeineMark.
Reviewed-by: never
2011-09-07 12:58:42 -07:00
Roland Westrelin
48ecf5dfe4
7086394: c2/arm: enable UseFPUForSpilling
...
ARM has instructions to move data directly between the fpu and integer registers.
Reviewed-by: kvn, never
2011-09-07 09:35:52 +02:00
Tom Rodriguez
32fd1b087d
7071307: MethodHandle bimorphic inlining should consider the frequency
...
Reviewed-by: twisti, roland, kvn, iveresov
2011-09-02 20:58:21 -07:00
Christian Thalinger
1038fed51d
7071709: JSR 292: switchpoint invalidation should be pushed not pulled
...
Reviewed-by: never
2011-09-02 04:28:59 -07:00
Christian Thalinger
db44acbeb4
7085404: JSR 292: VolatileCallSites should have push notification too
...
Reviewed-by: never, kvn
2011-09-02 00:36:18 -07:00
Christian Thalinger
fcc2a86582
7079673: JSR 292: C1 should inline bytecoded method handle adapters
...
Reviewed-by: never
2011-09-01 01:31:25 -07:00
Tom Rodriguez
fa7c124af1
7083786: dead various dead chunks of code
...
Reviewed-by: iveresov, kvn
2011-08-31 16:46:11 -07:00
Christian Thalinger
05b60b3662
7078382: JSR 292: don't count method handle adapters against inlining budgets
...
Reviewed-by: kvn, never
2011-08-31 01:40:45 -07:00
Christian Thalinger
e3342531b4
7083184: JSR 292: don't store context class argument with call site dependencies
...
Reviewed-by: jrose, never
2011-08-29 05:07:35 -07:00
Igor Veresov
ec3f90d1b4
6591247: C2 cleans up the merge point too early during SplitIf
...
Remove region self reference last
Reviewed-by: kvn, never
2011-08-27 00:23:47 -07:00
Vladimir Kozlov
ff4faaab4b
7080431: VM asserts if specified size(x) in .ad is larger than emitted size
...
Move code from finalize_offsets_and_shorten() to fill_buffer() to restore previous behavior.
Reviewed-by: never
2011-08-18 11:49:33 -07:00
Vladimir Kozlov
90651b2666
7079329: Adjust allocation prefetching for T4
...
On T4 2 BIS instructions should be issued to prefetch 64 bytes
Reviewed-by: iveresov, phh, twisti
2011-08-16 16:59:46 -07:00
Vladimir Kozlov
080f790edc
7079317: Incorrect branch's destination block in PrintoOptoAssembly output
...
Save/restore label and block in scratch_emit_size()
Reviewed-by: never
2011-08-16 11:53:57 -07:00
Christian Thalinger
134c40b4db
7071653: JSR 292: call site change notification should be pushed not pulled
...
Reviewed-by: kvn, never, bdelsart
2011-08-16 04:14:05 -07:00
Vladimir Kozlov
ac99f413d7
7063629: use cbcond in C2 generated code on T4
...
Use new short branch instruction in C2 generated code.
Reviewed-by: never
2011-08-11 12:08:11 -07:00
Vladimir Kozlov
52f678435a
7077439: Possible reference through NULL in loopPredicate.cpp:726
...
Use cl->is_valid_counted_loop() check.
Reviewed-by: never
2011-08-10 14:06:57 -07:00
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
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
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
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
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
Vladimir Kozlov
fcc8abec1e
Merge
2011-07-13 10:48:42 -07:00
John Coomes
abe5e3a903
Merge
2011-07-12 16:32:25 -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
John Coomes
07d5e13794
7061187: need some includes for arm/ppc
...
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-06 12:03:01 -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
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
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
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
Tom Rodriguez
e666162b03
7050554: JSR 292 - need optimization for selectAlternative
...
Reviewed-by: kvn, jrose
2011-06-02 13:36:11 -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