Commit Graph

588 Commits

Author SHA1 Message Date
Roland Westrelin
d7522fb084 8086046: escape analysis generates incorrect code as of B67
Load bypasses arraycopy that sets the value after the ArrayCopyNode is expanded

Reviewed-by: kvn
2015-06-12 14:10:17 +02:00
Alexander Alexeev
252b1be912 8081790: aarch64: SHA tests fail
Fix SHA tests in JTReg so they recognize aarch64

Reviewed-by: duke
2015-06-03 08:23:09 +00:00
Vladimir Ivanov
90a42c2491 8074551: GWT can be marked non-compilable due to deopt count pollution
Reviewed-by: kvn
2015-06-11 14:19:40 +03:00
Roland Westrelin
197ecf9bc1 8081823: C2 performs unsigned comparison against -1
X <= 0 || x > 0 wrongly folded as (x-1) >u -1

Reviewed-by: kvn, vlivanov
2015-06-08 18:35:17 +02:00
Vladimir Kozlov
a2d369e486 Merge 2015-06-04 19:24:47 -07:00
Alejandro Murillo
c219f06861 Merge 2015-06-04 15:38:00 -07:00
Vladimir Kozlov
93d1573c5e 8081778: Use Intel x64 CPU instructions for RSA acceleration
Add intrinsics for BigInteger squareToLen and mulAdd methods.

Reviewed-by: kvn, jrose
2015-06-03 15:02:10 -07:00
Roland Westrelin
81b0f156c8 8080976: Unexpected AIOOB thrown from 1.9.0-ea-b64 on (regression)
Loop variant use in reduction should prevent vectorization

Reviewed-by: kvn, mcberg
2015-05-29 16:09:16 +02:00
Alexander Alexeev
a1eb515812 8081669: aarch64: JTreg TestStable tests failing
Fix TestStable failures

Reviewed-by: vlivanov
2015-06-02 14:28:08 +00:00
Roland Westrelin
0296c2894b 8080699: Assert failed: Not a Java pointer in JCK test
Eliminated arraycopy node still reachable through exception edges

Reviewed-by: kvn
2015-05-22 09:14:18 +02:00
Tobias Hartmann
14a1d71874 8080156: Integer.toString(int value) sometimes throws NPE
Added test to check correctness of type propagation to CmpUNodes.

Reviewed-by: kvn
2015-05-22 13:02:47 +02:00
Andrew Haley
d917a8866c 8080600: AARCH64: testlibrary does not support AArch64
Add Platform.isAArch64().  Use it in mathexact intrinsic tests.

Reviewed-by: kvn, roland
2015-05-20 10:21:02 +01:00
Volker Simonis
b48a61e5be 8080190: PPC64: Fix wrong rotate instructions in the .ad file
Reviewed-by: kvn
2015-05-19 11:06:34 +02:00
Vladimir Kozlov
49ab7a3900 8080483: Incorrect test execution string at SumRed_Long.java
Reviewed-by: iveresov
2015-05-15 18:12:21 -07:00
Vladimir Ivanov
e5a92a9fb9 8079205: CallSite dependency tracking is broken after sun.misc.Cleaner became automatically cleared
Reviewed-by: roland, psandoz, plevart, kbarrett, jrose
2015-05-15 19:23:11 +03:00
Roland Westrelin
a3c77df5f1 8077504: Unsafe load can loose control dependency and cause crash
Node::depends_only_on_test() should return false for Unsafe loads

Reviewed-by: kvn, adinn
2015-05-21 13:54:07 +02:00
Tobias Hartmann
6172821723 8080420: Compilation of TestVectorizationWithInvariant fails with "error: package com.oracle.java.testlibrary does not exist"
Fixed location of testlibrary package.

Reviewed-by: kvn
2015-05-14 18:02:35 +02:00
Tobias Hartmann
9e5ef665a0 Merge 2015-05-14 16:16:06 +02:00
Katja Kantserova
80b436c366 8080100: compiler/rtm/* tests fail due to Compilation failed
Reviewed-by: sla
2015-05-12 10:29:10 +02:00
Roland Westrelin
a9cdbd0407 8076188: Optimize arraycopy out for non escaping destination
If the destination of an arraycopy is non escaping, the arraycopy may be optimized out

Reviewed-by: kvn, vlivanov
2015-05-12 10:27:50 +02:00
Tobias Hartmann
005adcec93 Merge 2015-05-11 07:58:02 +02:00
Michael C Berg
4fca8dbb1f 8076276: Add support for AVX512
Reviewed-by: kvn, roland
2015-05-08 11:49:20 -07:00
Harold Seigel
da4711381d Merge 2015-05-08 13:25:11 -04:00
Tobias Hartmann
43a5abc876 8078497: C2's superword optimization causes unaligned memory accesses
Prevent vectorization of memory operations with different invariant offsets if unaligned memory accesses are not allowed.

Reviewed-by: kvn
2015-05-08 12:19:17 +02:00
Goetz Lindenmaier
6d705e6978 8078593: [TESTBUG] ppc: Enable jtreg tests for new features
Also fix a ppc issue in test_env.sh

Reviewed-by: kvn
2015-04-24 10:49:38 +02:00
Michael C Berg
a880f3d139 8078563: Restrict reduction optimization
Reviewed-by: kvn, twisti
2015-04-29 15:34:04 -07:00
Alejandro Murillo
40dd1bad2c Merge 2015-05-02 00:16:29 -07:00
Vladimir Kozlov
a8e9687134 8079231: quarantine compiler/jsr292/CallSiteDepContextTest.java
Reviewed-by: dlong
2015-05-01 14:23:42 -07:00
Alejandro Murillo
d83bdb4157 Merge 2015-05-01 03:56:01 -07:00
Bharadwaj Yadavalli
f8d0a6ff28 Merge 2015-04-30 18:14:58 -04:00
Roland Westrelin
3cdae26a75 8078426: mb/jvm/compiler/InterfaceCalls/testAC2 - assert(predicate_proj == 0L) failed: only one predicate entry expected
Split if finds predicates on several incoming paths when unswitched's loops are optimized out

Reviewed-by: kvn
2015-04-29 14:43:12 -07:00
Christian Tornqvist
8923c30225 8077994: [TESTBUG] Exclude compiler/floatingpoint/ModNaN.java
Reviewed-by: hseigel, ccheung
2015-04-28 14:45:57 -07:00
Alexander Kulyakthin
462f735dac 8067013: Rename the com.oracle.java.testlibary package
Reviewed-by: dholmes, gtriantafill, sla
2015-05-04 16:30:07 +02:00
Roland Westrelin
cb19c4b63a 8078444: compiler/arraycopy/TestArrayCopyNoInitDeopt.java fails with exception 'm2 not deoptimized'
Some platform don't have speculative types

Reviewed-by: kvn
2015-04-23 16:38:08 +02:00
Vladimir Ivanov
b30f24676e 8078309: compiler/jsr292/MHInlineTest.java failed with java.lang.RuntimeException: 'MHInlineTest$A::protected_x (3 bytes) virtual call' found in stdout
Reviewed-by: jrose
2015-04-22 21:33:55 +03:00
Christian Tornqvist
1314bfbc94 Merge 2015-04-17 23:55:04 +00:00
Christian Tornqvist
06aabb4769 8077608: [TESTBUG] Enable Hotspot jtreg tests to run in agentvm mode
Reviewed-by: sla, gtriantafill
2015-04-17 16:12:16 -07:00
Vladimir Kozlov
b9c00b1904 Merge 2015-04-16 14:05:48 -07:00
Roland Westrelin
cb7a08139b 8074676: java.lang.invoke.PermuteArgsTest.java fails with "assert(is_Initialize()) failed: invalid node class"
After guards in Arrays.copyOf() intrinsic, control may become top

Reviewed-by: kvn, vlivanov
2015-04-15 11:01:56 +02:00
Andrew Haley
d81e78e8bc 8077615: AARCH64: Add C2 intrinsic for BigInteger::multiplyToLen() method
Add C2 intrinsic for BigInteger::multiplyToLen() on AArch64.

Reviewed-by: kvn
2015-04-14 11:43:18 +01:00
Vladimir Ivanov
5ff12acb9d 8062280: C2: inlining failure due to access checks being too strict
Reviewed-by: kvn
2015-04-14 18:11:06 +03:00
Calvin Cheung
d4c484b0ba Merge 2015-04-03 13:45:33 -07:00
Alexander Kulyakthin
01b9971365 8075586: Add @modules as needed to the open hotspot tests
Reviewed-by: sla, ctornqvi, lfoltan, mchung, alanb
2015-03-26 16:36:56 +01:00
Kirill Zhaldybin
d4860ee85e 8071546: hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java has been fixed, but still is in the exclude list
Deleted @ignore clause

Reviewed-by: iignatyev
2015-04-13 15:02:35 +03:00
Tobias Hartmann
03116a7e0e 8076625: IndexOutOfBoundsException in HeapByteBufferTest.java
Use Utils::getRandomInstance and nextInt to get reproducable and limited random values.

Reviewed-by: kvn, vlivanov
2015-04-13 07:00:47 +02:00
Vladimir Kozlov
b72eca85b5 Merge 2015-04-03 11:41:01 -07:00
Michael C Berg
9e55e44c85 8074981: Integer/FP scalar reduction optimization
Add scalar reduction optimization to C2 to take advantage of vector instructions in modern x86 CPUs.

Reviewed-by: kvn, twisti
2015-04-01 18:07:50 -07:00
Roland Westrelin
7c5d30b0e3 8075587: Compilation of constant array containing different sub classes crashes the JVM
Meet of 2 constant arrays result in bottom

Reviewed-by: kvn
2015-03-27 13:47:33 +01:00
Andrew Haley
1dfbc44c1f 8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.

Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:31:18 -07:00
Roland Westrelin
61aa1cfdef 8075921: assert assert(allocx == alloc) fails in library_call.cpp
Control becomes top after arraycopy guards and confuses tighly coupled allocation logic

Reviewed-by: kvn, vlivanov
2015-03-27 08:58:45 +01:00