3143 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
ca341236ca 8176054: [BACKOUT][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, mgerdin
2017-03-02 17:46:59 +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
Jini George
742dee356f 8162504: TestInstanceKlassSize.java and TestInstanceKlassSizeForInterface.java fail on Mac OS
Modify TestInstanceKlassSizeForInterface.java to avoid the error prone mechanism of spawning a process and attaching back to the current process. Use LingeredApp instead.

Reviewed-by: dsamersoff, sspitsyn
2017-02-23 12:19:03 +05:30
Claes Redestad
b1e28ffd5a 8175233: Remove LambdaForm.debugName
Reviewed-by: vlivanov, psandoz, jrose
2017-02-22 11:04:03 +01:00
Harold Seigel
90bde9549e 8174725: JVM should throw NoClassDefFoundError if ACC_MODULE is set in access_flags
Check if ACC_MODULE is set, and if so, throw NoClassDefFoundError exception

Reviewed-by: dholmes, alanb, acorn, coleenp, lfoltan, gtriantafill
2017-02-21 09:53:49 -05:00
Mikael Gerdin
90fdff0e70 8175085: [REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, dcubed, tschatzl
2017-02-17 13:16:54 +01:00
Jini George
1830b30f19 8175512: new TestPrintMdo.java fails with -XX:TieredStopAtLevel=1
Avoid running the test for -XX:TieredStopAtLevel=1 due to the lack of mdo data from JIT in this case.

Reviewed-by: dsamersoff, sspitsyn
2017-02-28 10:10:14 +05:30
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
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
Daniel D. Daugherty
168714c982 Merge 2017-02-16 10:46:43 -08:00
Daniel D. Daugherty
298e3a2dcc 8175086: [BACKOUT] fix for JDK-8166188
Reviewed-by: kbarrett, jwilhelm, dcubed
2017-02-16 10:41:19 -08:00
Volker Simonis
854b2dd10a 8174856: [TESTBUG] Missing DefineClass instances
Reviewed-by: dholmes, ddmitriev
2017-02-16 09:40:51 +01:00
Jini George
3241700776 8175054: Move new TestPrintMdo.java to hotspot/test directory
Fixing incorrect push caused by changeset 12633:c809fcb66c81

Reviewed-by: dholmes
2017-02-16 17:40:12 +05:30
Kim Barrett
28477cf493 8166188: G1 Needs pre barrier on dereference of weak JNI handles
Add low tag to jweaks and G1 barrier for jweak loads.

Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Co-authored-by: Volker Simonis <volker.simonis@sap.com>
Reviewed-by: mgerdin, mdoerr, pliden, dlong, dcubed, coleenp, aph, tschatzl
2017-02-15 22:19:13 -05: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
Jesper Wilhelmsson
be20d6384d Merge 2017-02-14 01:32:38 +01:00
David Holmes
e1cff30e76 8174798: Mis-merge left serviceability/sa/TestCpoolForInvokeDynamic.java ignored
Reviewed-by: dcubed
2017-02-12 20:21:31 -05:00
Jesper Wilhelmsson
faf9972570 Merge 2017-02-12 04:49:38 +01:00
Volker Simonis
236b9ba942 8173743: Failures during class definition can lead to memory leaks in metaspace
Reviewed-by: dholmes, coleenp, acorn, ddmitriev
2017-02-10 17:22:17 +01: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
Jesper Wilhelmsson
4519090804 Merge 2017-02-09 23:35:22 +01:00
Alan Bateman
9db79d57c8 8173393: Module system implementation refresh (2/2017)
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Reviewed-by: lfoltan, acorn, mchung
2017-02-10 09:03:55 +00:00
Lana Steuck
e02360463a Merge 2017-02-09 18:15:37 +00: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
David Holmes
fe4d1bb602 8173421: Obsolete and expired flags for JDK 10 need to be removed and related tests updated
Reviewed-by: lfoltan, mikael, dcubed
2017-01-31 19:26:50 -05:00
Brent Christian
113673d854 Merge 2017-01-31 20:04:54 +00:00
Brent Christian
c38ccc4fb0 8156073: 2-slot LiveStackFrame locals (long and double) are incorrect
Reviewed-by: coleenp, mchung
2017-01-31 11:50:42 -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
Jini George
f02b7dfba7 8171084: heapdump/JMapHeapCore fails with java.lang.RuntimeException: Heap segment size overflow
Create a new heapdump segment and truncate huge arrays if required, to avoid overflow of the 32 bit value representing the size.

Reviewed-by: dholmes, dsamersoff
2017-01-30 13:48:14 +05:30
Dmitrij Pochepko
54f50066eb 8173399: Jittester: sources should be aligned with latest product state
Reviewed-by: kvn
2017-01-27 18:44:15 +03:00
Jesper Wilhelmsson
9d799dc14f Merge 2017-01-24 00:30:28 +01: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
David Holmes
35fa509305 8172972: Add gc/g1/logging/TestG1LoggingFailure.java to the ProblemList
Reviewed-by: kbarrett
2017-01-19 18:52:16 -05:00
George Triantafillou
f0f0950183 8152206: Simplify jvmstat modules
Reviewed-by: alanb, mchung, hseigel
2017-01-19 10:56:32 -05:00