Commit Graph

2893 Commits

Author SHA1 Message Date
Thomas Schatzl
557d68a510 8169703: G1 crashes with guarantee(pretouch_gang != NULL) failed: No pretouch gang specified
Allow use of AlwaysPreTouch without passing a WorkGang.

Reviewed-by: kbarrett, dfazunen, ddmitriev
2016-11-24 10:05:47 +01:00
Stefan Karlsson
fe786e80ee 8169931: 8k class metaspace chunks misallocated from 4k chunk freelist​
Reviewed-by: mgerdin, coleenp, ehelin, stuefe
2016-11-23 14:36:32 +01:00
Kirill Zhaldybin
9439c78ffa 8168492: Convert CollectedHeap_test to GTest
Reviewed-by: iignatyev, tschatzl
2016-11-23 12:01:57 +03:00
Magnus Ihse Bursie
5ef25cb29e 8168037: Use ZIPEXE instead of ZIP to avoid clash with options for zip
Reviewed-by: erikj
2016-11-22 14:48:16 +01:00
Jesper Wilhelmsson
5e2e968e20 8169597: Quarantine TestCpoolForInvokeDynamic.java until JDK-8169232 is solved
Reviewed-by: egahlin, gtriantafill
2016-11-11 16:52:44 +01:00
Jini George
4e3c345d78 8164783: SA: jhsdb clhsdb 'printall' often throws "Corrupted constant pool" assertion failure
Do the special handling for invokedynamic bytecodes while printing out the bytecodes in a method

Reviewed-by: dsamersoff, sundar
2016-11-03 11:53:20 +05:30
Kirill Zhaldybin
db6e54d852 8168493: Convert TestBitMap_test to GTest
Reviewed-by: kbarrett, tschatzl
2016-11-01 16:23:29 +03:00
Jini George
95a418feb0 8169232: SA: TestCpoolForInvokeDynamic.java fails with sun.jvm.hotspot.debugger.DebuggerException: binary search bug: should have found entry 1
Avoid potential data loss by avoiding the long-to-int cast of the return value of minus()

Reviewed-by: dsamersoff, sspitsyn
2016-11-23 12:08:37 +05:30
Michail Chernov
ba634d1749 8168396: Unexpected OOME in GcCauseTest02 and GcTest02
Reviewed-by: tschatzl, dfazunen
2016-11-22 16:13:13 +03:00
Jiangli Zhou
1b1cffb128 8169870: CDS: "assert(partition_size <= size()) failed: partition failed" on 32 bit JVM
Exit the VM and report error if the second ReservedSpace() call also fails.

Reviewed-by: cjplummer, sspitsyn, iklam
2016-11-21 21:07:45 -05:00
Tobias Hartmann
94e3514d8f 8169711: CDS does not patch entry trampoline if intrinsic method is disabled
Always create interpreter method entries for intrinsified methods but replace them with vanilla entries if the intrinsic is disabled at runtime.

Reviewed-by: kvn, iklam
2016-11-21 08:27:10 +01:00
Michail Chernov
71c22433e4 8166719: gc/stress/TestStressG1Humongous.java fails with OOME
Reviewed-by: tschatzl, dfazunen
2016-11-18 18:46:08 +03:00
Rachel Protacio
7246df4cca Merge 2016-11-17 21:59:52 +00:00
Rachel Protacio
3f2be39bb3 8165550: Add class loader names to ClassCastException message
Adds new format of class loader names to VM ClassCastException messages

Reviewed-by: dholmes, mchung, lfoltan
2016-11-17 16:28:45 -05:00
Harold Seigel
ccbb28f6a0 8166304: Skipping access check for classes generated by core reflection
Only allow boot and reflection class loader to load sub-types of jdk.internal.reflect

Reviewed-by: acorn, lfoltan, rehn
2016-11-17 14:23:29 -05:00
Jini George
81f1e7056b 8169638: serviceability/sa/TestInstanceKlassSize.java and serviceability/sa/TestInstanceKlassSizeForInterface.java fail compilation
Modified the jtreg tests to use @modules

Reviewed-by: dsamersoff, rehn
2016-11-17 15:54:48 +03:00
Michail Chernov
5f5f5e574d 8165955: TestFullGCCount test failed with CMS and -XX:+ExplicitGCInvokesConcurrent
Reviewed-by: dfazunen, tschatzl
2016-11-16 18:57:42 +03:00
Michail Chernov
8aadf612a2 Merge 2016-11-15 15:30:03 +03:00
Michail Chernov
cf892bc788 8168934: [TESTBUG] gc/g1/logging/TestG1LoggingFailure.java failed
Reviewed-by: tschatzl, dfazunen
2016-11-15 14:04:39 +03:00
Jiangli Zhou
70abdc1e0e 8168790: CDS: assert(max_delta <= (0x7FFFFFFF)) failed: range check
Change the assert to check the current delta is less than 0x7FFFFFFF.

Reviewed-by: iklam, ddmitriev
2016-11-14 18:03:44 -05:00
Jesper Wilhelmsson
d89285aebb 8169597: Quarantine TestCpoolForInvokeDynamic.java until JDK-8169232 is solved
Reviewed-by: egahlin, gtriantafill
2016-11-11 16:52:44 +01:00
Erik Helin
d19575bfac 8167679: G1 phase logging is messy
Reviewed-by: sjohanss, tschatzl
2016-11-07 10:38:42 +01: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
Michail Chernov
f4949ad896 8168535: Quarantine GcCauseTest02 and GcTest02
Reviewed-by: jwilhelm, sjohanss
2016-10-31 18:18:05 +03: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
Vladimir Kozlov
797316e4f1 Merge 2016-10-28 19:33:22 +00:00
Dmitry Chuyko
e70bbbd57f 8067744: XMM/SSE float register values corrupted by JNI_CreateVM call in JRE 8 (Windows)
Save/restore registers in generate_get_cpu_info() code which checks interrupts.

Reviewed-by: kvn, mcberg
2016-10-28 12:28:46 -07:00
Staffan Larsen
1db73e7104 8168305: GC.class_stats should not require -XX:+UnlockDiagnosticVMOptions
Reviewed-by: rehn, mlarsson, iklam
2016-10-28 08:40:35 +02:00
Paul Sandoz
a1289cce5b 8166974: invokedynamic implementation should not wrap Errors
Reviewed-by: dholmes, jrose
2016-10-14 14:47:01 -07:00
Marcus Larsson
43db68dee4 8146009: "pure virtual method called" with using new GC logging mechanism
Co-authored-by: Michail Chernov <michail.chernov@oracle.com>
Reviewed-by: dsamersoff, dholmes, mchernov
2016-10-21 10:14:54 +02:00
Marcus Larsson
8641d21c56 8166117: Add UTC timestamp decorator for UL
Reviewed-by: rehn, rprotacio
2016-10-21 10:18:11 +02:00
Boris Molodenkov
ebdc27f789 8165451: Convert WorkerDataArray_test to GTest
Reviewed-by: jwilhelm
2016-10-26 17:29:47 +03:00
Tobias Hartmann
ed9adcbdfa 8164612: NoSuchMethodException when method name contains NULL or Latin-1 supplement character
String length needs to be updated when converting from unicode to utf8.

Reviewed-by: kvn, coleenp
2016-10-26 14:36:05 +02:00
Jesper Wilhelmsson
82bdf29022 8157455: Convert TestOS_test to GTest
Reviewed-by: dholmes, rehn
2016-05-23 19:46:43 +02:00
Jesper Wilhelmsson
4fde26fd80 8157453: Convert DependencyContext_test to GTest
Reviewed-by: dholmes, rehn, kzhaldyb
2016-05-20 16:45:00 +02:00
Jesper Wilhelmsson
99e0b31b64 8156800: Convert QuickSort_test to GTest
Reviewed-by: rehn, kzhaldyb, rprotacio, mlarsson
2016-05-11 23:33:24 +02:00
Joseph Provino
e41fd6cc89 Merge 2016-10-24 16:27:13 +00:00
Joseph Provino
af75e7389a 8160055: Misplaced call to ClassLoaderDataGraph::clear_claimed_marks during initial mark
The call to ClassLoaderDataGraph::clear_claimed_marks() during initial mark in g1CollectedHeap.cpp:4420 is misplaced.

Reviewed-by: tschatzl, kbarrett
2016-10-24 10:10:30 -04:00
Sharath Ballal
418c0fdb88 8160376: DebuggerException: Can't attach symbolicator to the process
Make SA link to JavaRuntimeSupport in MacOS X

Reviewed-by: dsamersoff, dcubed
2016-10-24 14:51:54 +03:00
Staffan Larsen
e3cfbde233 8168483: Remove jtreg timeout handler timeout
Reviewed-by: dholmes, tbell
2016-10-24 09:05:13 +02:00
Smita Kamath
2bc0337093 8165381: Update for x86 SHA512 using AVX2
Add intrinsics for x86 AVX2 architecture with no SHA instructions.

Reviewed-by: kvn
2016-10-21 10:16:09 -07:00
Alexander Kulyakhtin
a7041a6dc7 8168479: Quarantine serviceability/jdwp/AllModulesCommandTest.java test
Quarantining a test

Reviewed-by: sla
2016-10-21 17:04:13 +03:00
Alejandro Murillo
9864800638 Merge 2016-10-20 17:05:26 -07:00
Alejandro Murillo
af03100a51 Merge 2016-10-20 16:53:56 -07:00
Ioi Lam
b5eeaf1060 Merge 2016-10-20 21:41:14 +00:00
Ioi Lam
1f18dde1d8 8166203: NoClassDefFoundError should not be thrown if class is in_error_state at link time
Reviewed-by: coleenp, dholmes, sspitsyn
2016-10-20 13:41:07 -07:00
Kirill Zhaldybin
5eff90fe32 8159817: Convert FreeRegionList_test to GTest
Reviewed-by: kbarrett
2016-10-20 23:09:03 +03:00
Dmitrij Pochepko
9577d94f76 8155219: [TESTBUG] Rewrite compiler/ciReplay/TestVM.sh in java
Reviewed-by: kvn
2016-10-20 16:53:39 +03:00
Kirill Zhaldybin
d8c2eae5b3 8166910: Convert TestNewSize_test to GTest
8166911: Convert TestOldSize_test to GTest

Reviewed-by: jwilhelm
2016-10-20 10:51:54 +03:00
Doug Simon
65940c5e5c 8168295: [JVMCI] -XX:+JVMCIPrintProperties should exit after printing
Reviewed-by: kvn, twisti
2016-10-19 20:15:35 +02:00
Dmitry Fazunenko
af501f81ad Merge 2016-10-19 16:56:31 +00:00
Leonid Mesnik
3057feeecb 8166724: gc/g1/TestHumongousShrinkHeap.java fails with OOME
Reviewed-by: dfazunen, jwilhelm
2016-10-19 10:06:55 +03:00
Leonid Mesnik
4a49bb6284 8155570: serviceability/tmtools/jstat/GcTest02.java fails with parallel GC
Reviewed-by: jwilhelm
2016-10-19 10:10:51 +03:00
Kirill Zhaldybin
82d31a04f7 Merge 2016-10-19 12:10:43 +02:00
David Holmes
23e5629a05 Merge 2016-10-19 00:16:02 +00:00
David Holmes
027d770be6 8165827: Support private interface methods in JNI, JDWP, JDI and JDB
Reviewed-by: dcubed, lfoltan, sspitsyn
2016-10-18 20:03:17 -04:00
Calvin Cheung
c5dc50c03f 8166931: Do not include classes which are unusable during run time in the classlist file
Added check to exclude classes found in the --patch-module list

Reviewed-by: jiangli, lfoltan, iklam
2016-10-18 16:15:03 -07:00
Dmitry Fazunenko
5aa21143a2 Merge 2016-10-18 17:18:11 +00:00
Coleen Phillimore
da45a98b46 Merge 2016-10-18 16:09:34 +00:00
Dmitry Fazunenko
23d0bfc849 Merge 2016-10-18 16:02:14 +00:00
Dmitry Fazunenko
d530964acc 8165621: Convert TestG1BiasedArray_test to GTest
Reviewed-by: jwilhelm, kzhaldyb
2016-10-18 19:26:07 +04:00
Doug Simon
8302237d39 Merge 2016-10-18 15:15:51 +00:00
Erik Helin
719abe462c Merge 2016-10-18 16:21:43 +02:00
Coleen Phillimore
04bc07be95 8164921: Memory leaked when instrumentation.retransformClasses() is called repeatedly
Return Metablocks smaller than dictionary's dark matter.

Co-authored-by: Jon Masamitsu <jon.masamitsu@oracle.com>
Reviewed-by: mgerdin, sspitsyn, dsamersoff
2016-10-18 08:39:43 -04:00
Alexander Kulyakhtin
dbcc466e7f 8166289: RuntimeException: canRead() reports false for reading from the same module: expected true, was false
A fix in the JDWP test along with some extra logging added

Reviewed-by: sspitsyn
2016-10-18 14:27:48 +03:00
Christian Tornqvist
d7ea0d733b 8166738: Enable concurrency in Hotspot jtreg testing
Reviewed-by: gtriantafill, erikj, sspitsyn
2016-10-18 06:14:10 -04:00
Sangheon Kim
614320ba5e 8167494: Deprecate AutoGCSelectPauseMillis
Reviewed-by: kbarrett, ehelin
2016-10-17 16:40:49 -07:00
Sangheon Kim
fb49622c7e 8166461: Deprecate UseAutoGCSelectPolicy
Reviewed-by: kbarrett, ehelin
2016-10-17 21:21:53 -07:00
Sangheon Kim
3171a6fcee Merge 2016-10-18 01:47:24 +00:00
Jon Masamitsu
867c3bfaef 8155948: Add message for CMS deprecation for Oracle builds
Reviewed-by: kbarrett, dholmes, coleenp, drwhite
2016-10-17 16:46:12 -07:00
Stanislav Smirnov
c13329714b 8165687: Fix license and copyright headers in jd9 under hotspot/test
Legal notices and Oracle copyrights were updated (white and blank space, commas) in tests files for uniformity to meet Oracle requirements.

Co-authored-by: Vassili Igouchkine <vassili.igouchkine@oracle.com>
Reviewed-by: dholmes, iris
2016-10-17 18:54:12 -04:00
Vladimir Kozlov
28c75424e3 Merge 2016-10-14 08:54:02 -07:00
Alejandro Murillo
82157115c2 Merge 2016-10-13 08:57:54 -07:00
Mandy Chung
7bcdb60438 8167511: IgnoreModulePropertiesTest.java needs update for JDK-8162401
Reviewed-by: lfoltan, hseigel
2016-10-13 08:00:10 -07:00
Doug Simon
896a819c2b 8167180: [JVMCI] Exported elements referring to inaccessible types in jdk.vm.ci
Reviewed-by: mchung, twisti, alanb
2016-10-11 00:08:20 +02:00
Erik Helin
bf69ab5760 8166790: Add stress test GCBasher
Reviewed-by: dfazunen, dholmes, erikj, tschatzl, lmesnik
2016-10-06 16:32:46 +02:00
Doug Simon
dd2c391c43 8167194: [JVMCI] no reliable mechanism for querying JVMCI system properties
Reviewed-by: kvn
2016-10-05 13:56:26 -07:00
Erik Helin
f2c1ba20ec 8167190: Remove confusing timestamps from the gc log
Reviewed-by: sjohanss, pliden
2016-10-05 16:00:10 +02:00
Dean Long
ea3671c0ba Merge 2016-10-03 12:35:51 -04:00
Rachel Protacio
a687d709e2 Merge 2016-09-29 18:00:01 +00:00
Rachel Protacio
876f72beaf 8160064: StackWalker implementation added logging option without using UL
Moved StackWalk logging to Unified Logging framework

Reviewed-by: coleenp, mockner, dholmes, mchung
2016-09-29 13:32:17 -04:00
Kirill Zhaldybin
8e9064b44b 8166563: Convert GuardedMemory_test to Gtest
Reviewed-by: iignatyev
2016-09-28 17:18:45 +03:00
Kirill Zhaldybin
c6515608b6 8166804: Convert TestMetachunk_test to GTest
Reviewed-by: iignatyev
2016-09-28 17:26:43 +03:00
Roland Westrelin
a8c02b10fd 8166836: Elimination of clone's ArrayCopyNode may make compilation fail silently
Reviewed-by: vlivanov
2016-09-28 11:17:51 +02:00
Jamsheed Mohammed C M
7cc1fb0747 8134389: Crash in HotSpot with jvm.dll+0x42b48 ciObjectFactory::create_new_metadata
Always obtain return type from declared_signature for Invoke::declared_type. TypeCast return value to declared_signature return type for inlined lforms.

Reviewed-by: kvn, vlivanov
2016-09-29 22:37:05 -07:00
Chuck Rasbold
f99a7c05c4 8166742: SIGFPE in C2 Loop IV elimination
Reviewed-by: kvn
2016-09-28 10:11:40 -07:00
Sharath Ballal
9de81c383a 8165537: runtime/SharedArchiveFile/SASymbolTableTest.java fails with NullPointerException
Modify SASymbolTableTest.java to attach to LingeredApp and also handle the case where SymbolTable is not created.

Reviewed-by: dsamersoff, mseledtsov, iklam
2016-09-28 11:58:56 +05:30
Dean Long
632120bcd7 Merge 2016-09-27 20:55:13 -04:00
Ningsheng Jian
d3ef4d9c33 8165673: AArch64: Fix JNI floating point argument handling
Reviewed-by: aph, adinn
2016-09-27 09:25:26 +01:00
Dean Long
42ec83b459 Merge 2016-09-26 14:21:21 -04:00
Kirill Zhaldybin
7487c57399 8159818: Convert IHOP_test to GTest
Reviewed-by: tschatzl, iignatyev
2016-09-26 17:49:01 +03:00
Igor Ignatyev
d2c144fb0f 8166549: fix incorrectly @ignore-d hotspot/compiler tests
Reviewed-by: kvn, kzhaldyb
2016-09-22 22:51:51 +03:00
Igor Ignatyev
3953f5a523 Merge 2016-09-22 16:41:01 +02:00
Jini George
fadcca5e9a 8166552: SA: Missed testcase for add default methods to InstanceKlass
Add default methods to InstanceKlass to enable SA to inspect default methods

Reviewed-by: dsamersoff, iklam
2016-09-22 15:42:40 +03:00
Kirill Zhaldybin
0581d8c4cb 8165613: Convert TestKlass_test to Gtest
Reviewed-by: coleenp, rehn
2016-09-16 19:49:03 +03:00
Christian Tornqvist
9cc42b8afa Merge 2016-09-21 18:40:50 +00:00
Christian Tornqvist
52d47e1dbb Merge 2016-09-21 16:52:45 +00:00