1132 Commits

Author SHA1 Message Date
Vladimir Ivanov
19f9a33953 8174721: C1: Inlining through MH invokers/linkers in unreachable code is unsafe
Reviewed-by: iveresov
2017-02-10 20:45:39 +03:00
Zoltan Majo
ecee7fc84b 8173151: Code heap corruption due to incorrect inclusion test
Change inclusion test to use CodeBlob::code_begin() for AOT methods and start of CodeBlob otherwise. Added regression test.

Reviewed-by: thartmann, dlong, kvn
2017-02-10 08:16:49 +01:00
Dmitry Chuyko
1acb306859 8166110: Inlining through MH invokers/linkers in unreachable code is unsafe
Reviewed-by: vlivanov
2017-02-09 19:00:48 +03:00
Doug Simon
a19bf59313 Merge 2017-02-06 21:12:41 +00:00
Jamsheed Mohammed C M
e05df4e05f 8170455: C2: Access to [].clone from interfaces fails
Passed holder klass to LR for proper resolution.

Reviewed-by: vlivanov
2017-02-06 09:56:48 -08:00
Doug Simon
47960ed2aa 8173912: [JVMCI] fix memory overhead of JVMCI
Reviewed-by: kvn
2017-02-06 10:45:11 +01:00
Jamsheed Mohammed C M
6f2cad0c0c 8173679: Disable ProfileTrap code and UseRTMLocking in emulated client Win32
Disabled mdo trap count update on deopt, and made +UseRTMLocking to exit.

Reviewed-by: kvn
2017-02-03 19:26:35 -08:00
Tobias Hartmann
ecea08b5c2 8173373: C1: NPE is thrown instead of LinkageError when accessing inaccessible field on NULL receiver
Deoptimize if receiver null check of unresolved field access fails to throw NoClassDefFoundError instead of NPE.

Reviewed-by: vlivanov
2017-01-31 18:42:45 +01:00
Vladimir Ivanov
81e25c58fb 8173404: C2: wrong nmethod dependency can be recorded for CallSite.target
Reviewed-by: kvn
2017-01-30 16:04:22 +03:00
Tom Rodriguez
3f2d357f28 8173584: Add unit test for 8173309
Reviewed-by: kvn
2017-01-30 10:30:24 -08:00
Roland Westrelin
9b352ebabe 8173147: [ctw] fails during compilation of sun.security.krb5.internal.crypto.RsaMd5DesCksumType::calculateKeyedChecksum with " graph should be schedulable"
Loads generated at uncommon trap from eliminated arraycopy have incorrect memory state

Reviewed-by: thartmann
2017-01-24 09:40:05 +01:00
Tobias Hartmann
a84b66b517 8172850: Anti-dependency on membar causes crash in register allocator due to invalid instruction scheduling
Regression test and additional asserts. The problem is fixed by 8087341.

Reviewed-by: kvn
2017-01-25 07:05:38 +01:00
Jamsheed Mohammed C M
ac41b68c15 8173300: [TESTBUG]compiler/tiered/NonTieredLevelsTest.java fails with compiler.whitebox.SimpleTestCaseHelper(int) must be compiled
Corrected available compilation levels for client builds.

Reviewed-by: kvn
2017-01-24 20:47:24 -08:00
Vladimir Kozlov
94db4c91c3 8173158: [AOT] fix typo in jaotc --help output
Reviewed-by: rbackman
2017-01-24 17:19:01 -08:00
Tom Rodriguez
56be1a28df 8171173: EXCEPTION_ACCESS_VIOLATION running VirtualObjectDebugInfoTest.java
Reviewed-by: kvn
2017-01-24 08:51:07 +00:00
Doug Simon
1cd0ad5c34 8172733: [JVMCI] add ResolvedJavaMethod.hasNeverInlineDirective
Reviewed-by: kvn
2017-01-22 21:40:59 +01:00
Vladimir Kozlov
a81872e33e 8173135: compiler/aot/fingerprint/SelfChangedCDS.java fails with: Unrecognized VM option 'UnlockCommercialFeatures'
Move aot/fingerprint tests to closed since they use commercial feature.

Reviewed-by: iveresov
2017-01-21 15:08:53 -08:00
Jamsheed Mohammed C M
5796b2e174 8173038: [TESTBUG] compiler/loopopts/UseCountedLoopSafepointsTest.java fails with TESTBUG: Not server mode
Remove wrong extra check that got added as part of JDK-8166002 emulated client on win32.

Reviewed-by: kvn
2017-01-19 21:52:51 -08:00
George Triantafillou
f0f0950183 8152206: Simplify jvmstat modules
Reviewed-by: alanb, mchung, hseigel
2017-01-19 10:56:32 -05:00
Rickard Bäckman
9b81c0637e 8169588: [AOT] jaotc --classpath option is confusing
Reviewed-by: kvn, dlong
2017-01-05 08:37:10 +01:00
Andreas Woess
2259b96a70 8172751: OSR compilation at unreachable bci causes C1 crash
Bailout if OSR entry is unreachable.

Reviewed-by: thartmann
2017-01-19 08:10:11 +01:00
Jamsheed Mohammed C M
197ce5bafa 8166002: Emulate client build on platforms with reduced virtual address space
The default VM ergonomics on Windows/x86 (32-bit) are changed to client like.

Reviewed-by: kvn, iveresov
2017-01-17 21:38:07 -08:00
Dmitrij Pochepko
dbec733773 8166374: compiler/loopopts/UseCountedLoopSafepointsTest.java fails with "Safepoint not found"
Reviewed-by: thartmann
2017-01-10 20:45:04 +03:00
Tobias Hartmann
5b1d170deb 8171435: "assert(is_single_cpu() && !is_virtual()) failed: type check" with -XX:+PatchALot on SPARC
Fixed several issues with PatchALot or unaligned accesses on SPARC.

Reviewed-by: kvn
2017-01-06 10:55:30 +01:00
Tobias Hartmann
f238905f2b 8172010: [AOT] RecompilationTest.java fails with "expected compilation level after compilation to be no less than 1"
Disabled probabilistic profiling to ensure recompilation of AOT compiled method.

Reviewed-by: kvn, iveresov
2017-01-05 09:25:36 +01:00
Vladimir Kozlov
b58bb4740e 8172054: Aot tests should include Java assertions into AOT compiled code
Reviewed-by: iveresov
2017-01-04 11:44:26 -08:00
Rahul Raghavan
0f853d0c94 8156762: test/compiler/ciReplay/TestVMNoCompLevel.java fails with - 'Unexpected exit code for negative case: [-client]: expected 0 to not equal 0'
Corrected CLIENT_VM_AVAILABLE case

Reviewed-by: dpochepk, zmajo
2017-01-02 00:26:40 -08:00
Boris Molodenkov
f805a3a054 8170918: Remove shell script from test/compiler/c2/cr7200264/TestIntVect.java
Reviewed-by: kvn
2016-12-21 15:01:01 +03:00
Dmitrij Pochepko
973b6f24d0 8170886: compiler/ciReplay/TestSAServer.java intermittently throws NumberFormatException
Reviewed-by: thartmann
2016-12-20 17:35:20 +03:00
Boris Molodenkov
d652c70de6 8170464: Remove shell script from compiler/c2/cr7005594/Test7005594.java
Reviewed-by: kvn
2016-12-13 17:45:13 +03:00
Gustavo Romero
927d6255d3 8171236: RTM/HTM jtreg tests regression after transition to the new GNU-style options
Reviewed-by: kvn
2016-12-19 18:21:59 -08:00
Roland Westrelin
6869835c72 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
Fixed 3rd input of FMA intrinsic processing in C1.

Reviewed-by: kvn
2016-12-19 13:09:25 -08:00
Vladimir Kozlov
77a659dbb3 8171276: More problems in compiler/aot/RecompilationTest.java tests
Don't inline any SimpleTestCaseHelper methods during AOT compilation

Reviewed-by: iveresov
2016-12-16 01:46:00 -08:00
Vladimir Kozlov
0a908be59d 8171187: Expected compilation level after compilation to be no less than 1
Prevent inlining of test method into other AOT methods

Reviewed-by: iveresov
2016-12-13 17:58:19 -08:00
Vladimir Kozlov
001c67f1fb 8171134: Unexpected output in compiler/aot/SharedUsageTest.java
Switch off compressed oops for few AOT tests.

Reviewed-by: iveresov
2016-12-12 20:48:50 -08:00
Roland Westrelin
c9a8dbfa25 8162338: AArch64: Intrinsify fused mac operations
Reviewed-by: kvn
2016-12-12 11:29:51 -08:00
Dmitrij Pochepko
4778661b1f 8171059: [AOT] error in AotCompiler output in some aot tests
Reviewed-by: kvn
2016-12-12 21:18:54 +03:00
Dmitrij Pochepko
55dcedfbc8 8171060: [AOT] aot tests: WARNING: Requested compilation levels are out of current vm capabilities
Reviewed-by: kvn
2016-12-12 21:18:03 +03:00
Bharadwaj Yadavalli
2841c5eb2b 8171008: Integrate AOT compiler into JDK
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Jesper Wilhelmsson
65ae405a5b Merge 2016-12-08 17:03:45 +01:00
Jesper Wilhelmsson
5597cd6698 Merge 2016-12-08 15:49:29 +01:00
Igor Ignatyev
9d99a698ef 8078450: Implement consistent process for quarantine of tests
Reviewed-by: dfazunen, dholmes, sspitsyn
2016-12-07 14:37:35 +03:00
Alan Bateman
5b9e2a32bb 8170599: compiler/** tests using ToolProvider.getSystemClassLoader failing
Reviewed-by: hseigel
2016-12-01 15:54:39 +00:00
Alan Bateman
988690303a 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Reviewed-by: lfoltan, acorn, ctornqvi, mchung
2016-12-01 08:56:41 +00:00
Igor Ignatyev
f9087dae6d 8170227: use vm.jvmci property in compiler/jvmci tests
Reviewed-by: kvn
2016-11-29 00:25:13 +03:00
Doug Simon
1bab9425ed 8169331: [JVMCI] incomplete API to MethodParameters attribute
Reviewed-by: kvn
2016-11-07 17:02:46 +01:00
Goetz Lindenmaier
afd17cbfc4 8166837: [TESTBUG] Fix tests on Linux/s390x
Reviewed-by: kvn, simonis
2016-10-31 11:36:45 +01:00
Volker Simonis
fcdc3eac28 8159611: C2: ArrayCopy elimination skips required parameter checks
Reviewed-by: kvn, zmajo, thartmann
2016-10-06 18:51:24 +02:00
Roland Westrelin
21f23a996e 8167298: assert(tp->base() != Type::AnyPtr) crash with Unsafe.compareAndExchangeObject*
Unsafe.compareAndExchangeObject should keep track of returned type after matching

Reviewed-by: shade, vlivanov
2016-10-13 12:27:39 +02:00
Doug Simon
47096d7dd1 8168915: [JVMCI] use MethodParameters attribute instead of depending on -g option for sanity checks
Reviewed-by: kvn
2016-10-29 01:09:42 +02:00