Commit Graph

538 Commits

Author SHA1 Message Date
Thomas Schatzl
9ae0be2289 8205043: Make parallel reference processing default for G1
Reviewed-by: kbarrett, sjohanss
2018-06-19 09:34:39 +02:00
Igor Ignatyev
6e38484942 8202559: Tests which start VM using JNI start failing after compile upgrade to VC 2017
Reviewed-by: erikj
2018-06-18 16:58:16 -07:00
Boris Ulasevich
44d8adb43f 8204961: JVMTI jtreg tests build warnings on 32-bit platforms
Reviewed-by: sspitsyn, dholmes
2018-06-18 20:50:23 -04:00
Leo Korinth
74bd011f92 8205054: Could not find "lsof" on test machine
Reviewed-by: dholmes, mikael, goetz
2018-06-18 20:43:42 -04:00
Vladimir Kozlov
a0065b1667 8205181: ProblemList applications/ctw/modules/java_desktop_2.java
Reviewed-by: iignatyev
2018-06-18 15:24:48 -07:00
Thomas Schatzl
7f9bbfa767 8043575: Dynamically parallelize reference processing work
In G1 automatically set the number of parallel Reference processing threads

Co-authored-by: Sangheon Kim <sangheon.kim@oracle.com>
Reviewed-by: sangheki, kbarrett
2018-06-18 12:11:59 +02:00
Thomas Schatzl
1a0553e4eb 8202845: Refactor reference processing for improved parallelism
Fold reference processing's nine phases into four to decrease startup and termination time of this phase.

Reviewed-by: kbarrett, sjohanss
2018-05-29 09:26:00 +02:00
Goetz Lindenmaier
4a24d95917 8204943: Improve message of ArrayStoreException
Reviewed-by: lfoltan, hseigel
2018-06-15 12:25:53 +02:00
Vladimir Kozlov
9b7a61eff1 8184349: There should be some verification that EnableJVMCI is disabled if a GC not supporting JVMCI is selected
Exit VM with Error when JVMCI does not support seected GC.

Reviewed-by: iveresov, thartmann
2018-06-15 09:16:48 -07:00
Vladimir Kozlov
3ced42361d 8202948: C2: assert(init_offset >= 0) failed: positive offset from object start
Convert the assert into compilation check which will skip superword optimization

Reviewed-by: roland, thartmann
2018-06-15 08:28:08 -07:00
Jean Christophe Beyler
89453e7c64 8205096: Add missing files for 8203394
Add files missed in the push for Low-Overhead Heap Profiling

Reviewed-by: dholmes, tschatzl, rehn, simonis, ehelin
2018-06-15 02:31:37 -07:00
Ekaterina Pavlova
4455892789 8205074: [Graal] Add rest of compiler/stable tests into ProblemList-graal.txt
Reviewed-by: kvn
2018-06-14 15:27:49 -07:00
Thomas Stuefe
5b7f558b70 8203343: VM.{metaspace|classloaders|classhierarchy...} jcmd should show invocation targets for Generated{Method|Constructor}AccessorImpl classes
Reviewed-by: coleenp, sspitsyn, dholmes
2018-06-14 21:49:46 +02:00
Leonid Mesnik
c83edf5ae6 8203491: [TESTBUG] Port heapdump tests into java
Reviewed-by: coleenp, jgeorge
2018-06-13 16:32:02 -07:00
Harold Seigel
2595bdf177 8204620: ModuleEntry::is_non_jdk_module() determination for what is a jdk module is incorrect
Check module's loader and compare version with java.base's version to improve algorithm

Reviewed-by: lfoltan, mchung
2018-06-14 10:33:54 -04:00
Leo Korinth
86636eba81 8202740: runtime/8176717/TestInheritFD.java fails with java.lang.RuntimeException: could not match: VM RESULT => RETAINS FD
Reviewed-by: rehn, dholmes
2018-06-14 11:13:30 +02:00
Tobias Hartmann
d01224d43e 8205034: [BACKOUT] Induction variable of over-unrolled loop conflicts with range checks
Backout fix for JDK-8203915 because it causes SIGILL failures.

Reviewed-by: shade
2018-06-14 11:22:04 +02:00
Ekaterina Pavlova
467da554a2 8204978: [Graal] Disable Epsilon GC tests from running with Graal
Reviewed-by: kvn
2018-06-14 00:07:10 -07:00
Tobias Hartmann
c9c8cc68de 8203915: Induction variable of over-unrolled loop conflicts with range checks
Update skeleton predicates before main loop during unrolling to remove dead code.

Reviewed-by: kvn, roland
2018-06-14 09:04:55 +02:00
Daniil Titov
b5eadc5721 8203809: [Graal] JDI tests fail with: JDITestRuntimeException : ** event IS NOT a breakpoint **
Reviewed-by: sspitsyn, cjplummer
2018-06-13 10:36:13 -07:00
Bob Vandette
deba30de16 Merge 2018-06-12 18:53:38 -04:00
Bob Vandette
38646663d9 8203357: Container Metrics
Reviewed-by: mchung, dholmes, mseledtsov, rehn
2018-06-12 18:51:45 -04:00
Bob Vandette
2fa6eac464 8203691: Test /runtime/containers/cgroup/PlainRead.java fails
Reviewed-by: dholmes, mseledtsov, rehn
2018-06-12 18:44:01 -04:00
Brent Christian
ea01772a00 8204565: (spec) Document java.{vm.}?specification.version system properties' relation to $FEATURE
Reviewed-by: mchung
2018-06-12 14:08:24 -07:00
Per Lidén
e7af7a4aef 8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Vladimir Kozlov
312328b44c 8204113: Upgrade linker used in AOT tests to be same version as build toolchain
Reviewed-by: erikj, iignatyev
2018-06-12 07:52:30 -07:00
Aleksey Shipilev
a1518ac9b2 8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
Introduce Epsilon GC

Reviewed-by: rkennke, ihse, pliden, eosterlund, lmesnik, jgeorge, stefank
2018-06-12 15:03:00 +02:00
Ekaterina Pavlova
f98aad58de 8204694: Add failed compiler/stable tests into ProblemList-graal.txt
Reviewed-by: kvn
2018-06-11 14:29:38 -07:00
Calvin Cheung
999185f769 8204563: UseAppCDS obsolete message confusing
Reviewed-by: jiangli, mseledtsov, dholmes
2018-06-11 09:40:20 -07:00
Roland Westrelin
ff2c589b63 8202747: C2: assert(mode == ControlAroundStripMined && use == sfpt) failed: missed a node
Reviewed-by: neliasso, kvn
2018-06-11 14:16:43 +02:00
Aleksey Shipilev
bb1c912d9e 8204479: Bitwise AND on byte value sometimes produces wrong result
Reviewed-by: kvn, thartmann
2018-06-08 11:41:43 +02:00
Goetz Lindenmaier
0bc2cae363 8204549: [aix][testbug] signal tests fail because vm can not start in primordial thread
Reviewed-by: stuefe, dholmes
2018-06-07 15:08:16 +02:00
Chris Plummer
660dbcc16f 8203329: JDWP/JDI VM information string is incorrect
Make sure the native java.vm.info property also gets updated when the java version is.

Reviewed-by: sspitsyn, dholmes
2018-06-07 19:01:18 -07:00
Vladimir Kozlov
42e75b8c79 8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
Reviewed-by: iignatyev, kbarrett
2018-06-07 17:38:34 -07:00
Igor Ignatyev
658f3a7ee9 8204577: jittester generator doesn't kill processes on timeout
Reviewed-by: kvn, epavlova
2018-06-07 17:10:23 -07:00
Vladimir Ivanov
ddc42415c0 8203480: IncompatibleClassChangeError thrown at sites linked to default interface methods
Reviewed-by: kvn
2018-06-06 23:36:08 +03:00
Thomas Stuefe
234cd9fca4 8203682: Add jcmd "VM.classloaders" command to print out class loader hierarchy, details
Reviewed-by: coleenp, dholmes
2018-06-07 12:23:46 +02:00
Daniil Titov
f801eef7d1 8203033: [Testbug] vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic002/TestDescription.java fails with nestmates
Reviewed-by: sspitsyn, dholmes
2018-06-06 13:58:57 -07:00
Serguei Spitsyn
552a7d7e7e 8200387: [Graal] fromTonga/nsk/jdi tests hang with Graal as JIT
Increase the OVERLOADED_QUEUE value in the JDI client

Reviewed-by: cjplummer, amenkov
2018-06-06 19:47:22 -07:00
Stefan Karlsson
ad35b3d424 8204168: Increase small heap sizes in tests to accommodate ZGC
Reviewed-by: pliden, ehelin
2018-06-05 15:56:21 +02:00
Stefan Karlsson
a0b2b211cb 8204167: Filter out tests requiring compressed oops when CompressedOops is disabled
Reviewed-by: coleenp, kbarrett
2018-06-05 15:56:17 +02:00
Stefan Karlsson
8c5db24c99 8204165: Filter out tests requiring class unloading when ClassUnloading is disabled
Reviewed-by: coleenp, kbarrett
2018-06-05 15:56:14 +02:00
Stefan Karlsson
b95d16720f 8204163: Also detect concurrent GCs in MetaspaceBaseGC.java
Reviewed-by: eosterlund, pliden
2018-06-05 15:56:12 +02:00
Stefan Karlsson
a56e3ff761 8204162: TestG1HeapRegion needs @requires vm.gc.G1
Reviewed-by: eosterlund
2018-06-05 15:56:09 +02:00
Stefan Karlsson
7705bbfc69 8204160: BiasedLockingTest needs -XX:+UseBiasedLocking
Reviewed-by: eosterlund, dholmes
2018-06-05 15:56:07 +02:00
Sangheon Kim
4a7d797fda 8204095: [TESTBUG] TestPrintReferences.java fails if multiple concurrent mark happens
Reviewed-by: kbarrett, tschatzl
2018-06-04 21:19:15 -07:00
Leonid Mesnik
f8d429f9c1 8204103: Mark test serviceability/dcmd/compiler/CompilerQueueTest.java as intermittent and exclude it from tier1
Reviewed-by: kvn, jwilhelm
2018-06-05 02:15:37 +02:00
Alex Menkov
dbb9eb5b9c 8187289: NotifyFramePop request is not cleared if JVMTI_EVENT_FRAME_POP is disabled
Reviewed-by: sspitsyn, cjplummer
2018-06-04 10:25:44 -07:00
Calvin Cheung
185724b899 8203445: [TESTBUG] Remove appcds/jigsaw/limitmods/LimitModsTests.java
Reviewed-by: jiangli
2018-06-04 08:56:41 -07:00
Lois Foltan
d623fc1bba 8202758: SIGSEGV calling Class.forName(String,Boolean,ClassLoader) with mocked loader
Check that the unnamed module for a given ClassLoader is an instance of java.lang.Module.

Reviewed-by: alanb, acorn, coleenp, dholmes, hseigel
2018-06-04 11:07:04 -04:00
Goetz Lindenmaier
e208c81a27 8204277: [testbug] fix DisassembleCodeBlobTest
Reviewed-by: thartmann
2018-06-04 12:29:48 +02:00
Gustavo Romero
5fc4466414 8204134: jtreg: Fix RTM abort provoker for various tests after "8149159: Clean up Unsafe"
Reviewed-by: kvn, iignatyev
2018-06-03 14:21:56 -07:00
Gustavo Romero
e465926089 8204136: jtreg: Fix failing RTM test RTMSpinLoopCount
Reviewed-by: iignatyev, goetz
2018-06-03 09:19:48 +02:00
Igor Ignatyev
c4ec887262 8202812: [TESTBUG] Open source VM testbase compiler tests
Reviewed-by: kvn, mseledtsov
2018-06-01 15:48:55 -07:00
Ekaterina Pavlova
ace1b8a4c9 8200266: [Graal] Update ProblemList-graal.txt files
Reviewed-by: kvn
2018-05-25 14:10:21 -07:00
Serguei Spitsyn
2866f4bb4c 8203815: add tests failed because of 8203809 to the ProblemList-graal
Add tests to the ProblemList-graal.txt

Reviewed-by: dholmes
2018-05-25 00:26:08 -07:00
Serguei Spitsyn
f8fe9babb3 8203816: add tests failed because of 8203174 to the ProblemList-graal
Add tests to the ProblemList-graal.txt

Reviewed-by: dholmes
2018-05-25 00:18:47 -07:00
Tobias Hartmann
2d00538d92 8202949: C2: assert(false) failed: Bad graph detected in build_loop_late
Fixed trip count computation for counted loop with negative stride to prevent over-unrolling.

Reviewed-by: roland
2018-05-25 09:05:42 +02:00
Igor Ignatyev
59ac4c2629 8199383: [TESTBUG] Open source VM testbase JVMTI tests
Reviewed-by: sspitsyn, erikj
2018-05-24 17:12:15 -07:00
Coleen Phillimore
ea1e68ff5d 8203225: Fix of redefining a method that removes 1 or more lambda expressions failed to commit test cases
Reviewed-by: zgu, lfoltan
2018-05-24 14:02:37 -04:00
Harold Seigel
500501450f Merge 2018-05-24 13:06:46 -04:00
Harold Seigel
da47d82500 8203183: vmTestbase/vm/mlvm/anonloader/stress/oome/heap/Test.java times out
Limit the heap size so the OOM happens sooner.

Reviewed-by: kbarrett, coleenp
2018-05-24 13:04:33 -04:00
Calvin Cheung
55b6a9b02b 8203354: assert in ClassLoader::update_module_path_entry_list() could have incorrect message
Converting the assert in ClassLoader::update_module_path_entry_list() to a meaningful error message before aborting the CDS dump.

Reviewed-by: stuefe, iklam
2018-05-24 09:15:09 -07:00
Roland Westrelin
76bb390810 8202950: C2: assert(found_sfpt) failed: no node in loop that's not input to safepoint
Reviewed-by: neliasso, kvn
2018-05-24 09:59:57 +02:00
Mikhailo Seledtsov
6b45a75b88 8199255: [TESTBUG] Open source VM testbase default methods tests
Open sourced default method tests

Reviewed-by: ccheung, iignatyev, erikj
2018-05-23 17:09:49 -07:00
Gustavo Romero
c4b890cac0 8203669: PPC64: Fix jtreg RTM tests after "8203305: Improve TM detection for enabling RTM on Linux / POWER9"
Reviewed-by: mdoerr, goetz
2018-05-21 13:23:55 -04:00
David Holmes
8062baac83 8204055: SIGSEGV in java -XX:
Reviewed-by: iklam, stuefe, ccheung
2018-05-31 18:47:21 -04:00
Calvin Cheung
e8aba519f7 8203960: [TESTBUG] runtime/logging/DefaultMethodsTest.java failed when running in CDS mode
Added an interface with a default method. The InnerClass implements the interface.

Reviewed-by: iklam, dholmes
2018-05-31 11:41:25 -07:00
Gerard Ziemski
41259aae4d 8202360: [TESTBUG] runtime/LoadClass/TestResize.java needs to print output when it fails
Print out output from PrintSystemDictionaryAtExit at failure

Reviewed-by: mseledtsov, dholmes
2018-05-31 09:51:31 -05:00
Harold Seigel
d892ac8d4c 8202913: loader constraint message for fields specifies incorrect referring class
Improve the message to display the right referring class.

Reviewed-by: acorn, goetz, dholmes
2018-05-31 10:38:06 -04:00
Igor Ignatyev
2e0bda002d 8199371: [TESTBUG] Open source vm testbase JDWP tests
Reviewed-by: sspitsyn, mseledtsov
2018-05-30 20:54:45 -07:00
Igor Ignatyev
91cff962f9 8199380: [TESTBUG] Open source VM testbase AOD tests
Reviewed-by: erikj, sspitsyn
2018-05-30 16:18:56 -07:00
Daniil Titov
de66432d4a 8203802: Jvmti test fails to build with VS2017
Reviewed-by: sspitsyn, erikj
2018-05-30 08:59:56 -07:00
Goetz Lindenmaier
ff2c3d4dbe 8203881: Print erroneous size in NegativeArraySizeException
Reviewed-by: dholmes, stuefe
2018-05-30 11:39:26 +02:00
Thomas Stuefe
611c72e5bc 8203455: jcmd: VM.metaspace: print loader name for anonymous CLDs
Reviewed-by: lfoltan, goetz
2018-05-30 08:52:59 +02:00
Dean Long
92b31787a2 8203370: [JVMCI] UseJVMCICompiler should imply EnableJVMCI
Reviewed-by: kvn
2018-05-29 12:06:05 -07:00
Nils Eliasson
ac9f93a147 8192992: Test8007294.java failed: attempted to spill a non-spillable item
Fix bugs in schedule_late that forces load to early

Reviewed-by: kvn, thartmann
2018-03-21 16:03:12 +01:00
Leonid Mesnik
09be3efb39 8199064: Test applications/jcstress/other/Test.java#id1108 fails on Sparc
Reviewed-by: psandoz, mseledtsov
2018-05-22 10:49:20 -07:00
Mikhailo Seledtsov
6fcf6a9b20 8199257: [TESTBUG] Open source VM testbase metaspace tests
Open sourced VM metaspace tests

Reviewed-by: coleenp, stuefe
2018-05-22 13:05:22 -07:00
Igor Ignatyev
619bf3a01c 8199379: [TESTBUG] Open source vm testbase JDB tests
Reviewed-by: mseledtsov, sspitsyn
2018-05-22 10:08:04 -07:00
Coleen Phillimore
37e51f4074 8202669: Intermittent crash in ClassLoadingService::compute_class_size()
Don't report classes that failed to load when reporting class unloading. Remove the classes first.

Reviewed-by: dholmes, lfoltan, ccheung
2018-05-22 13:10:56 -04:00
Boris Ulasevich
069d6f992b 8203431: TestFloatsOnStackDeopt.java throws java.lang.LinkageError: loader <bootstrap> attempted duplicate class definition for java.lang.invoke.BoundMethodHandle$Species_LLL
Reviewed-by: redestad
2018-05-22 14:54:55 +02:00
David Holmes
bff7296db3 8203626: ProblemList compiler/runtime/TestFloatsOnStackDeopt.java
Reviewed-by: thartmann
2018-05-22 05:20:48 -04:00
Ioi Lam
f9742fc0a6 8193332: MetaspaceShared::check_shared_class_loader_type is not used during archive creation
Reviewed-by: lfoltan, jiangli
2018-05-21 21:27:12 -07:00
Jiangli Zhou
422e112ffd 8199807: AppCDS performs overly restrictive path matching check
8203377: Cleanup the usage of os::file_name_strcmp() in SharedPathsMiscInfo::check()

Relax CDS/AppCDS path check for modules image.

Reviewed-by: iklam, ccheung
2018-05-21 15:15:58 -04:00
Yasumasa Suenaga
535c2507a0 8202466: Test serviceability/tmtools/jstat/GcTest01.java fails: Number of concurrent GC events is 1, but CGCT is 0
Reviewed-by: cjplummer, sspitsyn
2018-05-20 20:25:51 +09:00
Igor Ignatyev
bc795f4eb8 8203437: 8199370 broke build on linux-ppc64le (w/ GCC 4.8.5.)
Reviewed-by: shade
2018-05-18 12:45:05 -07:00
Boris Ulasevich
2029f17855 8202710: AARCH64: sporadic jtreg test fail
Reviewed-by: aph, dsamersoff
2018-05-18 13:23:28 +03:00
Ekaterina Pavlova
fdaaae3622 8203318: compiler/stable/TestStableShort.java is broken
Reviewed-by: shade
2018-05-17 21:04:53 -07:00
Leonid Mesnik
5dcd1ced4c 8199271: [TESTBUG] open source VM testbase stress tests
Reviewed-by: mseledtsov, sspitsyn, erikj
2018-05-17 16:21:27 -07:00
Igor Ignatyev
072459a055 8199370: [TESTBUG] Open source vm testbase GC tests
Reviewed-by: erikj, ihse, ehelin
2018-05-17 14:52:47 -07:00
Calvin Cheung
e8cf273121 8196619: [TESTBUG] restore current version check in runtime/appcds/MultiReleaseJars.java
Reviewed-by: dholmes
2018-05-17 08:41:01 -07:00
Igor Ignatyev
01b0f9ea7d 8199384: [TESTBUG] Open source VM testbase MLVM tests
Reviewed-by: erikj, mseledtsov, vlivanov
2018-05-17 00:23:28 -07:00
Mikhailo Seledtsov
8d586517f4 8199252: [TESTBUG] Open source VM testbase system dictionary tests
Opensourced the tests

Reviewed-by: iignatyev, gziemski
2018-05-16 16:43:11 -07:00
Stefan Johansson
f21c201f80 8183910: gc/arguments/TestAggressiveHeap.java fails intermittently
Reviewed-by: tschatzl, kbarrett
2018-05-16 10:44:59 +02:00
Igor Ignatyev
5bb7e81832 8203250: runtime/LoadClass/test-classes/Hello.java has wrong legal notice
Reviewed-by: ccheung
2018-05-15 13:58:03 -07:00
Erik Gahlin
a060be188d 8199712: Flight Recorder
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Igor Ignatyev
f575533a17 8202392: [TESTBUG] open source vm testbase heapdump tests
Reviewed-by: sspitsyn, mseledtsov
2018-05-15 11:28:29 -07:00
Thomas Stuefe
ce4698fadb 8203032: PrintMetaspaceDcmd fails: Non-Class: missing from stdout/stderr
Reviewed-by: asiebenborn, zgu
2018-05-15 14:35:51 +02:00
Jini George
747f934ca7 8195613: [SA] HotSpotTypeDataBase.readVMLongConstants truncates values to int
Avoid truncation to int while reading in long constants from vmStructs. Modify ClhsdbLongConstant.java for truncation testing.

Reviewed-by: dholmes, sspitsyn, cjplummer
2018-05-15 02:47:40 +05:30