Commit Graph

1445 Commits

Author SHA1 Message Date
Per Lidén
44e7959bb8 8222480: Implementation: JEP 351: ZGC: Uncommit Unused Memory
Reviewed-by: stefank, eosterlund
2019-05-14 09:55:02 +02:00
Aleksey Shipilev
92d97ce512 8223759: Shenandoah should allow arbitrarily low initial heap size
Reviewed-by: rkennke
2019-05-14 09:12:00 +02:00
Ekaterina Pavlova
b567fe0101 8223235: [Graal] compiler/jsr292/NonInlinedCall/InvokeTest.java failed time out
Reviewed-by: kvn
2019-05-13 13:32:38 -07:00
Jean Christophe Beyler
4e2ebd3937 8223040: Add a AsyncGetCallTrace test
Add a AsyncGetCallTrace test

Reviewed-by: sspitsyn, dcubed
2019-05-08 15:36:10 -07:00
David Holmes
796775c12a 8222292: runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/ArrayIndexOutOfBoundsExceptionTest.java timeout but test passed
Reviewed-by: goetz, lfoltan, kvn
2019-05-09 18:42:07 -04:00
Stefan Karlsson
c90f3ee68b 8223624: Cleanup includes of universe.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Pengfei Li
d2472e6dcd 8223427: [TESTBUG] Disable JTReg Shenandoah tests when Graal is enabled
Reviewed-by: shade
2019-05-08 09:50:23 +00:00
Jean Christophe Beyler
608a45ce68 8223441: HeapMonitorStatArrayCorrectnessTest fails due to sampling determinism
Added an error loop to help with convergence

Reviewed-by: cjplummer, sspitsyn
2019-05-08 20:28:56 -07:00
Vladimir Kozlov
5c0fc93f30 8223380: [Graal] compiler/c2/Test8062950.java failed with time out
Put test on Graal problem list.

Reviewed-by: vlivanov
2019-05-08 16:47:53 -07:00
Aleksey Shipilev
3b1bb3d2a7 8223589: Build failures after JDK-8223534 (add back fixed test_markOop.cpp)
Reviewed-by: coleenp
2019-05-08 23:53:24 +02:00
Coleen Phillimore
0450eca4e7 8223534: add back fixed test_markOop.cpp
The test needed wait_with_safepoint_check in the main thread.

Reviewed-by: dcubed
2019-05-08 13:22:27 -04:00
Rahul Raghavan
7197040cea 8223445: compiler/intrinsics/mathexact/LongMulOverflowTest.java java timeout
Problem list the test with Graal because it uses -Xcomp in combination with -XX:-TieredCompilation

Reviewed-by: kvn, thartmann
2019-05-08 18:05:28 +05:30
Coleen Phillimore
260ae30b14 8223481: gtest/GTestWrapper.java failed due to "assert(ret == 0) failed: sem_post failed; error='Invalid argument' (errno=EINVAL)"
Remove the test for now.

Reviewed-by: dholmes
2019-05-07 18:24:36 -04:00
Sandhya Viswanathan
707c30fae6 8222074: Enhance auto vectorization for x86
Reviewed-by: kvn, vlivanov
2019-05-07 13:33:27 -07:00
Aleksey Shipilev
0284208ab3 8223447: Stabilize gc/shenandoah/TestStringDedupStress test
Reviewed-by: rkennke
2019-05-07 21:53:46 +02:00
Aleksey Shipilev
c222e1aad0 8223446: Shenandoah breaks alignment with some HumongousThreshold values
Reviewed-by: rkennke
2019-05-07 21:53:38 +02:00
Jean Christophe Beyler
68ae1e7965 8223044: Add back exception checking in tests
Add exception checking to previously modified tests

Reviewed-by: sspitsyn, cjplummer
2019-05-07 07:43:41 -07:00
Xin Liu
63dbcdc874 8222670: pathological case of JIT recompilation and code cache bloat
Prevent downgraded compilation tasks from recompiling.

Reviewed-by: sgehwolf, thartmann
2019-05-07 09:17:03 +02:00
Dean Long
a854955d3e 8218700: infinite loop in HotSpotJVMCIMetaAccessContext.fromClass after OutOfMemoryError
Reviewed-by: never, kvn
2019-04-25 13:35:34 -07:00
Vladimir Kozlov
72f082e925 8223332: Update JVMCI
Reviewed-by: never, dnsimon
2019-05-06 20:05:19 -07:00
Pengfei Li
58a1f6ac13 8223054: [TESTBUG] Put graalJarsCP before existing classpath in GraalUnitTestLauncher
Reviewed-by: iignatyev, dlong
2019-05-07 00:58:10 +00:00
Coleen Phillimore
0c6f7e5516 8223412: tier1 build failure after 8222893
Disable the test in PRODUCT

Reviewed-by: dcubed, pliden, kvn
2019-05-06 18:01:01 -04:00
Coleen Phillimore
26255c10cb 8222893: markOopDesc::print_on() is a bit confused
Add print_on for ObjectMonitor and make markOop printing sensible and add test.

Reviewed-by: dcubed, pchilanomate
2019-05-06 15:25:57 -04:00
Daniil Titov
5a264ba9db 8222667: vmTestbase/nsk/jdi/ThreadStartRequest/addThreadFilter/addthreadfilter002/TestDescription.java failed with "event IS NOT a breakpoint"
Reviewed-by: gadams, sspitsyn, jcbeyler, cjplummer
2019-05-06 09:58:14 -07:00
Kim Barrett
a8e13a5839 8221359: Eliminate SATBMarkQueueSet::filter_thread_buffers
Removed filter_thread_buffers

Reviewed-by: tschatzl, sangheki
2019-05-03 23:35:12 -04:00
Harold Seigel
84c38b8f7f 8222500: runtime/8176717/TestInheritFD.java failed with java.nio.file.NoSuchFileException: /tmp/communication7071713601211876892.txt
Create the test's temporary files inside of jtreg scratch directories instead of /tmp

Reviewed-by: coleenp, lfoltan, dholmes
2019-05-03 07:54:09 -04:00
Stefan Karlsson
087c03a0c7 8198505: Remove CollectorPolicy and its subclasses
Reviewed-by: pliden, shade
2019-04-15 11:47:46 +02:00
Coleen Phillimore
b3f4ca4563 8223194: runtime/Shutdown/ShutdownTest.java due to "OutOfMemoryError: Java heap too small"
Use default memory for the test.

Reviewed-by: dholmes, kvn
2019-05-01 20:48:19 -04:00
Severin Gehwolf
f69d3532e5 8222769: [TESTBUG] TestJFRNetworkEvents should not rely on hostname command
Using InetAddress.getLocalHost()

Reviewed-by: egahlin, lmesnik
2019-05-01 13:25:54 -07:00
Vladimir Kozlov
e9c523ae5f 8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
Rahul Raghavan
fee481d5a2 8202414: Unsafe write after primitive array creation may result in array length change
Avoided collecting unaligned stores in Initialize node by making can_capture_store return false for same

Reviewed-by: dlong, kvn, vlivanov
2019-05-01 22:02:48 +05:30
Coleen Phillimore
6fb8502b77 8074355: make MutexLocker smarter about non-JavaThreads
Use safepoint_check_always/safepoint_check_never instead of safepoint_check_sometimes for locks that are taken by JavaThreads and non-JavaThreads

Reviewed-by: dholmes, rehn, dcubed, lmesnik
2019-05-01 08:56:38 -04:00
Jean Christophe Beyler
95b5fba3d7 8223146: [TESTBUG] new test vmTestbase/nsk/share/ExceptionCheckingJniEnv/exceptionjni001/ fails on Windows
Keep it simple and handle INT32_MIN separately

Reviewed-by: dholmes, sspitsyn
2019-04-30 20:26:16 -07:00
Jean Christophe Beyler
4b6adaa5f1 8215113: Sampling interval not always correct
Fix the sampling interval

Reviewed-by: phh, sspitsyn
2019-04-30 15:39:42 -07:00
Daniil Titov
b505fd128d 8222749: vmTestbase/nsk/jdi/ThreadStartRequest/addThreadFilter/addthreadfilter001/TestDescription.java failed with "eventSet1.size() != 3 :: 2"
Reviewed-by: sspitsyn, jcbeyler
2019-04-30 08:45:19 -07:00
Tobias Hartmann
048c3dc026 8219807: C2 crash in IfNode::up_one_dom(Node*, bool)
Guard against regions degraded to copies.

Reviewed-by: kvn
2019-04-30 14:49:19 +02:00
Serguei Spitsyn
e3aa6f7907 8222934: mark new VM option AllowRedefinitionToAddOrDeleteMethods as deprecated
Mark new option depricated

Reviewed-by: dcubed, coleenp, dholmes
2019-04-30 01:56:28 -07:00
Dean Long
61f35bf898 8219403: JVMCIRuntime::adjust_comp_level should be replaced
Reviewed-by: kvn, dnsimon, never
2019-04-24 09:10:45 -07:00
Ao Qi
e6ace7be6f 8220813: update hotspot tier1_gc tests depending on GC to use @requires vm.gc.X
Reviewed-by: pliden, lmesnik
2019-04-26 11:33:32 -07:00
Jesper Wilhelmsson
63c7f8d0a3 8223026: [BACKOUT] Typo in test/hotspot/jtreg/TEST.groups is causing test harness failures
Reviewed-by: dsimms
2019-04-26 12:35:26 +02:00
David Holmes
6f8821cadc 8222970: Update ProblemList for vmTestbase/nsk/jdb/eval/eval001/eval001.java
Reviewed-by: gadams, dcubed, sspitsyn
2019-04-25 18:41:52 -04:00
Mikhailo Seledtsov
d81e2cc4fe 8222888: [TESTBUG] docker/TestJFREvents.java fails due to "RuntimeException: JAVA_MAIN_CLASS_ is not defined"
Introduced unique environment variable

Reviewed-by: egahlin, lmesnik, sgehwolf
2019-04-25 11:45:52 -07:00
Coleen Phillimore
fbafef11c0 8222811: Consolidate MutexLockerEx and MutexLocker
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.

Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Per Lidén
86808b9d47 8221786: ZGC: Increase max heap size to 16TB
Reviewed-by: stefank
2019-04-25 08:55:50 +02:00
Jean Christophe Beyler
131bdfdff3 8222935: Fix ExceptionCheckingJniEnv system
Added missing tests and fixed the code

Reviewed-by: cjplummer, sspitsyn, amenkov
2019-04-24 19:51:38 -07:00
Jesper Wilhelmsson
f7a96018a7 8222952: Typo in test/hotspot/jtreg/TEST.groups is causing test harness failures
Reviewed-by: darcy
2019-04-25 02:14:22 +02:00
Harold Seigel
ef40115621 8221685: -XX:BytecodeVerificationRemote and -XX:BytecodeVerificationLocal should be diagnostic options
Make the options diagnostic and add -XX:+UnlockDiagnosticVMOptions to tests where needed.

Reviewed-by: lfoltan, acorn, dholmes
2019-04-24 08:27:00 -04:00
Jesper Wilhelmsson
75db2f7df9 8221598: Update Graal
Reviewed-by: kvn
2019-04-23 22:55:09 +02:00
Jean Christophe Beyler
fd3378a73e 8213501: Deploy ExceptionJniWrapper for a few tests
Add more tests to be using the wrapper

Reviewed-by: phh, amenkov, sspitsyn, dholmes, cjplummer
2019-04-23 08:11:38 -07:00
Gary Adams
eab5f23c59 8222741: jdi/EventQueue/remove/remove004 fails due to VMDisconnectedException
Reviewed-by: cjplummer, jcbeyler
2019-04-22 07:13:18 -04:00
Coleen Phillimore
6ebf2ce655 8192936: RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition
Introduce new flag fo compatibility: -XX:AllowRedefinitionToAddOrDeleteMethods

Reviewed-by: jcbeyler, sspitsyn
2019-04-19 21:49:54 -07:00
Ekaterina Pavlova
a8550e4589 8222747: [Graal] mx_subprocess files miss testing VM flags
Reviewed-by: kvn
2019-04-19 11:18:06 -07:00
Stefan Karlsson
b1ae2d0bf1 8222550: runtime/MemberName/MemberNameLeak.java times out
Reviewed-by: coleenp, dholmes
2019-04-17 07:41:12 +02:00
Stefan Karlsson
3e581f13a0 8222558: Rework ResolvedMethodTable verification
Reviewed-by: coleenp
2019-04-17 07:41:09 +02:00
Tobias Hartmann
6493a50643 8222418: compiler/arguments/TestScavengeRootsInCode.java times out
Problem list the test with Graal because it uses -Xcomp in combination with -XX:-TieredCompilation.

Reviewed-by: kvn, iignatyev
2019-04-17 08:15:09 +02:00
Tobias Hartmann
4f601b6ed6 8222417: compiler/loopopts/TestOverunrolling.java times out
Problem list the test with Graal because it uses -Xcomp in combination with -XX:-TieredCompilation.

Reviewed-by: kvn, iignatyev
2019-04-17 08:12:00 +02:00
Henry Jen
930f116ae7 Merge 2019-04-16 20:47:11 -07:00
Coleen Phillimore
f5cb284275 8220743: [TESTBUG] Review Runtime tests recently migrated from JDK subdirs
Removed tests that will not find bugs in current code base.

Reviewed-by: lfoltan, hseigel
2019-04-16 10:01:20 -04:00
Patrick Zhang
b9a4ede307 8222334: java -Xss0 triggers StackOverflowError
Launcher to use the stack size decided by hotpot or system if -Xss is 0

Reviewed-by: dholmes, alanb
2019-04-16 11:00:48 +00:00
Henry Jen
da6f620059 Merge 2019-04-15 18:24:37 -07:00
Ekaterina Pavlova
894027aec4 8208066: compiler/graalunit/JttThreadsTest.java failed with org.junit.runners.model.TestTimedOutException: test timed out after 20 seconds
Reviewed-by: iignatyev
2019-04-12 14:13:31 -07:00
Mikhailo Seledtsov
66c817134f 8222299: [TESTBUG] move hotspot container tests to hotspot/containers
Moved the tests, updated relevant files

Reviewed-by: dholmes, iignatyev
2019-04-12 12:26:29 -07:00
Stefan Karlsson
23f02171c8 8221393: ResolvedMethodTable too small for StackWalking applications
Reviewed-by: coleenp, rehn
2019-04-10 15:41:04 +02:00
Serguei Spitsyn
ff03f5c84e 8222072: JVMTI GenerateEvents() sends CompiledMethodLoad events to wrong jvmtiEnv
Fix GenerateEvents() to send CompiledMethodLoad events to requesting agent only

Reviewed-by: jcbeyler, amenkov
2019-04-10 17:29:03 -07:00
Daniil Titov
32848d8166 8222224: vmTestbase/nsk/jvmti/SingleStep/singlestep001/TestDescription.java fails
Reviewed-by: sspitsyn, jcbeyler, amenkov
2019-04-10 21:21:31 +00:00
Daniel D. Daugherty
758f02e6cc 8222229: ProblemList compiler/jsr292/InvokerSignatureMismatch.java
Reviewed-by: iignatyev
2019-04-09 18:26:36 -04:00
Aleksey Shipilev
321615029c 8222186: Shenandoah should not uncommit below minimum heap size
Reviewed-by: zgu, rkennke
2019-04-09 21:20:16 +02:00
Mikhailo Seledtsov
072f45ed9c 8221711: [TESTBUG] create more tests for JFR in container environment
Added test cases for environment and network events

Reviewed-by: egahlin
2019-04-15 11:44:07 -07:00
David Holmes
d7097cb0f4 8218458: [TESTBUG] runtime/NMT/CheckForProperDetailStackTrace.java fails with Expected stack trace missing from output
Reviewed-by: cjplummer, zgu
2019-04-08 17:30:18 -04:00
Sangheon Kim
bb31c7d085 8218049: Survivor MemoryMXBean used() size granularity is region based
Reviewed-by: tschatzl, kbarrett
2019-04-08 12:15:40 -07:00
Ekaterina Pavlova
93c0734d3a 8216551: GraalUnitTestLauncher should be executed as '@run driver'
Reviewed-by: dlong, kvn
2019-04-08 11:11:22 -07:00
Daniil Titov
8dfa6d1acc 8221730: jcmd process name matching broken
Reviewed-by: jcbeyler, dholmes, cjplummer
2019-04-08 17:09:02 +00:00
Roman Kennke
d2ac25420e 8222125: Shenandoah: Crash when running with ShenandoahParallelSafepointThreads=1
Reviewed-by: shade
2019-04-08 18:42:27 +02:00
Thomas Stuefe
1baf5289c5 8221539: [metaspace] Improve MetaspaceObj::is_metaspace_obj() and friends
Reviewed-by: adinn, coleenp, mdoerr
2019-03-27 14:13:34 +01:00
Aleksey Shipilev
208ecde943 8221918: runtime/SharedArchiveFile/serviceability/ReplaceCriticalClasses.java fails: Shared archive not found
Reviewed-by: jiangli, dholmes
2019-04-05 09:06:19 +02:00
Goetz Lindenmaier
d6c2cc2413 8219918: ProblemList hotspot tests failing in SAP testing
Reviewed-by: dholmes
2019-04-05 07:59:13 +02:00
Goetz Lindenmaier
39f3368ffd 8221470: Print methods in exception messages in java-like Syntax
Reviewed-by: dholmes, mdoerr, coleenp
2019-04-04 09:39:44 +02:00
Mikhailo Seledtsov
05b294ea97 8221710: [TESTBUG] more configurable parameters for docker testing
Introduced docker test config properties

Reviewed-by: lmesnik, iignatyev, egahlin
2019-04-04 12:29:43 -07:00
Roman Kennke
03ab1404f0 8221766: Load-reference barriers for Shenandoah
Reviewed-by: kvn, erikj, aph, shade
2019-04-02 23:00:22 +02:00
David Holmes
2f20909d10 8218483: Crash in "assert(_daemon_threads_count->get_value() > daemon_count) failed: thread count mismatch 5 : 5"
Reviewed-by: dcubed, stuefe
2019-04-03 22:03:39 +00:00
Zhengyu Gu
6881a91868 8220602: Shenandoah-SA: Enable best-effort implementation of heap walk
Reviewed-by: rkennke, cjplummer
2019-03-14 09:53:15 -04:00
Zhengyu Gu
5730a0413b 8221875: Unquarantine Shenandoah string dedup tests
Reviewed-by: rkennke
2019-04-02 16:36:00 -04:00
Igor Ignatyev
c115415af1 8221870: use driver to run CtwRunner in applications/ctw tests
Reviewed-by: shade, epavlova
2019-04-02 13:39:22 -07:00
Kim Barrett
e7e00f7ae0 8221102: Allow GC threads to participate in threads claiming protocol
Expand claim counter from 1bit to uintx, with rare overflow handling.

Reviewed-by: tschatzl, rkennke
2019-04-02 13:08:38 -04:00
Henry Jen
52da980fa2 Merge 2019-03-26 10:55:17 -07:00
Jiangli Zhou
223e1c6e42 8220095: Assertion failure when symlink (with different name) is used for lib/modules file
Removed confusing function ClassLoader::is_modules_image(char*)

Reviewed-by: lfoltan, ccheung
2019-03-23 21:51:07 -07:00
Coleen Phillimore
54f31c6089 8218399: runtime/RedefineObject/TestRedefineObject.java timeout
Exclude this test for graal

Reviewed-by: hseigel, lfoltan
2019-03-22 16:16:10 -04:00
Nick Gasson
1925ff3540 8220451: jdi/EventQueue/remove/remove004 failed due to "ERROR: thread2 is not alive"
8220456: jdi/EventQueue/remove_l/remove_l004 failed due to "TIMEOUT while waiting for event"

Reviewed-by: sspitsyn, dcubed, gadams
2019-03-22 03:04:09 +00:00
Roman Kennke
59a025d90b 8220714: C2 Compilation failure when accessing off-heap memory using Unsafe
Reviewed-by: vlivanov, roland
2019-03-15 09:57:42 +01:00
Daniil Titov
ed5a2f1e06 8218401: WRONG_PHASE: vmTestbase/nsk/jvmti test crash
Reviewed-by: sspitsyn, jcbeyler
2019-03-21 19:56:31 +00:00
David Holmes
87283a7568 8221180: Deprecate AllowJNIEnvProxy
Reviewed-by: coleenp, dcubed
2019-03-20 23:32:57 -04:00
Dmitry Cherepanov
f16af8d4d5 8211100: hotspot C1 issue with comparing long numbers on x86 32-bit
Reviewed-by: iveresov, thartmann
2019-03-20 11:51:43 +03:00
Coleen Phillimore
3ed98222a7 8220744: Move RedefineTests to from runtime to serviceability
Move tests out of runtime to jvmti/RedefineClasses

Reviewed-by: sspitsyn, dcubed, cjplummer, hseigel, mseledtsov
2019-03-19 14:22:47 -04:00
Ao Qi
f6e688c7c8 8220812: gc/shenandoah/options/TestLoopMiningArguments.java fails if default GC is serial/parallel/cms
Reviewed-by: shade
2019-03-19 17:03:18 +08:00
Per Lidén
4a83447db2 8220597: ZGC: Convert ZForwarding to use ZAttachedArray
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:40 +01:00
Per Lidén
dd412e66c5 8220594: ZGC: Remove superfluous ZPage::is_active()
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:40 +01:00
Per Lidén
0ce7c21d33 8220588: ZGC: Convert ZRelocationSet to hold ZForwardings instead of ZPages
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:39 +01:00
Per Lidén
5a079bf515 8220587: ZGC: Break out forwarding information from ZPage
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:39 +01:00
Per Lidén
fbf62f0fb8 8220569: ZGC: Rename and rework ZUnmapBadViews to ZVerifyViews
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:38 +01:00
Jesper Wilhelmsson
f0b707b94b 8220704: ZGC: gc tests complain Java heap too small
Reviewed-by: iignatyev, tschatzl
2019-03-15 18:59:21 +01:00