Vladimir Kozlov
97a51c5c2a
8031320: Use Intel RTM instructions for locks
...
Use RTM for inflated locks and stack locks.
Reviewed-by: iveresov, twisti, roland, dcubed
2014-03-20 17:49:27 -07:00
Roland Westrelin
d5ff84f8b3
8032633: Enable type speculation by default
...
Enable type speculation
Reviewed-by: kvn
2014-03-06 11:11:04 +01:00
Vladimir Ivanov
3ba019c8b2
8035828: Turn on @Stable support in VM
...
Reviewed-by: jrose, twisti
2014-03-04 02:20:41 -08:00
Roland Westrelin
227129c4d9
8031754: Type speculation should favor profile data from outermost inlined method
...
Favor profile data coming from outer most method
Reviewed-by: kvn, twisti
2014-02-28 13:44:16 +01:00
Rickard Bäckman
0b85ee832e
8027754: Enable loop optimizations for loops with MathExact inside
...
Reviewed-by: kvn, iveresov
2014-01-23 12:08:28 +01:00
Vladimir Kozlov
7d92dc4d79
Merge
2014-01-28 12:28:17 -08:00
Aleksey Shipilev
fbff3b73a4
8032490: Remove -XX:+-UseOldInlining
...
Move the option to obsolete options list, purge the redundant compiler code.
Reviewed-by: kvn, jrose
2014-01-24 15:26:56 +04:00
Vladimir Kozlov
3b4f167e54
Merge
2013-12-12 11:05:39 -08:00
Goetz Lindenmaier
ecca1bcc72
8029015: PPC64 (part 216): opto: trap based null and range checks
...
On PPC64 use tdi instruction that does a compare and raises SIGTRAP for NULL and range checks.
Reviewed-by: kvn
2013-11-27 16:16:21 -08:00
Rickard Bäckman
57e01f1502
8028997: mathexact intrinsics are unstable
...
Reviewed-by: iveresov, kvn
2013-11-22 14:14:26 +01:00
Goetz Lindenmaier
7289ee4573
8028767: PPC64: (part 121): smaller shared changes needed to build C2
...
Smaller shared changes required to build the C2 compiler on PPC64.
Reviewed-by: kvn
2013-11-21 19:00:57 -08:00
Goetz Lindenmaier
12b298218d
8003854: PPC64 (part 115): Introduce PostallocExpand that expands nodes after register allocation
...
Added ability in C2 to expand mach nodes to several mach nodes after register allocation
Reviewed-by: kvn
2013-11-14 19:24:59 -08:00
Vladimir Kozlov
39b0e57fdd
Merge
2013-11-05 17:38:04 -08:00
Roland Westrelin
1b5bd82335
8024070: C2 needs some form of type speculation
...
Record unused type profile information with type system, propagate and use it.
Reviewed-by: kvn, twisti
2013-10-23 12:40:23 +02:00
Roland Westrelin
3f8ae3e9b9
8024069: replace_in_map() should operate on parent maps
...
Type information gets lost because replace_in_map() doesn't update parent maps
Reviewed-by: kvn, twisti
2013-10-19 12:16:43 +02:00
Rickard Bäckman
441f1d74cf
8024924: Intrinsify java.lang.Math.addExact
...
Reviewed-by: kvn, twisti
2013-09-27 08:39:19 +02:00
Niclas Adlertz
bcdf7e7a4d
8010941: MinJumpTableSize is set to 18, investigate if that's still optimal
...
Lowered the MinJumpTableSize for each platform
Reviewed-by: kvn
2013-09-11 09:34:00 +02:00
Vladimir Ivanov
f0e77ac67f
8001107: @Stable annotation for constant folding of lazily evaluated variables
...
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: rbackman, twisti, kvn
2013-09-10 14:51:48 -07:00
Vladimir Kozlov
1a700c9216
Merge
2013-09-05 11:04:39 -07:00
Goetz Lindenmaier
fac7ee02c5
8023033: PPC64 (part 13): basic changes for AIX
...
Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).
Reviewed-by: kvn, dholmes, stefank
2013-08-22 09:39:54 -07:00
Vladimir Kozlov
20f7d1a82a
8022993: Convert MAX_UNROLL constant to LoopMaxUnroll C2 flag
...
Replace MAX_UNROLL constant with new C2 LoopMaxUnroll flag.
Reviewed-by: roland
2013-08-14 10:21:26 -07:00
Vladimir Kozlov
7509ebea00
Merge
2013-06-27 13:04:51 -07:00
Goetz Lindenmaier
0522ce7a17
8016586: PPC64 (part 3): basic changes for PPC64
...
Added #includes needed for ppc64 port. Renamed _MODEL_ppc to _MODEL_ppc_32 and renamed corresponding old _ppc files to _ppc_32.
Reviewed-by: dholmes, kvn
2013-06-20 16:30:44 -07:00
David Chase
219121826e
8014959: assert(Compile::current()->live_nodes() < (uint)MaxNodeLimit) failed: Live Node limit exceeded limit
...
Insert extra checks and bailouts for too many nodes
Reviewed-by: kvn
2013-06-11 16:34:34 -04:00
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
Aleksey Shipilev
4b638cf955
8009120: Fuzz instruction scheduling in HotSpot compilers
...
Reviewed-by: kvn, vlivanov
2013-03-05 04:24:50 -08: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
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
Roland Westrelin
73d6d417be
8005071: Incremental inlining for JSR 292
...
Post parse inlining driven by number of live nodes.
Reviewed-by: twisti, kvn, jrose
2012-12-23 17:08:22 +01:00
Bharadwaj Yadavalli
2d2532e740
7092905: C2: Keep track of the number of dead nodes
...
Keep an (almost) accurate running count of the reachable (live) flow graph nodes.
Reviewed-by: kvn, twisti, jrose, vlivanov
2012-11-27 17:24:15 -08:00
Vladimir Kozlov
4531e51fc4
7163534: VM could crashes assert(false) failed: infinite EA connection graph build
...
In case of time or iterations limit reached C2 stops EA and continue compilation without EA as it does in product VM already.
Reviewed-by: twisti
2012-10-25 17:32:03 -07:00
Vladimir Kozlov
25f18c20d9
7199010: incorrect vector alignment
...
Fixed vectors alignment when several arrays are accessed in one loop.
Reviewed-by: roland, twisti
2012-09-19 16:50:26 -07:00
Aleksey Shipilev
3874f44d1c
7198499: TraceTypeProfile as diagnostic option
...
Reviewed-by: kvn
2012-09-19 10:38:12 -07:00
Tao Mao
447e7065d2
6677625: Move platform specific flags from globals.hpp to globals_<arch>.hpp
...
Reviewed-by: kvn, dholmes, coleenp
2012-08-27 15:17:17 -07:00
Vladimir Kozlov
b5b10846c2
7177923: SIGBUS on sparc in compiled code for java.util.Calendar.clear()
...
Disable vectorization of a memory access with more elements per vector than one which is used for alignment on sparc
Reviewed-by: twisti
2012-06-19 15:12:56 -07:00
Vladimir Kozlov
d1191bb4f4
7119644: Increase superword's vector size up to 256 bits
...
Increase vector size up to 256-bits for YMM AVX registers on x86.
Reviewed-by: never, twisti, roland
2012-06-15 01:25:19 -07:00
Vladimir Kozlov
e5f92a2396
7147744: CTW: assert(false) failed: infinite EA connection graph build
...
Rewrote Connection graph construction code in EA to reduce time spent there.
Reviewed-by: never
2012-03-12 10:46:47 -07:00
Vladimir Kozlov
94927c382b
7125896: Eliminate nested locks
...
Nested locks elimination done before lock nodes expansion by looking for outer locks of the same object.
Reviewed-by: never, twisti
2012-01-07 13:26:43 -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
Tom Rodriguez
5dc4f00ff5
7103784: enable some flags by default
...
Reviewed-by: kvn
2011-10-23 20:23:14 -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
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
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
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
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
Christian Thalinger
ffaadcecea
6961690: load oops from constant table on SPARC
...
Oops should be loaded from the constant table of an nmethod instead of materializing them with a long code sequence.
Reviewed-by: never, kvn
2010-12-03 01:34:31 -08:00
Stefan Karlsson
8006fe8f75
6989984: Use standard include model for Hospot
...
Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Tom Rodriguez
08d9e03b81
4809552: Optimize Arrays.fill(...)
...
Reviewed-by: kvn
2010-08-27 17:33:49 -07:00
Tom Rodriguez
a54b1ff70e
6978249: spill between cpu and fpu registers when those moves are fast
...
Reviewed-by: kvn
2010-08-19 14:51:47 -07:00
Vladimir Kozlov
5bed80aab9
6973963: SEGV in ciBlock::start_bci() with EA
...
Added more checks into ResourceObj and growableArray to verify correctness of allocation type.
Reviewed-by: never, coleenp, dholmes
2010-08-03 15:55:03 -07:00