Vladimir Kozlov
b4977e887a
6934604: enable parts of EliminateAutoBox by default
...
Resurrected autobox elimination code and enabled part of it by default.
Reviewed-by: roland, twisti
2013-05-08 15:08:01 -07:00
Vladimir Kozlov
1763afaec5
Merge
2013-05-03 15:35:30 -07:00
Mikael Gerdin
94677d4faf
Merge
2013-05-02 16:41:09 -07:00
Dean Long
9c966207ef
Merge
2013-04-24 21:11:02 -04:00
Goetz Lindenmaier
3f42e9e118
8003853: specify offset of IC load in java_to_interp stub
...
Refactored code to allow platform-specific differences
Reviewed-by: dlong, twisti
2013-04-24 20:55:28 -04:00
Martin Doerr
19d99e3d92
8012715: G1: GraphKit accesses PtrQueue::_index as int but is size_t
...
In graphKit INT operations were generated to access PtrQueue::_index which has type size_t. This is 64 bit on 64-bit machines. No problems occur on little endian machines as long as the index fits into 32 bit, but on big endian machines the upper part is read, which is zero. This leads to unnecessary branches to the slow path in the runtime.
Reviewed-by: twisti, johnc
2013-04-24 14:48:43 -07:00
Gilles Duboscq
34da1742ef
8012292: optimized build with GCC broken
...
Some #ifndef PRODUCT should be #ifdef ASSERT
Reviewed-by: kvn, twisti
2013-04-24 14:26:09 +02:00
Roland Westrelin
6ae26f2e94
8010460: Interpreter on some platforms loads ConstMethod::_max_stack and misses extra stack slots for JSR 292
...
ConstMethod::max_stack() doesn't account for JSR 292 appendix.
Reviewed-by: kvn
2013-04-24 11:49:38 +02:00
Vladimir Kozlov
ff008d0615
8015441: runThese crashed with assert(opcode == Op_ConP || opcode == Op_ThreadLocal || opcode == Op_CastX2P ..) failed: sanity
...
Relax the assert to accept any raw ptr types.
Reviewed-by: roland
2013-05-31 13:54:47 -07:00
Bharadwaj Yadavalli
b32dc11760
Merge
2013-04-19 03:13:04 -04:00
Jiangli Zhou
2f703b2613
Merge
2013-04-15 21:25:23 -04:00
Nils Eliasson
92ef5fe748
8006952: Slow VM due to excessive code cache freelist iteration
...
Remove continous free block requirement
Reviewed-by: kvn
2013-04-11 13:57:44 +02:00
Niclas Adlertz
09fdc18edc
8011621: live_ranges_in_separate_class.patch
...
Reviewed-by: kvn, roland
2013-04-16 10:08:41 +02:00
David Chase
25c31f3742
6443505: Ideal() function for CmpLTMask
...
Repair wrong code generation, added new matching rule
Reviewed-by: kvn, twisti
2013-04-12 19:14:47 -07:00
Jiangli Zhou
56370657b9
8010862: The Method counter fields used for profiling can be allocated lazily
...
Allocate the method's profiling related metadata until they are needed.
Reviewed-by: coleenp, roland
2013-04-09 17:17:41 -04:00
Daniel D. Daugherty
78339229bb
Merge
2013-04-05 10:38:08 -07:00
Mikael Vidstedt
eeb83733a6
8003310: Enable -Wunused-function when compiling with gcc
...
Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn
2013-04-04 10:01:26 -07:00
Chuck Rasbold
93c40233d6
8010437: guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
...
Fix shorten_branches() to accurately count an initial nop that may be inserted in a block that starts with a safepoint.
Reviewed-by: kvn
2013-04-03 15:00:55 -07:00
Vladimir Kozlov
848ccdbdfe
8004640: C2 assert failure in memnode.cpp: NULL+offs not RAW address
...
Always transform AddP nodes in IdealKit by calling _gvn.transform().
Reviewed-by: roland, twisti
2013-03-26 12:55:26 -07:00
Niclas Adlertz
143a0039a3
8010281: Remove code that is never executed
...
Reviewed-by: kvn, roland
2013-03-26 10:05:33 +01:00
Christian Thalinger
6964a690ed
7198429: need checked categorization of caller-sensitive methods in the JDK
...
Reviewed-by: kvn, jrose
2013-03-25 17:13:26 -07:00
Bharadwaj Yadavalli
6132db352d
8009539: JVM crash when run lambda testng tests
...
Ensure class pointer is non-null before dereferencing it to check if it is loaded.
Reviewed-by: kvn
2013-03-22 07:58:55 -07:00
Morris Meyer
a62f572a50
8009181: [parfait] Null pointer deference in hotspot/src/share/vm/opto/loopTransform.cpp
...
Add guarantee() to insert_pre_post_loops()
Reviewed-by: kvn
2013-03-20 07:05:40 -07:00
Morris Meyer
c3114a34ee
Merge
2013-03-19 16:31:10 -07:00
Morris Meyer
25c4a7fccd
8008811: [parfait] Null pointer deference in hotspot/src/share/vm/opto/loopopts.cpp
...
Add guarantee() checks
Reviewed-by: kvn
2013-03-19 12:15:35 -07:00
Vladimir Kozlov
3679ebdd7d
8010222: 8007439 disabled inlining of cold accessor methods
...
Added missing parenthesis
Reviewed-by: jrose
2013-03-19 10:56:33 -07:00
Morris Meyer
887dd2634c
8009172: [parfait] Null pointer deference in hotspot/src/share/vm/opto/output.cpp
...
Add guarantee() to DoScheduling()
Reviewed-by: twisti, kvn
2013-03-19 07:20:15 -07:00
Morris Meyer
f8081de006
8009166: [parfait] Null pointer deference in hotspot/src/share/vm/opto/type.cpp
...
Add guarantee() to as_instance_type()
Reviewed-by: kvn, twisti
2013-03-16 07:39:14 -07:00
Nils Eliasson
bcbdbf9996
8005772: Stubs report compile id -1 in phase events
...
Use 0 to indicate id is NA, -1 for error or uninitalized
Reviewed-by: kvn, twisti
2013-02-13 10:25:09 +01:00
Niclas Adlertz
b26473a6cf
8009721: Make PhaseLive independent from regalloc
...
Moved class definition of LRG_List from chaitin.hpp to live.hpp
Reviewed-by: kvn, rbackman, roland
2013-03-13 10:56:54 +01:00
Vladimir Kozlov
010f640069
8009472: Print additional information for 8004640 failure
...
Dump nodes and types in 8004640 case.
Reviewed-by: roland
2013-03-06 12:25:57 -08:00
Roland Westrelin
748083843a
8009460: C2compiler crash in machnode::in_regmask(unsigned int)
...
7121140 may not correctly break the Allocate -> MemBarStoreStore link
Reviewed-by: kvn
2013-03-06 10:28:38 +01:00
Aleksey Shipilev
4b638cf955
8009120: Fuzz instruction scheduling in HotSpot compilers
...
Reviewed-by: kvn, vlivanov
2013-03-05 04:24:50 -08:00
Vladimir Ivanov
3b1ccee969
Merge
2013-02-27 08:03:10 -08:00
Igor Ignatyev
50efb858e0
8007439: C2: adding successful message of inlining
...
Reviewed-by: kvn, vlivanov
2013-02-27 05:58:48 -08:00
Roland Westrelin
fe92862089
8007294: ReduceFieldZeroing doesn't check for dependent load and can lead to incorrect execution
...
InitializeNode::can_capture_store() must check that the captured store doesn't overwrite a memory location that is loaded before the store.
Reviewed-by: kvn
2013-02-25 14:13:04 +01:00
Vladimir Kozlov
656949d014
8004867: VM crashing with assert "share/vm/opto/node.hpp:357 - assert(i < _max) failed: oob"
...
Added few checks and early bailout from Superword optimization to avoid such cases in a future.
Reviewed-by: roland, twisti
2013-02-18 16:47:15 -08:00
Roland Westrelin
260e822459
8007959: Use expensive node logic for more math nodes
...
Use expensive node logic for other more math nodes.
Reviewed-by: kvn
2013-02-18 09:06:24 +01:00
Roland Westrelin
c401bf065d
7197327: 40% regression on 8 b41 comp 8 b40 on specjvm2008.mpegaudio on oob
...
Add support for expensive nodes.
Reviewed-by: kvn
2013-02-12 12:56:11 +01:00
David Chase
43c01fd8b6
8007402: Code cleanup to remove Parfait false positive
...
Add array access range check
Reviewed-by: kvn
2013-02-09 12:55:09 -08:00
Volker Simonis
285249963c
8006807: C2 crash due to out of bounds array access in Parse::do_multianewarray
...
Check ndimensions before accessing length[i] element
Reviewed-by: kvn
2013-02-06 11:33:49 -08:00
Roland Westrelin
da5499f4ed
8007144: Incremental inlining mistakes some call sites for dead ones and doesn't inline them
...
Wrong detection for dead call sites.
Reviewed-by: kvn
2013-02-04 11:30:37 +01:00
Morris Meyer
7d8f623180
6518907: cleanup IA64 specific code in Hotspot
...
Removed unused IA64 specific code
Reviewed-by: twisti, kvn, dholmes
2013-01-25 16:50:33 -08:00
Igor Ignatyev
1a9e6be809
8005439: no message about inline method if it specifed by CompileCommand
...
Reviewed-by: kvn, vlivanov
2013-02-01 03:02:01 -08:00
Krystal Mo
c06a8276fe
Merge
2013-01-24 09:06:16 -08:00
Vladimir Kozlov
9e0c61f822
6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86
...
Use SSE4.2 and AVX2 instructions for encodeArray intrinsic.
Reviewed-by: roland
2013-01-22 15:34:16 -08:00
Goetz Lindenmaier
44cdae9a57
8005055: pass outputStream to more opto debug routines
...
Pass the output stream to node->dump() and everything reachable from there
Reviewed-by: kvn
2013-01-22 11:31:25 -08:00
Karen Kinnear
706efde6df
Merge
2013-01-21 16:11:24 -05:00
Harold Seigel
68f3dd76c9
7102489: RFE: cleanup jlong typedef on __APPLE__and _LLP64 systems
...
Define jlong as long on all LP64 platforms and add JLONG_FORMAT macro.
Reviewed-by: dholmes, coleenp, mikael, kvn
2013-01-17 10:25:16 -05:00
David Chase
cc15237ca5
8005821: C2: -XX:+PrintIntrinsics is broken
...
Check all print inlining flags when processing inlining list.
Reviewed-by: kvn, twisti
2013-01-15 14:45:12 -08:00