1167 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
dd358a3bac Merge 2017-04-24 21:34:24 +02:00
Lana Steuck
5ac911bb57 Merge 2017-04-22 00:21:28 +00:00
Jesper Wilhelmsson
d507b8945c Merge 2017-04-18 22:25:33 +02:00
Ekaterina Pavlova
ae7eebbe80 8178731: compiler/ciReplay/SABase.java does not compile
Reviewed-by: iignatyev, sspitsyn
2017-04-14 18:31:04 -07:00
Lana Steuck
2293dc116c Merge 2017-04-13 20:35:45 +00:00
Igor Ignatyev
48440aaf23 8164944: Refactor ProcessTools to get rid of dependency on java.management
Reviewed-by: kvn, gtriantafill, dfazunen, dholmes
2017-04-12 19:28:47 -07:00
Dean Long
f274b01820 8158168: Missing bounds checks for some String intrinsics
Reviewed-by: vlivanov, thartmann, sherman
2017-04-12 16:36:13 -04:00
Alan Bateman
3919d858ca Merge 2017-04-07 10:58:27 +01:00
Alan Bateman
a3ab143c64 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: lfoltan, sspitsyn
2017-04-07 08:04:46 +00:00
Lana Steuck
71d06e676b Merge 2017-04-06 04:50:34 +00:00
Doug Simon
d28f63fb9e 8177673: [JVMCI] missing checks in HotSpotMemoryAccessProviderImpl can cause VM assertions to fail
Reviewed-by: never, iveresov
2017-04-03 14:58:17 -07:00
Jesper Wilhelmsson
aa49aa7eab Merge 2017-03-30 19:55:04 +02:00
Tobias Hartmann
3e59334eef 8177095: Range check dependent CastII/ConvI2L is prematurely eliminated
Disabled narrowing of range check dependent CastIIs (either through the CastII(AddI) optimization or through CastIINode::Ideal).

Reviewed-by: vlivanov, kvn
2017-03-27 10:12:29 +02:00
Jesper Wilhelmsson
cc14920031 Merge 2017-04-06 22:58:55 +02:00
Martin Doerr
16a222c4ff 8176518: C2: Invalid ImplicitNullChecks with non-protected heap base
Avoid generating implicit null checks if heap base is not protected

Reviewed-by: zmajo
2017-03-20 11:32:30 +01:00
Lana Steuck
f1dabb55b4 Merge 2017-03-16 20:47:13 +00:00
Lana Steuck
b636d90917 Merge 2017-03-13 19:59:41 +00:00
Volker Simonis
1cd78903a8 8176505: Wrong assertion 'should be an array copy/clone' in arraycopynode.cpp
Reviewed-by: thartmann, roland
2017-03-13 16:07:17 +01:00
Aleksey Shipilev
9e4e386872 8175887: C1 value numbering handling of Unsafe.get*Volatile is incorrect
Reviewed-by: vlivanov
2017-03-01 14:51:12 +03:00
Lana Steuck
7a3d0a1349 Merge 2017-02-23 17:22:44 +00:00
Rickard Bäckman
5b097b494d 8175336: [TESTBUG] aot junit tests added by 8169588 are not executed
Reviewed-by: kvn
2017-02-23 10:08:51 +01:00
Claes Redestad
b1e28ffd5a 8175233: Remove LambdaForm.debugName
Reviewed-by: vlivanov, psandoz, jrose
2017-02-22 11:04:03 +01:00
Vladimir Kozlov
7d969ccd55 8174879: Rename jdk.vm.ci to jdk.internal.vm.ci
Rename jdk.vm.ci and jdk.vm.compiler modules to jdk.internal.vm.ci and jdk.internal.vm.compiler.

Reviewed-by: mchung, ihse, dnsimon
2017-02-16 15:46:09 -08:00
Roland Westrelin
d0db608122 8175097: [TESTBUG] 8174164 fix missed the test
Reviewed-by: kvn
2017-02-16 15:14:44 -08:00
Doug Simon
896fc63787 8174957: [JVMCI] jaotc is broken in Xcomp mode
Reviewed-by: iveresov
2017-02-15 11:14:45 +01:00
Dmitrij Pochepko
5c88e780c2 8138799: improve tests for CompilerToVM::MaterializeVirtualObjectTest
Reviewed-by: kvn
2017-02-15 17:40:44 +03:00
Dmitrij Pochepko
54491302fe 8138801: develop tests to check that CompilerToVM::isMature state is consistence w/ reprofile
Reviewed-by: kvn
2017-02-15 17:39:19 +03:00
Dmitrij Pochepko
b70e80c614 8172050: some compiler/calls/ tests should have /native option
Reviewed-by: kvn
2017-02-15 17:37:44 +03:00
Doug Simon
eb8d5435c2 8174961: [JVMCI] incorrect implementation of isCompilable
Reviewed-by: kvn
2017-02-14 12:04:28 -08:00
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
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
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
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