Commit Graph

19 Commits

Author SHA1 Message Date
Dmitry Samersoff
85deb5aa7e 8154258: [TESTBUG] Various serviceability tests fail compilation
Replace sun.misc.Unsafe with jdk.internal.misc.Unsafe

Reviewed-by: chegar, kvn
2016-05-01 12:47:00 +03:00
Tobias Hartmann
ebc384160f 8154763: Crash with "assert(RangeCheckElimination)" if RangeCheckElimination is disabled
Disable multiversioning if range check elimination is turned off.

Reviewed-by: mcberg, kvn
2016-04-25 10:51:44 +02:00
Tobias Hartmann
63403a410e 8154073: Several compiler tests fail when are executed with C1 only
Added missing flag checks to the tests and Whitebox API.

Reviewed-by: kvn
2016-04-14 08:32:39 +02:00
Chris Hegarty
b7075c2db9 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 23:03:39 +01:00
Krystal Mo
415eda1274 8003585: strength reduce or eliminate range checks for power-of-two sized arrays
Change ((x & m) u<= m) to always true and ((x & (m - 1)) u< m) into (m > 0)

Reviewed-by: kvn, roland
2016-01-19 14:52:33 +01:00
Roland Westrelin
7925eb298b 8134883: C1 hard crash in range check elimination in Nashorn test262parallel
C1's range check elimination breaks with a non-natural loop that has an exception handler as one entry

Reviewed-by: iveresov
2015-12-02 15:13:42 +01:00
Nils Eliasson
2f9e32256d Merge 2015-11-13 13:31:48 +01:00
Dmitrij Pochepko
38339b3fe9 8138689: use package for /compiler/whitebox common classes
Moved CompilerWhiteBoxTest to package, updating tests accordingly

Reviewed-by: iignatyev
2015-11-06 14:54:02 +03:00
Tobias Hartmann
af2e00ae90 8140574: C2 must re-execute checks after deoptimizing from merged uncommon traps
Before merging uncommon traps we have to check for proper bci domination and compatible JVMStates to guarantee correct re-execution of the checks.

Reviewed-by: kvn, roland
2015-11-06 09:36:47 +01:00
Roland Westrelin
8dd169a71f 8135069: C2 replaces range checks by unsigned comparison with -1
I < 0 || i > -1 wrongly folded as i >u -1

Reviewed-by: kvn
2015-09-11 16:56:56 +02: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
Alexander Kulyakthin
462f735dac 8067013: Rename the com.oracle.java.testlibary package
Reviewed-by: dholmes, gtriantafill, sla
2015-05-04 16:30:07 +02:00
Vladimir Kozlov
b72eca85b5 Merge 2015-04-03 11:41:01 -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
Roland Westrelin
71e31ee0b9 8073480: C2 should optimize explicit range checks
Explicit range checks should be recognized by C2

Reviewed-by: kvn, vlivanov
2015-03-17 10:06:31 +01:00
Roland Westrelin
5494b45a7a 8067647: [TESTBUG] compiler/rangechecks/TestRangeCheckSmearing.java uses wrong path to Whitebox API
Whitebox test library was moved

Reviewed-by: kvn
2014-12-16 20:09:29 +01:00
Roland Westrelin
caa8dcea64 8066103: C2's range check smearing allows out of bound array accesses
Range check smearing uncorrectly adjust first range check in a list of range checks to cover all of them

Reviewed-by: jrose, kvn, iveresov
2014-12-09 18:49:13 +01:00
Roland Westrelin
07537703cc 8048170: Test closed/java/text/Normalizer/ConformanceTest.java failed
PhaseIdealLoop::split_if_with_blocks_post() shoulnd't reorder range checks adjusted by range check smearing

Reviewed-by: kvn, jrose
2014-12-04 14:34:11 +01:00
Chris Plummer
d78d0c4fa4 8140189: [TESTBUG] Get rid of "@library /../../test/lib" in jtreg tests
Use new external.lib.roots property in TEST.ROOT so /../../test/lib is not needed.

Reviewed-by: mseledtsov, sla, iklam
2015-10-29 12:04:04 -07:00