Vladimir Kozlov
09b7902e14
7107042: assert(no_dead_loop) failed: dead loop detected
...
Use dead nodes elimination code in PhaseIdealLoop before executing EA.
Reviewed-by: never, twisti
2011-11-09 07:25:51 -08:00
Vladimir Kozlov
dc1f4fe50e
7109887: java/util/Arrays/CopyMethods.java fails with -XX:+DeoptimizeALot
...
Zero array when compiled code is deoptimized.
Reviewed-by: never, twisti
2011-11-09 06:14:32 -08:00
Christian Thalinger
423972a7d8
7087727: JSR 292: C2 crash if ScavengeRootsInCode=2 when "static final" MethodHandle constants are in use
...
Reviewed-by: jrose, kvn, never
2011-11-09 00:42:33 -08:00
Vladimir Kozlov
0bc2963b7d
7059047: EA: can't find initializing store with several CheckCastPP
...
Split adjust_escape_state() method into two methods to find initializing stores.
Reviewed-by: never
2011-11-07 14:33:57 -08:00
Christian Thalinger
5ffce97ffc
7104561: UseRDPCForConstantTableBase doesn't work after shorten branches changes
...
Reviewed-by: never, kvn
2011-10-31 03:06:42 -07:00
Christian Thalinger
6d1f314a4b
7102657: JSR 292: C1 deoptimizes unlinked invokedynamic call sites infinitely
...
Reviewed-by: never, bdelsart
2011-10-27 04:43:37 -07:00
Vladimir Kozlov
669fa7396d
7097546: Optimize use of CMOVE instructions
...
Avoid CMove in a loop if possible. May generate CMove if it could be moved outside a loop.
Reviewed-by: never
2011-10-26 06:08:56 -07:00
Vladimir Kozlov
952f0b9b81
7059039: EA: don't change non-escaping state of NULL pointer
...
NULL pointers do not escape but escape state propagation may change it leading to worser results.
Reviewed-by: never
2011-10-25 12:51:13 -07:00
Omair Majid
160ad3376d
7103224: collision between __LEAF define in interfaceSupport.hpp and /usr/include/sys/cdefs.h with gcc
...
Reviewed-by: never
2011-10-25 08:17:15 -07:00
Tom Rodriguez
5dc4f00ff5
7103784: enable some flags by default
...
Reviewed-by: kvn
2011-10-23 20:23:14 -07:00
David Holmes
c45d65f8eb
Merge
2011-10-17 01:40:27 -04:00
Christos Zoulas
32708baef1
7098194: integrate macosx-port changes
...
Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Victor Hernandez <vhernandez@apple.com>
Co-authored-by: Pratik Solanki <psolanki@apple.com>
Reviewed-by: kvn, dholmes, never, phh
2011-10-13 09:35:42 -07:00
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