3146 Commits

Author SHA1 Message Date
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
Harold Seigel
300390f275 8167104: Additional class construction refinements
Reviewed-by: acorn, mschoene, asmotrak
2016-10-26 15:12:53 -04:00
Rachel Protacio
eb6d311b66 8154791: Xlog classload too redundant msgs info/debug
Removed redundant information from class+load UL messages, ensured side-by-side printing of different levels for same class, cleaned up code

Reviewed-by: iklam, dholmes
2017-05-08 09:45:24 -04:00
Vladimir Kozlov
4865e72a94 8179656: [AOT] Add AOT manual test scripts
Reviewed-by: iveresov
2017-05-06 09:36:01 -07:00
Kim Barrett
48d21bc1c7 8179004: Add an efficient implementation of the "count trailing zeros" operation
Added count_trailing_zeros function, with platform-dependent implementations.

Reviewed-by: dholmes, cjplummer
2017-05-05 16:20:42 -04:00
Harold Seigel
5b7ff7579c 8056900: Enhance NoClassDefFound exception messaging
Add text to the message explaining the cause of the exception

Reviewed-by: dholmes, sspitsyn, coleenp
2017-05-04 10:05:29 -04:00
Kim Barrett
006229255a 8169039: Add unit tests for BitMap search operations
Added native unit test test_bitMap_search.cpp

Reviewed-by: stefank, sjohanss
2017-05-03 18:44:27 -04:00
Ioi Lam
c386cec7b1 8171392: Move Klass pointers outside of ConstantPool entries so ConstantPool can be read-only
Added _resolved_klasses; moved _resolved_references to ConstantPoolCache, etc.

Reviewed-by: coleenp, lfoltan, simonis, aph
2017-03-03 23:08:35 -08:00
Serguei Spitsyn
0c74ceb12d Merge 2017-05-03 02:32:02 +00:00
Serguei Spitsyn
4e72cfa0f7 8172970: TESTBUG: need test coverage for the JVMTI functions allowed in the start phase
New JTreg test provides the necessary coverage during the start phase

Reviewed-by: dholmes, dcubed
2017-05-02 19:27:26 -07:00
Mikhailo Seledtsov
7ccad75888 8179243: [TESTBUG] CDS tests should be excluded from running with -UseCompressedOops
Used at-requires statements to exclude the affected tests

Reviewed-by: dholmes, jiangli, sspitsyn
2017-04-26 11:26:11 -07:00
Jesper Wilhelmsson
dd358a3bac Merge 2017-04-24 21:34:24 +02:00
Rachel Protacio
9947f147f6 8165896: Use "open" flag from JVM_DefineModule to export all module packages
Implemented VM side of open modules, which export all their packages unqualifiedly. Automatic modules and unnamed modules are treated internally as open modules.

Reviewed-by: alanb, hseigel, lfoltan
2017-04-24 12:08:28 -04:00
Harold Seigel
f9e13c6d3f 8178949: The split verifier allows anewarray to create an array of more than 255 dimensions
Add check to split verifier handling of anewarray opcode.

Reviewed-by: sspitsyn, gtriantafill, lfoltan
2017-04-24 08:47:38 -04:00
Igor Ignatyev
8d3d4753ec Merge 2017-04-22 00:56:56 +00:00
Erik Helin
2f0b3ae37d 8179064: TestInterpreterMethodEntries.java is missing -XX:+UnlockDiagnosticVMOptions
Reviewed-by: ctornqvi, gtriantafill
2017-04-21 08:24:48 +02:00
Erik Helin
fbf3b4e67d 8177967: Move TestGCOld to subdirectory
Reviewed-by: mgerdin, pliden
2017-04-21 10:43:43 +02:00
Igor Ignatyev
dcf04abd48 8178788: wrap JCStress test suite as jtreg tests
Reviewed-by: kvn, dholmes
2017-04-19 16:33:37 -07:00
Igor Ignatyev
c3d400001c 8178835: CTW Runner should check that all classes have been compiled
Reviewed-by: kvn
2017-04-18 20:10:55 -07:00
Igor Ignatyev
154b7f24cb 8178913: CTW library does not close all opened resources
Reviewed-by: kvn
2017-04-18 20:10:54 -07:00
Mikhailo Seledtsov
79793e9c64 Merge 2017-04-18 23:52:58 +02:00
Mikhailo Seledtsov
ca99a2ef45 8177728: [TESTBUG] Improve CDS test utils
Improved and expanded CDS test utils; updated CDS tests to use new utils.

Reviewed-by: jiangli, ccheung
2017-04-18 14:18:43 -07:00
Jesper Wilhelmsson
d507b8945c Merge 2017-04-18 22:25:33 +02:00
Erik Helin
06320cf6be 8177968: Add GC stress test TestGCLocker
Reviewed-by: pliden, lmesnik
2017-04-18 11:01:09 +02:00
Calvin Cheung
bed1dfb050 8179103: [Testbug] re-enable the runtime/SharedArchiveFile/BootAppendTests.java test
Added the java.corba to the set of root modules by using the --add-modules option. Used the CDSTestUtils.checkExec() for checking test results.

Reviewed-by: sspitsyn, jiangli, mseledtsov, iklam
2017-04-25 11:06:42 -07:00
Erik Helin
30b6aebe6a 8179266: Add test/gc/g1/humongousObjects/TestHeapCounters.java to ProblemList.txt
Reviewed-by: sjohanss, mgerdin
2017-04-25 11:58:37 +02:00
Erik Helin
ee6019a512 8178095: Add GC stress test TestSystemGC
Reviewed-by: dfazunen, mgerdin
2017-04-05 14:21:58 +02:00
Igor Ignatyev
0e48425fa4 8178727: CTW should provide class names in error messages
Reviewed-by: kvn
2017-04-14 15:47:33 -07:00
Kim Barrett
5fb44c25c7 8169517: WhiteBox should provide concurrent GC phase control
Added WhiteBox API and G1 implementation.

Reviewed-by: shade, dfazunen
2017-04-13 16:38:39 -04:00
Igor Ignatyev
4fd1cd9f86 8178291: Add CTW test for boot module
Reviewed-by: kvn
2017-04-13 11:23:37 -07:00
Per Lidén
ecca839838 8178364: Command-line flags of type double should accept integer values
Reviewed-by: dholmes, sjohanss
2017-04-11 11:12:58 +02:00
Jesper Wilhelmsson
cc14920031 Merge 2017-04-06 22:58:55 +02:00
Erik Helin
7e117c5d36 8177953: Rename TestGCBasher.run to TestGCBasher.main
Reviewed-by: pliden, tschatzl
2016-11-07 10:22:03 +01:00
Thomas Schatzl
5fdddaf351 8177059: [TESTBUG] gc/g1/TestGCLogMessages.java fails on 32bit arm after changes for JDK-8155094
Provide a way in the test to check log messages on arbitrary conditions and implement this for this case.

Reviewed-by: mchernov, sjohanss
2017-03-31 13:22:43 +02:00
Rickard Bäckman
08637a78e6 8177069: File separator mismatch on Win-64
Reviewed-by: dlong, kvn
2017-03-23 15:40:12 +01:00
Jesper Wilhelmsson
0f62f198b2 Merge 2017-03-28 00:03:23 +02:00