1176 Commits

Author SHA1 Message Date
Lana Steuck
3edb9c14f7 Merge 2017-06-24 00:24:40 +00:00
Vladimir Ivanov
2a0ab692f7 8181872: C1: possible overflow when strength reducing integer multiply by constant
Reviewed-by: kvn
2017-06-20 14:37:25 +03:00
Doug Simon
a7a368b2f9 8182310: [AOT][JVMCI] Get host class of VM anonymous class
Add missing JVMCI functionality

Reviewed-by: dlong, kvn
2017-06-16 12:18:46 -07:00
Lana Steuck
e62c1a127e Merge 2017-06-16 04:55:29 +00:00
Lana Steuck
63253f80e8 Merge 2017-06-14 20:05:32 +00:00
Ron Pressler
061b09e847 8181292: Backport Rename internal Unsafe.compare methods from 10 to 9
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Reviewed-by: psandoz, dholmes, thartmann, kvn
2017-06-05 15:52:09 -07:00
Roland Westrelin
a9c2bc6517 8179678: ArrayCopy with same src and dst can cause incorrect execution or compiler crash
Replacing load on dst with load on src only valid if copy doesn't modify src element to load

Reviewed-by: kvn, thartmann
2017-06-02 09:08:34 +02:00
Lana Steuck
b415169648 Merge 2017-05-31 17:45:57 +00:00
Igor Ignatyev
48dfdfc633 8180793: move jdk.test.lib.wrappers.* to jdk.test.lib package
Reviewed-by: mchung
2017-05-22 15:27:20 -07:00
Lana Steuck
e1cda8ad72 Merge 2017-05-11 23:21:34 +00:00
Lana Steuck
17961706b2 Merge 2017-05-11 20:23:29 +00:00
Ron Pressler
96d03a13e6 8159995: Rename internal Unsafe.compare methods
Reviewed-by: psandoz, dholmes
2017-05-11 12:55:56 -07:00
Lana Steuck
f50ba6cf4d Merge 2017-05-05 04:49:35 +00:00
Doug Simon
16d29f2564 8177845: Need a mechanism to load Graal
Reviewed-by: kvn, iveresov, mchung
2017-04-28 02:54:05 -07:00
Alan Bateman
1726127181 Merge 2017-05-04 09:43:45 +01:00
Alan Bateman
aefdcda532 8178380: Module system implementation refresh (5/2017)
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Reviewed-by: lfoltan, hseigel, mchung, sspitsyn
2017-05-04 07:26:28 +00:00
Lana Steuck
5ac911bb57 Merge 2017-04-22 00:21:28 +00:00
Igor Veresov
34dec39bc2 8178047: Aliasing problem with raw memory accesses
Require equal bases when unaliasing offsets for raw accesses

Reviewed-by: kvn
2017-04-19 18:02:26 -07: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
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