3126 Commits

Author SHA1 Message Date
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
Roger Riggs
6f92b33cc9 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: hseigel
2017-04-12 11:43:49 -04:00
Stefan Karlsson
ed94ecff28 8182696: Remove gcTrace.hpp include from referenceProcessor.hpp
Reviewed-by: tschatzl, kbarrett
2017-06-22 09:07:47 +02:00
Kim Barrett
6cc7e33ce7 8181449: Fix debug.hpp / globalDefinitions.hpp dependency inversion
Refactor debug.hpp and reverse include dependency.

Reviewed-by: coleenp, stefank, dcubed
2017-06-22 20:47:22 -04:00
Jesper Wilhelmsson
3c874cfeb3 Merge 2017-06-22 00:51:07 +02: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
Igor Ignatyev
c4d0e65015 8178333: CTW/PathHandler uses == instead of String::equals for string comparison
Reviewed-by: kvn
2017-04-07 19:36:35 -07:00
Thomas Schatzl
442c887522 Merge 2017-04-07 10:51:28 +00:00
Alan Bateman
3919d858ca Merge 2017-04-07 10:58:27 +01:00
Y. Srinivas Ramakrishna
961c251005 8177963: Parallel GC fails fast when per-thread task log overflows
Instead of exiting the VM when per-thread task log overflows, print warnings once and ignore any further log addition attempt.

Reviewed-by: ysr, kbarrett, sangheki
2017-04-07 10:45:26 +02: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
Mario Torre
bb85a687d4 8177390: java -version does not differentiate between which port of AArch64 is used
Reviewed-by: aph, dholmes
2017-03-29 15:44:34 +00: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
Matthias Baesken
0e43e94709 8177531: libGetNamedModuleTest.c crash when printing NULL-pointer
Fix the NULL-pointer issue

Reviewed-by: stuefe, simonis, sspitsyn
2017-03-25 00:00:13 -07:00
Lana Steuck
33f168f4ec Merge 2017-03-25 01:44:22 +00:00
Mikael Gerdin
cc1aaab7e9 8176100: [REDO][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, coleenp, tschatzl
2017-03-22 15:25:21 +01:00
Robbin Ehn
6b15d9a82b 8177092: [TESTBUG] JMX test on MinimalVM fails after fix for 8176533
Reviewed-by: dholmes, mlarsson
2017-03-21 16:36:12 +01: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
Harold Seigel
958af9b3c3 8176471: [TESTBUG] runtime/modules/IgnoreModulePropertiesTest.java fails with OpenJDK: java.lang.RuntimeException: 'java version ' missing from stdout/stderr
Check for strings such as " version " and "Runtime Environment" that appear in 'java -version' for both open and closed builds.

Reviewed-by: coleenp
2017-03-13 16:23:17 -04:00
Harold Seigel
3064b3e35d 8176147: JVM should throw CFE for duplicate Signature attributes
Add the needed checks to ClasFileParser for duplicate Signature attributes.

Reviewed-by: dholmes, gtriantafill
2017-03-08 09:04:21 -05:00
Harold Seigel
b7121021af 8175383: JVM should throw NCDFE if ACC_MODULE and CONSTANT_Module/Package are set
If bad constant is seen, save it to throw CFE if ACC_MODULE is not in access_flags

Reviewed-by: dholmes, acorn, lfoltan, gtriantafill
2017-03-06 09:45:58 -05:00
Igor Ignatyev
5cdba20f81 8172457: JarDirTest.java fails after recent change
Reviewed-by: iveresov
2017-03-05 22:25:52 -08:00
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