3071 Commits

Author SHA1 Message Date
Kim Barrett
afad47099c 8178813: Add test for G1 pre-barrier on dereference of weak JNI handles
Add regression test.

Reviewed-by: mgerdin, tschatzl, pliden
2017-05-11 23:41:57 -04:00
Igor Ignatyev
8ea9daf94a 8179930: jdk.test.lib.artifacts.ArtifactResolver::resolve should return Map instead of HashMap
Reviewed-by: mseledtsov, gtriantafill, vlivanov
2017-05-11 16:35:02 -07: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
Lana Steuck
5ac911bb57 Merge 2017-04-22 00:21:28 +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
Ekaterina Pavlova
ae7eebbe80 8178731: compiler/ciReplay/SABase.java does not compile
Reviewed-by: iignatyev, sspitsyn
2017-04-14 18:31:04 -07: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
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
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
Erik Helin
ee6019a512 8178095: Add GC stress test TestSystemGC
Reviewed-by: dfazunen, mgerdin
2017-04-05 14:21:58 +02: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
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