Commit Graph

2064 Commits

Author SHA1 Message Date
David Holmes
9555be71a5 8235965: Tests using ThreadLocalHandshakes need to stop using it as it no longer exists
Reviewed-by: iignatyev, jiefu
2019-12-15 21:56:17 -05:00
Joe Darcy
890826bf5b 8225361: Start of release updates for JDK 15
8235497: Add SourceVersion.RELEASE_15
8235528: Add source 15 and target 15 to javac

Reviewed-by: erikj, jjg, jlahoda, dholmes, alanb, hseigel, mikael, chegar
2019-12-10 16:38:53 -08:00
Gustavo Romero
11d4e9f34d 8223968: Add abort type description to RTM statistic counters
Reviewed-by: mdoerr, kvn
2019-05-10 18:20:02 -04:00
Roland Westrelin
9d40ab91db 8234350: assert(mode == ControlAroundStripMined && (use == sfpt || !use->is_reachable_from_root())) failed: missed a node
Reviewed-by: thartmann, mdoerr
2019-12-09 15:37:04 +01:00
Xin Liu
f33087405a 8235383: C1 compilation fails with -XX:+PrintIRDuringConstruction -XX:+Verbose
Added check for printable bci.

Reviewed-by: thartmann
2019-12-10 10:34:31 +01:00
Christian Hagedorn
2ee7b9d3a0 8233032: assert(in_bb(n)) failed: must be
Find first and last memory state of a load pack without relying on bb indices.

Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Reviewed-by: roland, kvn, thartmann
2019-12-10 09:28:38 +01:00
Leonid Mesnik
dc0cc5520c 8235530: Removed duplicated threadByName methods in nsk/jdi tests
Reviewed-by: dholmes, sspitsyn
2019-12-09 13:02:07 -08:00
Ioi Lam
749bda0e2d 8235490: AppCDS DynamicArchiveRelocationTest.java failed: 'always map archive(s) at an alternative address' missing
Reviewed-by: coleenp, ccheung
2019-12-09 09:59:03 -08:00
Christoph Langer
3c8ec642ff 8235403: Further cleanup to test serviceability/sa/ClhsdbCDSCore.java
Reviewed-by: iklam, iignatyev
2019-12-09 15:01:57 +01:00
Stefan Johansson
9cabfa82ff 8165443: Free Collection Set serial phase takes very long on large heaps
Reviewed-by: tschatzl, kbarrett
2019-12-09 10:26:41 +01:00
Rahul Raghavan
228c3144d2 8233453: MLVM deoptimize stress test timed out
Increased timeout factor for MLVM deoptimize stress test

Reviewed-by: iignatyev, thartmann
2019-12-09 14:02:03 +05:30
Joe Darcy
0da41b464e 8235499: Change HotSpot jtreg records test to better handle JDK updates
Reviewed-by: hseigel, iignatyev
2019-12-06 12:13:25 -08:00
Claes Redestad
06cb195865 8234331: Add robust and optimized utility for rounding up to next power of two
Reviewed-by: eosterlund, stuefe, jrose
2019-12-06 18:05:36 +01:00
Igor Ignatyev
60fda4e577 8235353: clean up hotspot problem lists
Reviewed-by: kvn, mdoerr
2019-12-06 09:14:38 -08:00
Calvin Cheung
4abba17c10 8225219: [TESTBUG] AppCDS tests timed out with -Xcomp and --limit-modules option won't work with Graal
Reviewed-by: kvn, iklam, iignatyev
2019-12-06 09:09:33 -08:00
Christian Hagedorn
fd8832f726 8229994: assert(false) failed: Bad graph detected in get_early_ctrl_for_expensive
Fixes wrong idom information set in loop peeling when a loop strip mined loop is involved.

Reviewed-by: vlivanov, thartmann
2019-12-06 10:00:16 +01:00
Thomas Schatzl
70c62f537c 8235341: Improve WorkerDataArray API to disallow separate instantiation of sub-items
Reviewed-by: lkorinth, sjohanss
2019-12-06 09:49:59 +01:00
Thomas Schatzl
02dad379ee 8235346: [Redo] 8235247: WorkerDataArray leaks C heap memory for associated work items
Fix gtest after last iteration to acknowledge correct ownership of sub-WorkerDataArrays.

Reviewed-by: lkorinth, sjohanss
2019-12-06 09:49:57 +01:00
Coleen Phillimore
8846a8043d 8212160: JVMTI agent crashes with "assert(_value != 0LL) failed: resolving NULL _value"
Add local deferred event list to thread to post events outside CodeCache_lock.

Reviewed-by: eosterlund, dholmes, sspitsyn
2019-12-05 16:57:17 -05:00
Leo Korinth
c023983c7f 8235250: Create (test) abstraction for allocating objects that is immune to removal by optimizations
Reviewed-by: eosterlund, tschatzl
2019-12-05 12:52:07 +01:00
Christoph Göttschkes
9c4adc66c7 8234906: [TESTBUG] TestDivZeroCheckControl fails for client VMs due to Unrecognized VM option LoopUnrollLimit
Reviewed-by: kvn
2019-12-04 10:38:54 +01:00
Vicente Romero
827e5e3226 8225054: Compiler implementation for records
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records

Implement records in the compiler and the JVM, including serialization, reflection and APIs support

Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Ioi Lam
ce9ff0924f 8235179: [TESTBUG] DynamicArchiveRelocationTest.java fails with 'runtime archive relocation start' missing
Reviewed-by: mseledtsov, ccheung
2019-12-04 11:19:25 -08:00
Igor Ignatyev
503a960e7d 8129092: compiler/intrinsics/classcast/NullCheckDroppingsTest.java testVarClassCast() can fail
Reviewed-by: kvn
2019-12-03 20:23:53 -08:00
Kim Barrett
e70386f23a 8213415: BitMap::word_index_round_up overflow problems
Limit BitMap sizes so to-word round-up can't overflow.

Reviewed-by: tschatzl, stuefe
2019-12-03 15:12:56 -05:00
Serguei Spitsyn
7204086e7e 8235280: UnProblemList vmTestbase/nsk/jvmti/GetThreadState/thrstat001/TestDescription.java
Remove test from ProblemList.txt.

Reviewed-by: iignatyev
2019-12-03 19:45:38 +00:00
Harold Seigel
f91513a7b0 8234656: Improve granularity of verifier logging
Print brief output for log level 'info'. Print detailed output for 'debug' and 'trace'.

Reviewed-by: iklam, lfoltan, dholmes
2019-12-03 14:10:53 +00:00
Per Lidén
5e758d2368 8234543: ZGC: Parallel pre-touch
Reviewed-by: eosterlund, stefank
2019-12-03 13:51:29 +01:00
Tobias Hartmann
aff41433b6 8234617: C1: Incorrect result of field load due to missing narrowing conversion
Emit an explicit conversion to get the correct field value after the write.

Reviewed-by: vlivanov, mdoerr
2019-12-03 08:29:04 +01:00
Coleen Phillimore
d1d57d9446 8173658: JvmtiExport::post_class_unload() is broken for non-JavaThread initiators
Call extension ClassUnload event as a deferred event from the ServiceThread and remove unsafe arguments

Reviewed-by: sspitsyn, dholmes
2019-12-02 09:02:17 -05:00
Thomas Schatzl
eaca9f8846 8234574: Rename prediction methods in G1Analytics
Reviewed-by: sjohanss, sangheki
2019-12-02 14:21:32 +01:00
Andrew Dinn
7b02e24b65 8232828: AArch64: compiler/c2/aarch64/TestVolatilesG1.java fails after JDK-8225776
Reviewed-by: aph
2019-11-29 15:37:13 +00:00
Robbin Ehn
3d7d54b145 8234086: VM operation can be simplified
Reviewed-by: kbarrett, dholmes, dcubed
2019-11-29 12:09:25 +01:00
Thomas Schatzl
257c3930f9 8227434: G1 predictions may over/underflow with high variance input
Clamp G1 prediction output to sensible values.

Reviewed-by: lkorinth, sjohanss
2019-11-29 10:20:16 +01:00
Matthias Baesken
02f2c5ff95 8234625: hs test serviceability/sa/ClhsdbCDSCore.java fails on macOS 10.15
Reviewed-by: clanger, iignatyev
2019-11-28 09:23:09 +01:00
Christoph Göttschkes
620d67763d 8234894: [TESTBUG] TestEliminateLocksOffCrash fails for client VMs due to Unrecognized VM option EliminateLocks
Reviewed-by: thartmann
2019-11-28 16:11:44 +01:00
Christoph Göttschkes
a4a351caad 8234807: [TESTBUG] LoopRotateBadNodeBudget fails for client VMs due to Unrecognized VM option PartialPeelNewPhiDelta
Reviewed-by: kvn
2019-11-27 10:13:41 +01:00
Zhengyu Gu
0a5505f7e9 8228720: Shenandoah: Implementation of concurrent class unloading
Reviewed-by: rkennke
2019-11-27 11:52:57 -05:00
Thomas Schatzl
198beefccb 8233301: Implementation of JEP 366: Deprecate the ParallelScavenge + SerialOld GC Combination
Deprecate the ParallelScavenge + SerialOld GC combinations by deprecating the UseParallelOldGC flag. Also reviewed by Bernd Eckenfels<ecki@zusammenkunft.net>.

Reviewed-by: pliden
2019-11-27 10:19:45 +01:00
Zhengyu Gu
63b2ab296f 8234270: [REDO] JDK-8204128 NMT might report incorrect numbers for Compiler area
Reviewed-by: stuefe, minqi
2019-11-26 09:27:16 -05:00
Per Lidén
0830eaa398 8234619: ZGC: gc/z/TestSmallHeap.java failure with Out Of Memory
Reviewed-by: tschatzl, eosterlund
2019-11-26 11:57:58 +01:00
Serguei Spitsyn
5df8729406 8221372: Test vmTestbase/nsk/jvmti/GetThreadState/thrstat001/TestDescription.java times out
Update test to get rid of unneeded MethodEntry/MethodExit events

Reviewed-by: amenkov, cjplummer
2019-11-26 02:32:32 +00:00
Stefan Karlsson
d45ec50076 8234737: Harmonize parameter order in Atomic - add
Reviewed-by: rehn, dholmes
2019-11-25 12:31:39 +01:00
Stefan Karlsson
e527ce4b57 8234562: Move OrderAccess::release_store*/load_acquire to Atomic
Reviewed-by: rehn, dholmes
2019-11-25 12:22:13 +01:00
Leo Korinth
48615b4ca9 8233029: Obsolete flag GCTaskTimeStampEntries
Reviewed-by: kbarrett, tschatzl
2019-11-25 08:11:24 +01:00
Ioi Lam
4edbdd1cb3 8234622: [TESTBUG] ArchivedModuleCompareTest.java fails with -vmoptions:-Xlog:cds
Reviewed-by: mseledtsov
2019-11-22 15:32:00 -08:00
Serguei Spitsyn
0a1737ca97 8169467: GetLocalInstance returns JVMTI_ERROR_TYPE_MISMATCH (rather than JVMTI_ERROR_INVALID_SLOT) on static method
Add necessary check to GetLocalInstance implementation

Reviewed-by: amenkov, cjplummer
2019-11-22 10:07:21 +00:00
Igor Ignatyev
4e0ac78eed 8234290: compiler/c2/Test6857159.java times out and fail to clean up files
Reviewed-by: thartmann
2019-11-21 14:15:31 -08:00
Harold Seigel
1c5322b998 8234058: runtime/CompressedOops/CompressedClassPointers.java fails with 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr
Don't run test on Windows because ASLR can cause unexpected memory addresses

Reviewed-by: coleenp
2019-11-21 18:54:21 +00:00
Thomas Schatzl
9a4c25731e 8228609: G1 copy cost prediction uses used vs. actual copied byte
Let the object copy cost predictor use the actual copied bytes as input for the prediction instead of the used bytes.

Reviewed-by: kbarrett, sjohanss
2019-11-21 11:42:54 +01:00
Jie Fu
e665037932 8234499: [Graal] compiler/compilercontrol/CompilationModeHighOnlyTest.java test fails with timeout
Reviewed-by: iignatyev
2019-11-21 09:55:12 +08:00
Igor Ignatyev
1d41e86762 8147017: Platform.isGraal should be removed
Reviewed-by: kvn, mseledtsov
2019-11-20 18:23:06 -08:00
Per Lidén
544ce96a54 8234338: ZGC: Improve small heap usage
Reviewed-by: eosterlund, stefank
2019-11-20 10:37:46 +01:00
Boris Ulasevich
22bcd1677c 8233113: ARM32: assert on UnsafeJlong mutex rank check
Reviewed-by: coleenp, dholmes
2019-11-20 09:29:23 +03:00
Christoph Göttschkes
6a99789fd5 8231954: Test compiler/codegen/TestCharVect2.java only works with server VMs
Reviewed-by: iignatyev, kvn
2019-11-15 11:05:03 +01:00
Igor Ignatyev
d7170782b5 8233462: serviceability/tmtools/jstat tests times out with -Xcomp
Reviewed-by: sspitsyn
2019-11-18 16:03:51 -08:00
Igor Ignatyev
d27bcbec06 8234304: runtime/cds/appcds/javaldr tests should use driver mode
Reviewed-by: iklam, mseledtsov
2019-11-18 14:13:11 -08:00
Daniel D. Daugherty
e9e1948cfb 8234274: [BACKOUT] JDK-8204128 NMT might report incorrect numbers for Compiler area
Reviewed-by: zgu
2019-11-15 21:19:56 -05:00
Daniel D. Daugherty
5968ac44bb 8234272: ProblemList runtime/NMT/HugeArenaTracking.java
Reviewed-by: iignatyev
2019-11-15 18:31:55 -05:00
Igor Ignatyev
733bb68c11 8214904: Test8004741.java failed due to "Too few ThreadDeath hits; expected at least 6 but saw only 5"
Reviewed-by: kvn, epavlova
2019-11-15 14:22:24 -08:00
Zhengyu Gu
5f19f8c823 8204128: NMT might report incorrect numbers for Compiler area
Reviewed-by: stuefe, tschatzl
2019-11-15 15:33:34 -05:00
Jie Fu
8211feee76 8234232: [TESTBUG] gc/shenandoah/jvmti/TestHeapDump.java fails with -Xcomp
Reviewed-by: zgu
2019-11-15 20:39:26 +08:00
David Holmes
697a87460d 8233549: Thread interrupted state must only be accessed when not in a safepoint-safe state
Reviewed-by: dcubed, sspitsyn
2019-11-14 22:36:40 -05:00
Weijun Wang
c0d097eac6 8214024: Remove the default keytool -keyalg value
Reviewed-by: mullan
2019-11-15 09:06:58 +08:00
Tom Rodriguez
ddc8f8e757 8233888: jdk.vm.ci.hotspot.test.VirtualObjectLayoutTest.testFormat(): Unexpected error verifying
Reviewed-by: kvn, iignatyev
2019-11-14 16:34:24 -08:00
Ioi Lam
55cef3c4e0 8234196: [TESTBUG] DynamicArchiveRelocationTest.java missing "ArchiveRelocationMode == 1 ...."
Reviewed-by: dcubed
2019-11-14 14:54:39 -08:00
Ioi Lam
5678f98a9e 8231610: Relocate the CDS archive if it cannot be mapped to the requested address
Reviewed-by: jiangli, coleenp, ccheung
2019-11-13 16:36:54 -08:00
Chris Plummer
111a0ae5fb 8231635: SA Stackwalking code stuck in BasicTypeDataBase.findDynamicTypeForAddress()
Better checking for invalid stack address when walking the stack frames

Reviewed-by: sspitsyn, dtitov
2019-11-13 13:05:16 -08:00
Igor Ignatyev
298ac1ef9e 8226795: compiler/tiered/Level2RecompilationTest.java fails when XX:TieredStopAtLevel=1/2/3 is set
Reviewed-by: redestad
2019-11-13 11:34:31 -08:00
Igor Ignatyev
a21dd0b86b 8225756: [testbug] compiler/loopstripmining/CheckLoopStripMining.java sets too short a SafepointTimeoutDelay
Reviewed-by: kvn, epavlova, roland, mdoerr
2019-11-13 10:59:25 -08:00
Sangheon Kim
46c3d43f83 8220312: Implementation: NUMA-Aware Memory Allocation for G1, Logging (3/3)
Reviewed-by: kbarrett, sjohanss, tschatzl
2019-11-13 10:51:41 -08:00
Sangheon Kim
52116d808c 8220310: Implementation: NUMA-Aware Memory Allocation for G1, Mutator (1/3)
Reviewed-by: kbarrett, sjohanss, tschatzl, pliden
2019-11-13 10:49:12 -08:00
Leo Korinth
1fc67ab002 8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Bernard Blaser
b8b88853a5 8214239: Missing x86_64.ad patterns for clearing and setting long vector bits
Reviewed-by: kvn, vlivanov, jrose, sviswanathan
2019-11-13 11:21:15 +01:00
Erik Österlund
54572d621a 8233797: ZGC: Unify naming convention for functions using atomics
Reviewed-by: pliden, stefank
2019-11-12 20:01:23 +00:00
Jie Fu
b2ce439b85 8233885: Test fails with assert(comp != __null) failed: Ensure we have a compiler
Reviewed-by: thartmann, iveresov
2019-11-11 17:40:28 +08:00
Tobias Hartmann
1833584f92 8233529: loopTransform.cpp:2984: Error: assert(p_f->Opcode() == Op_IfFalse) failed
Strengthened asserts in locate_pre_from_main() and added a check for is_main_no_pre_loop().

Reviewed-by: kvn, vlivanov
2019-11-12 10:16:04 +01:00
Jan Lahoda
29852ecd80 8232684: Make switch expressions final
Reviewed-by: alanb, mcimadamore, kvn
2019-11-12 06:32:13 +00:00
Goetz Lindenmaier
bc116ded54 8231757: [ppc] Fix VerifyOops. Errors show since 8231058
Also make the checks print the wrong value and where a failure occurred.

Reviewed-by: dholmes, mdoerr
2019-11-11 16:24:35 +01:00
Christian Hagedorn
173dae8bc6 8229694: JVM crash in SWPointer during C2 OSR compilation
Handle the case where there is only 1 pack and no operations left when calling SuperWord::find_align_to_ref() to find the best alignment again.

Reviewed-by: kvn, vlivanov, thartmann
2019-11-11 10:41:03 +01:00
Igor Ignatyev
993947e6ce 8233745: [JVMCI] TranslatedException should serialize classloader and module info
Reviewed-by: kvn, dnsimon
2019-11-09 10:27:53 -08:00
Ioi Lam
6804e318db 8233855: [TESTBUG] appcds/FieldLayoutFlags.java failed to clean up files after test
Reviewed-by: hseigel
2019-11-08 11:03:00 -08:00
Thomas Schatzl
c4b3dcf8c1 8189737: Make HeapRegion not derive from Space
Reviewed-by: sjohanss, kbarrett
2019-11-08 10:01:13 +01:00
Ioi Lam
61a6ef79ae 8233086: [TESTBUG] need to test field layout style difference between CDS dump time and run time
Reviewed-by: fparain
2019-11-07 16:26:57 -08:00
Igor Ignatyev
69606205a6 8230364: [JVMCI] a number of JVMCI tests are not jtreg enabled
Reviewed-by: kvn
2019-11-07 13:39:31 -08:00
Kim Barrett
89e3782f21 8233364: Fix undefined behavior in Canonicalizer::do_ShiftOp
Add java_shift_xxx helpers and use them.

Reviewed-by: aph, kvn
2019-11-07 16:22:22 -05:00
David Holmes
d935027a68 8233784: ProblemList failing JVMTI scenario tests
Reviewed-by: goetz
2019-11-07 07:53:02 -05:00
Claes Redestad
12adeca887 8233708: VectorSet cleanup
Reviewed-by: neliasso, shade, thartmann
2019-11-07 12:12:39 +01:00
Jie Fu
9ca5e79bf2 8233671: [TESTBUG] runtime/cds/appcds/sharedStrings/FlagCombo.java fails to compile without jfr
Reviewed-by: iklam
2019-11-06 15:20:06 +08:00
Jie Fu
9c2bb3ccf3 8233659: [TESTBUG] runtime/cds/appcds/CommandLineFlagCombo.java fails when jfr is disabled
Reviewed-by: iklam
2019-11-06 13:43:25 +08:00
Igor Ignatyev
ddaa12237e 8233496: AOT tests failures with 'java.lang.RuntimeException: Failed to find sun/hotspot/WhiteBox.class'
Reviewed-by: kvn, thartmann
2019-11-05 08:57:36 -08:00
Thomas Stuefe
13cc1154f0 8233019: java.lang.Class.isPrimitive() (C1) returns wrong result if Klass* is aligned to 32bit
Reviewed-by: mdoerr, dlong, aph
2019-10-31 07:53:16 +01:00
Ioi Lam
1721476038 8232734: [TESTBUG] avoid using JDK symbols in ExtraSymbols.symbols.txt
Reviewed-by: ccheung
2019-11-04 12:36:54 -08:00
Brent Christian
3561b4ed50 8233091: Backout JDK-8212117: Class.forName loads a class but not linked if class is not initialized
Reviewed-by: alanb, dholmes, mchung
2019-11-04 11:42:24 -08:00
Igor Veresov
83dda95d7f 8227003: Add high-level JIT compilation mode control mechanism
Add tiered mode to emulate non-tiered with special mode for JVMCI compiler. Add -XX:CompilationMode option.

Reviewed-by: never, redestad
2019-11-01 09:39:13 -07:00
Ralf Schmelter
04e885b498 8232168: Fix non wide char canonicalization on Windows
Reviewed-by: clanger, alanb, ccheung
2019-10-15 17:08:09 +02:00
Alan Bateman
6d98a3bdd8 8205132: Degrade Thread.countStackFrames() to throw UOE
Reviewed-by: mchung, dholmes, dcubed
2019-10-31 16:45:58 +00:00
Markus Grönlund
8addc1418a 8226511: Implement JFR Event Streaming
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Reviewed-by: egahlin, mseledtsov, mgronlun
2019-10-30 19:43:52 +01:00
Christian Hagedorn
6df28153fd 8230019: [REDO] compiler/types/correctness/* tests fail with "assert(recv == __null || recv->is_klass()) failed: wrong type"
Explicitly set the receiver klass in the ci MDO to NULL if it is NULL in the MDO while translating.

Reviewed-by: kvn, thartmann
2019-10-29 14:29:40 +01:00
Pengfei Li
ec56d9aaf0 8232591: AArch64: Add missing match rules for smaddl, smsubl and smnegl
Reviewed-by: aph
2019-10-30 09:17:36 +08:00
Vladimir Kozlov
5c506779b2 8233035: Update JVMCI
Reviewed-by: dlong
2019-10-29 15:35:06 -07:00
Coleen Phillimore
26da13e59c 8086003: Test fails on OSX with java.lang.RuntimeException 'Narrow klass base: 0x0000000000000000, Narrow klass shift: 3' missing
Make the test reserve 1G rather than 3G, so it is more reliable.

Reviewed-by: hseigel, stuefe
2019-10-28 16:41:47 -04:00
Patric Hedlin
902858e3ce 8231565: More node budget asserts in fuzzed tests
Reviewed-by: neliasso, thartmann
2019-10-23 12:51:53 +02:00
Ekaterina Pavlova
db24eb1e6a 8233000: Mark vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize test as stress test
Reviewed-by: iveresov, lmesnik
2019-10-25 07:15:09 -07:00
Vladimir Kozlov
e15849a0f8 8232904: Update JVMCI
Reviewed-by: dnsimon
2019-10-24 16:58:39 -07:00
Ekaterina Pavlova
0501511825 8166275: vm/mlvm/meth/stress/compiler/deoptimize keeps timeouting
Reviewed-by: kvn
2019-10-24 11:25:53 -07:00
Per Lidén
a8c4e6786d 8231552: ZGC: Refine address space reservation
Reviewed-by: eosterlund, stefank
2019-10-24 17:24:58 +02:00
Coleen Phillimore
9308d18580 8232788: Move biased locking initalization
Reviewed-by: pchilanomate, dholmes
2019-10-24 08:52:33 -04:00
Thomas Schatzl
5a21a8c4dd 8230706: Waiting on completion of strong nmethod processing causes long pause times with G1
Instead of globally waiting for completion of strong nmethod processing during evacuation, synchronize the nmethods processing on a per-nmethod basis so that only one thread processes one nmethod at once using a state. This state indicates what work (strong/weak processing) needs to be done and what has already been done.

Reviewed-by: sjohanss, kbarrett
2019-10-24 11:08:16 +02:00
Claes Redestad
574263a884 8232613: Move Object.registerNatives into HotSpot
Reviewed-by: dholmes, adinn, coleenp, lfoltan, mchung
2019-10-24 09:57:29 +02:00
Tobias Hartmann
7b38a7e87d 8232883: compiler/c2/CmpPNodeSubTest.java fails because test class name is wrong
Renamed test file to match class name.

Reviewed-by: roland
2019-10-23 13:52:33 +02:00
Christian Hagedorn
465f4c1200 8231412: C2: InitializeNode::detect_init_independence() bails out on simple IR shapes
Avoids early bailout of capturing a field store to remove unnecessary zeroing in simple methods containing only non-escaping objects.

Reviewed-by: roland, thartmann
2019-10-23 12:21:32 +02:00
Christian Hagedorn
13b4952f11 8232874: Add missing test for 8230062
Adds a missing test which verifies the bug fix of 8230062.

Reviewed-by: roland, thartmann
2019-10-23 12:17:14 +02:00
Christian Hagedorn
3cc9ed08e7 8232873: Add missing test for 8220416
Adds a missing test which verifies the bug fix of 8220416.

Reviewed-by: roland, thartmann
2019-10-23 12:15:42 +02:00
Benoit Daloze
54be25b07b 8232571: Add missing SIGINFO signal
Reviewed-by: dholmes, rriggs
2019-10-22 22:00:21 -04:00
Jie Fu
750eab1ecc 8232692: [TESTBUG] compiler/aot/fingerprint/SelfChangedCDS.java fails when cds is disabled
Reviewed-by: kvn
2019-10-21 17:27:51 +08:00
Aleksey Shipilev
f771978f53 8232702: Shenandoah: gc/shenandoah/TestVerifyJCStress.java uses non-existent -XX:+VerifyObjectEquals
Reviewed-by: rkennke
2019-10-21 15:11:44 +02:00
Per Lidén
db89b5fdf9 8231943: ZGC: Enable serviceability/dcmd/gc/RunGCTest
Reviewed-by: tschatzl, eosterlund, sspitsyn
2019-10-21 09:55:31 +02:00
Chris Plummer
5db7fc5aa9 8232276: Problem list serviceability/sa/ClhsdbJstackXcompStress.java
Reviewed-by: sgehwolf, dholmes
2019-10-18 14:07:47 -07:00
Jie Fu
75d143bcfc 8232593: [TESTBUG] runtime/cds/CheckDefaultArchiveFile.java fails when cds is disabled
Reviewed-by: iklam, dholmes
2019-10-18 14:15:10 +08:00
Goetz Lindenmaier
d8c6516c92 8218628: Add detailed message to NullPointerException describing what is null
This is the implementation of JEP 358: Helpful NullPointerExceptions.

Reviewed-by: coleenp, clanger, rschmelter, rriggs, forax, mr
2019-10-14 11:36:17 +02:00
Zhengyu Gu
0046f1ea4f 8229919: Support JNI Critical functions in object pinning API on x86_32 platforms
Reviewed-by: rkennke, adinn
2019-10-15 22:22:23 -04:00
Henry Jen
9dd506f713 Merge 2019-10-15 21:33:54 +00:00
Aleksey Shipilev
6b11446797 8232051: Epsilon should warn about Xms/Xmx/AlwaysPreTouch configuration
Reviewed-by: zgu
2019-10-15 19:45:09 +02:00
Henry Jen
8d141f1048 Merge 2019-10-14 21:01:25 +00:00
Igor Ignatyev
c3b33c0631 8225654: rework vmTestbase/jit/graph
Reviewed-by: thartmann, neliasso
2019-10-11 09:43:41 -07:00
Huang Wang
4fb2bb554d 8231988: Unexpected test result caused by C2 IdealLoopTree::do_remove_empty_loop
Duplicate cmp node in empty loop if it has other users

Co-authored-by: Tuo Xie <xietuo@huawei.com>
Reviewed-by: neliasso, thartmann
2019-10-11 16:52:18 +08:00
Leonid Mesnik
7e3316e3be 8231981: Refactor test definitions to split RT and SVC tests
Reviewed-by: sspitsyn, dholmes
2019-10-14 12:22:09 -07:00
Severin Gehwolf
c4f5c4fe9b 8196969: JTreg Failure: serviceability/sa/ClhsdbJstack.java causes NPE
Account for serialized null scopes in NMethod

Reviewed-by: aph, never
2019-09-23 20:26:18 +02:00
Matthias Baesken
63b1c4c213 8230957: [TESTBUG] containers/docker/TestJcmdWithSideCar.java sporadic failures
Reviewed-by: clanger, bobv, mseledtsov
2019-10-11 09:55:35 +02:00
Aleksey Shipilev
d2d6b6378e 8231947: Shenandoah: cleanup ShenandoahHumongousMoves flag treatment
Reviewed-by: rkennke
2019-10-10 21:54:54 +02:00
Serguei Spitsyn
4091899994 8231595: [TEST] develop a test case for SuspendThreadList including current thread
Extend test coverage for SuspendThreadList

Reviewed-by: amenkov, cjplummer, dholmes
2019-10-10 01:10:26 +00:00
Calvin Cheung
1a3f40f25d 8231529: [TESTBUG] runtime/cds/appcds/dynamicArchive/DynamicLotsOfClasses.java shouldn't wrap SkippedException into Exception
Removed the try-catch in the test.

Reviewed-by: iklam, lfoltan
2019-10-09 16:42:18 -07:00
Ekaterina Pavlova
036a3528ea 8231903: [Graal] Update com.oracle.mxtool.junit classes
Reviewed-by: kvn
2019-10-09 10:59:45 -07:00
Per Lidén
c4650cc71f 8232056: GetOwnedMonitorInfoWithEATest.java fails with ZGC: Heap too small
Reviewed-by: dholmes, rrich
2019-10-09 20:12:46 +02:00
Richard Reingruber
a683592254 8230677: Should disable Escape Analysis if JVMTI capability can_get_owned_monitor_info was taken
Reviewed-by: sspitsyn, dholmes, kvn
2019-10-08 15:30:39 +02:00
Per Lidén
9e17946ab2 8231489: GC watermark_0_1 failed due to "metaspace.gc.Fault: GC has happened too rare"
Reviewed-by: tschatzl, sjohanss
2019-10-09 08:09:12 +02:00
Kim Barrett
d7fcd0ccac 8231153: Improve concurrent refinement statistics
8043505: G1RemSet::_conc_refine_cards is incremented unsynchronized

Added refinement rates and counts, removed _conc_refine_cards

Reviewed-by: tschatzl, sjohanss
2019-10-08 15:15:50 -04:00
Aleksey Shipilev
f412bfc34e 8231931: [TESTBUG] serviceability/sa/TestUniverse.java looks for wrong string with Shenandoah
Reviewed-by: rkennke
2019-10-08 15:08:59 +02:00
David Holmes
f3df804e24 8231289: Disentangle JvmtiRawMonitor from ObjectMonitor and clean it up
Reviewed-by: sspitsyn, dcubed, coleenp
2019-10-07 18:44:53 -04:00
Aleksey Shipilev
89c8b7be66 8231932: Shenandoah: conc/par GC threads ergonomics overrides user settings
Reviewed-by: rkennke
2019-10-07 17:12:13 +02:00
Claes Redestad
fba19ffbb2 8230043: Lazily load libverify
8230140: Remove unused mutex and monitor declarations

Reviewed-by: hseigel, erikj, alanb, dholmes
2019-10-07 16:55:24 +02:00
Coleen Phillimore
638910826a 8229900: RedefineDeleteJmethod.java fails with -Xcheck:jni
Remove RedefineClasses adjustment and test, but improve checking for method/class matching.

Reviewed-by: dholmes, sspitsyn
2019-10-07 10:04:01 -04:00
Aleksey Shipilev
c1474ca64b 8231930: Windows build fails after JDK-8191521
Reviewed-by: dholmes, clanger
2019-10-07 15:00:24 +02:00
Roland Westrelin
703760bbec 8231550: C2: ShouldNotReachHere() in verify_strip_mined_scheduling
Reviewed-by: vlivanov, thartmann
2019-10-02 17:32:08 +02:00
Roland Westrelin
a81dcf4dbf 8231620: assert(bol->is_Bool()) crash during split if due to FastLockNode
Reviewed-by: vlivanov, thartmann
2019-10-01 10:28:12 +02:00
Fairoz Matte
80d6ffee5f 8216352: SA: ClhsdbLauncher should throw errors on Unrecognized commands
Reviewed-by: cjplummer, sspitsyn
2019-10-04 07:54:57 +01:00
Leonid Mesnik
2cb764b24b 8231768: Remove duplicate if/else in vmTestbase/nsk/share/jdi/Binder.java
Reviewed-by: sspitsyn, phh, cjplummer
2019-10-03 08:50:10 -07:00
Calvin Cheung
b08a8c5cc3 8231606: _method_ordering is not set during CDS dynamic dump time
Add the missing DynamicDumpSharedSpaces check in sort_methods(); replace the (DumpSharedSpaces || DynamicDumpSharedSpaces) with the Arguments::is_dumping_archive() function call.

Reviewed-by: iklam, coleenp, jiangli
2019-10-02 16:55:08 -07:00
Christian Hagedorn
8200eb4d45 8231626: DeoptimizeRandom should not be a product flag
The DeoptimizeRandom flag is changed to develop since it has no effect in production.

Reviewed-by: neliasso, thartmann
2019-10-02 08:27:17 +02:00
Ralf Schmelter
98a2c05b5d 8191521: handle long relative path specified in -Xbootclasspath/a on windows
Reviewed-by: ccheung, clanger
2019-10-01 14:09:44 +02:00
Roland Westrelin
fd3a403512 8231665: 8231055 broke escapeAnalysis/TestSelfArrayCopy.java
Reviewed-by: thartmann
2019-09-30 17:58:05 +02:00
Per Lidén
990ec34714 8231296: ZGC: vmTestbase/nsk/jvmti/Allocate/alloc001/ fails
Reviewed-by: sspitsyn, dcubed, iignatyev
2019-10-01 12:27:14 +02:00
Jatin Bhateja
d3ca3a02ff 8226721: Missing intrinsics for Math.ceil, floor, rint
Reviewed-by: neliasso, vlivanov, ecaspole
2019-10-01 11:43:10 +02:00
Coleen Phillimore
98f454c9ca 8184732: Deadlock detection improvements for 'special' locks
Assert that special ranked locks cannot safepoint and allow_vm_block and remove locks from the exceptional lock list in no_safepoint_verifier.

Reviewed-by: dholmes, eosterlund
2019-09-30 13:10:11 -04:00
Doug Lea
8c647801fc 8231036: vmTestbase monitoring tests fail after JSR 166 refresh
Reviewed-by: martin, dholmes
2019-09-27 12:20:14 -07:00
Leonid Mesnik
3e3d90d6a1 8230942: Support compressed cores in SA tests
Reviewed-by: dholmes, sspitsyn
2019-09-27 10:48:23 -07:00
Roland Westrelin
2f2ec624a2 8227384: C2 compilation fails with "graph should be schedulable" when running with -XX:-EliminateLocks
Reviewed-by: thartmann, kvn
2019-07-16 08:56:08 +02:00
Roland Westrelin
e4314c158d 8231405: [Shenandoah] guarantee(d != NULL) failed: Null dominator info
Reviewed-by: shade, rkennke
2019-09-26 17:49:44 +02:00
Per Lidén
cf5af650de 8231294: ZGC: vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted002 fails
Reviewed-by: shade, dholmes
2019-09-26 13:56:58 +02:00
Patric Hedlin
8275b17b07 8229499: Node budget assert in fuzzed test
Reviewed-by: thartmann, neliasso
2019-09-12 11:44:51 +02:00
Tobias Hartmann
a03e92201d 8231223: C2's conditional move optimization fails with assert(bol->Opcode() == Op_Bool) failed
Bail out if the range check If has an Opaque4Node input instead of a BoolNode.

Reviewed-by: roland, kvn
2019-09-26 09:16:08 +02:00
Paul Hohensee
1bce27d402 8231209: [REDO] ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
Add com.sun.management.getCurrentThreadAllocatedBytes, implement getThreadAllocatedBytes(long) independent of getThreadAllocatedBytes(long[])

Reviewed-by: mchung, dholmes, sspitsyn
2019-09-25 15:22:33 -07:00
Aleksey Shipilev
c49aa4ffa5 8231410: Shenandoah: clone barrier should use base pointer
Reviewed-by: rkennke
2019-09-25 12:21:10 +02:00
Arno Zeller
3fab0b8407 8230110: TestLinkageErrorInGenerateOopMap times out
Reviewed-by: stuefe, clanger, thartmann
2019-09-24 14:46:38 +02:00
Roland Westrelin
e2803ed999 8231055: C2: arraycopy with same non escaping src and dest but different positions causes wrong execution
Reviewed-by: thartmann, vlivanov
2019-09-17 15:58:54 +02:00
Alan Bateman
72e62cf835 8231413: Several test/hotspot/jtreg/runtime tests updates to run with --illegal-access=deny
Reviewed-by: hseigel, lfoltan, dholmes
2019-09-25 09:17:32 +01:00
Roland Westrelin
dfc5c795c7 8229483: Sinking load out of loop may trigger: assert(found_sfpt) failed: no node in loop that's not input to safepoint
Reviewed-by: thartmann, neliasso
2019-09-23 16:49:09 +02:00
Calvin Cheung
0da443e7ae 8231097: [TESTBUG] runtime/cds/appcds/DirClasspathTest.java can fail with a mapping error
Check output for mapping failure and throw a SkippedException.

Reviewed-by: iklam, dholmes
2019-09-24 20:16:13 -07:00
Ioi Lam
c85075b31a 8231367: [TESTBUG] ParallelLoadTest.java fails with "test.dynamic.dump not supported"
Reviewed-by: ccheung
2019-09-24 10:36:35 -07:00
Ekaterina Pavlova
8731e6339d 8231376: Unproblem list compiler/unsafe/Unsafe{Off,On}HeapBooleanTest.java tests
Reviewed-by: iignatyev
2019-09-24 08:54:08 -07:00
Roland Westrelin
a63b541842 8230061: # assert(mode == ControlAroundStripMined && use == sfpt) failed: missed a node
Reviewed-by: thartmann, neliasso
2019-08-28 15:51:03 +02:00
Tobias Hartmann
6bc9833f65 8231058: VerifyOops crashes with assert(_offset >= 0) failed: offset for non comment?
Offset method should only be called for comments.

Reviewed-by: roland, dholmes
2019-09-23 14:30:31 +02:00
Thomas Schatzl
03e769bd64 8159984: Remove call to ClassLoaderDataGraph::clear_claimed_marks during the initial mark pause
The CLDG is only iterated once during garbage collection, so we do not need to claim CLDs any more.

Reviewed-by: sjohanss, kbarrett
2019-09-23 11:37:02 +02:00
Ioi Lam
9c92ecba04 8231125: Improve testing of parallel loading of shared classes by the boot class loader
Reviewed-by: ccheung, coleenp, dholmes
2019-09-22 17:16:35 -07:00
Leonid Mesnik
d564ab722a 8229853: Problemlist compiler/codecache/jmx/PoolsIndependenceTest.java
Reviewed-by: thartmann
2019-09-20 13:14:50 -07:00
Stefan Karlsson
2f67784a45 8230759: ZGC: Fix integer types
Reviewed-by: pliden
2019-09-11 09:47:42 +02:00
Robbin Ehn
35a9f6864a 8226705: [REDO] Deoptimize with handshakes
Reviewed-by: eosterlund, dcubed, dlong, pchilanomate
2019-09-19 10:52:22 +02:00
Ekaterina Pavlova
f482d3071c 8231145: [Graal] org.graalvm.compiler.debug.test.DebugContextTest fails because DebugContextTest.testLogging.input is not available
Reviewed-by: erikj, iveresov, ihse
2019-09-18 10:58:21 -07:00
Jie Fu
4fb41f2617 8230943: False deadlock detection with -XX:+CIPrintCompileQueue after JDK-8163511
Reviewed-by: dholmes, thartmann
2019-09-17 20:38:23 +08:00
David Holmes
c2cbaa69d5 8231033: Problemlist ReservedStackTest
8231034: ProblemList failing ThreadMXBean tests

Reviewed-by: darcy
2019-09-15 21:00:15 -04:00
Brent Christian
5c3cc74c83 8230937: Update bugid in ProblemList for vmTestbase/nsk/jdb/eval/eval001/eval001.java
Reviewed-by: dholmes, mchung
2019-09-13 09:33:54 -07:00
Leonid Mesnik
9597fcd85f 8230881: serviceability/sa/TestJmapCore tests fail with java.lang.RuntimeException: Could not find dump file
Reviewed-by: dholmes, cjplummer
2019-09-13 09:34:13 -07:00
Roland Westrelin
ec5451c117 8229701: aarch64: C2 OSR compilation fails with "shouldn't process one node several times" in final graph reshaping
Reviewed-by: thartmann, kvn
2019-08-23 14:22:29 +02:00
Ioi Lam
988ac4fec0 8230586: Encapsulate fields in filemap.hpp
Reviewed-by: ccheung
2019-09-11 18:31:25 -07:00
David Holmes
99252bd9d6 8230423: Move os::sleep to JavaThread::sleep
Reviewed-by: rehn, dcubed
2019-09-11 22:09:05 -04:00
Aleksey Shipilev
7c2fe7025b 8230813: Add JDK-8010500 to compiler/loopopts/superword/TestFuzzPreLoop.java bug list
Reviewed-by: zgu
2019-09-10 19:58:22 +02:00
Ivan Gerasimov
9898fc1382 8230303: JDB hangs when running monitor command
Reviewed-by: sspitsyn
2019-09-10 09:08:52 -07:00
Brent Christian
a4613d4a8f 8212117: Class.forName may return a reference to a loaded but not linked Class
Reviewed-by: dholmes, mchung
2019-09-09 11:04:04 -07:00
Stefan Karlsson
7384f6cdcf 8224599: Remove globals_ext.hpp
Reviewed-by: coleenp, kvn, gziemski, ehelin
2019-09-04 11:05:20 +02:00
Xiaohong Gong
de87e8e860 8230129: Add jtreg "serviceability/sa/ClhsdbInspect.java" to graal problem list
Reviewed-by: dlong, thartmann
2019-09-09 11:19:51 +08:00
David Holmes
394d6ac55b 8230422: Convert uninterruptible os::sleep calls to os::naked_short_sleep
Reviewed-by: kbarrett, dcubed, shade
2019-09-07 18:48:57 -04:00
Christoph Langer
c159a4e0f2 8230666: Exclude serviceability/sa/TestInstanceKlassSize.java on linuxppc64 and linuxppc64le
Reviewed-by: dcubed
2019-09-06 15:13:38 +02:00
David Holmes
8b42387ea6 8227563: jvmti/scenarios/contention/TC05/tc05t001 fails due to "ERROR: tc05t001.cpp, 278: (waitedThreadCpuTime - waitThreadCpuTime) < (EXPECTED_ACCURACY * 1000000)"
Reviewed-by: amenkov, cjplummer, sspitsyn
2019-09-05 18:39:22 -04:00
Calvin Cheung
a1002d68fc 8230632: [TESTBUG] appcds/NonExistClasspath.java and ClassPathAttr.java failed when running in hotspot_appcds_dynamic test group
Exclude NonExistClasspath.java from the test group; increase timeout for ClassPathAttr.java.

Reviewed-by: dcubed, iklam
2019-09-05 11:12:12 -07:00
Tobias Hartmann
a4b46ccc23 8229496: SIGFPE (division by zero) in C2 OSR compiled method
Adding a CastNode to keep the dependency between the div/mod operation and the zero check.

Reviewed-by: roland, mdoerr
2019-09-05 13:56:17 +02:00
Erik Österlund
f869706f5f 8224815: Remove non-GC uses of CollectedHeap::is_in_reserved()
Reviewed-by: stefank, coleenp
2019-09-05 08:26:49 +02:00
Xin Liu
0a92dc786d 8229450: C2 compilation fails with assert(found_sfpt) failed
Reviewed-by: roland, thartmann
2019-09-04 16:39:12 +02:00
Matthias Baesken
a41b9a71ac 8229182: runtime/containers/docker/TestMemoryAwareness.java test fails on SLES12
Reviewed-by: clanger, mseledtsov
2019-09-03 17:52:36 +02:00
Aleksey Shipilev
5110530d5b 8230238: Add another regression test for JDK-8134739
Reviewed-by: kvn
2019-09-02 11:31:12 +02:00
Kim Barrett
a72d25fcc7 8230372: Remove G1GCPhaseTimes::MergeLBProcessedBuffers
Removed no longer needed phase time.

Reviewed-by: sjohanss, tschatzl
2019-08-30 15:36:44 -04:00
Tobias Hartmann
79c14f088c 8230390: Problemlist SA tests with AOT
Putting tests on the problem list.

Reviewed-by: roland
2019-08-30 16:17:21 +02:00
Tobias Hartmann
05d4e7a269 8230388: Problemlist additional compiler/rtm tests
Putting tests on the problem list.

Reviewed-by: roland
2019-08-30 11:11:33 +02:00
Jie Fu
c7f0ae07cd 8230376: [TESTBUG] runtime/StackTrace/HiddenFrameTest.java fails with release VM
Reviewed-by: dholmes
2019-08-30 01:21:14 -04:00
Mikhailo Seledtsov
489f8027be 8228960: [TESTBUG] containers/docker/TestJcmdWithSideCar.java: jcmd reports main class as Unknown
Waiting for child output to start main() before running jcmd

Reviewed-by: dholmes, bobv
2019-08-29 15:50:45 -07:00
Mikhailo Seledtsov
1bc974d8a7 8229210: [TESTBUG] Move gc stress tests from JFR directory tree to gc/stress
Moved the tests

Reviewed-by: egahlin
2019-08-29 08:35:31 -07:00
Coleen Phillimore
e2287af876 8216977: ShowHiddenFrames use in java_lang_StackTraceElement::fill_in appears broken
Return NULL source file and negative line number for hidden frames.

Reviewed-by: dholmes, hseigel
2019-08-29 08:52:22 -04:00
Jie Fu
72d8e98a9d 8230228: [TESTBUG] Several runtime/ErrorHandling tests may fail on some platforms
Reviewed-by: coleenp, stuefe, mseledtsov
2019-08-28 08:47:40 +08:00
Daniel D. Daugherty
be0cd9908a 8230317: serviceability/sa/ClhsdbPrintStatics.java fails after 8230184
Reviewed-by: eosterlund
2019-08-28 12:53:37 -04:00
Daniel D. Daugherty
9b992ead1e 8230184: rename, whitespace, indent and comments changes in preparation for lock free Monitor lists
Reviewed-by: kbarrett, dholmes
2019-08-28 10:56:50 -04:00
Ioi Lam
a2c067f6e8 8230294: runtime/cds/appcds/ClassPathAttr.java failed with jar operation failed
Reviewed-by: lfoltan
2019-08-28 07:41:57 -07:00
Ioi Lam
87eefe2e00 8227370: Remove SharedPathsMiscInfo
Reviewed-by: ccheung, jiangli
2019-08-27 22:14:52 -07:00
Patricio Chilano Mateo
85dbabe345 8229844: Remove attempt_rebias parameter from revoke_and_rebias()
Removed attempt_rebias parameter and merged fast_enter() and slow_enter() into enter()

Reviewed-by: dholmes, rehn, coleenp, dcubed
2019-08-27 20:10:06 +00:00
Stefan Karlsson
e1aca70a1c 8229836: Remove include of globals.hpp from allocation.hpp
Reviewed-by: coleenp, kbarrett
2019-08-26 09:13:38 +02:00
Adam Farley
ed45bde1a7 8227021: VM fails if any sun.boot.library.path paths are longer than JVM_MAXPATHLEN
The size of each path in sun.boot.library.path property should not exceed JVM_MAXPATHLEN

Reviewed-by: dholmes, coleenp, sspitsyn
2019-08-23 03:06:24 -07:00
Leonid Mesnik
186dcb2f42 8229957: Harden pid verification in attach mechanism
Reviewed-by: sspitsyn, ysuenaga, sgehwolf
2019-08-22 10:40:34 -07:00
Tobias Hartmann
0941bf8b5e 8230020: [BACKOUT] compiler/types/correctness/* tests fail with "assert(recv == __null || recv->is_klass()) failed: wrong type"
Back out JDK-8225670 due to performance regressions.

Reviewed-by: roland
2019-08-22 12:22:02 +02:00
Kim Barrett
1acad37ee6 8227054: ServiceThread needs to know about all OopStorage objects
8227053: ServiceThread cleanup of OopStorage is missing some

OopStorages provides named access and iteration.

Reviewed-by: eosterlund, pliden, coleenp
2019-08-21 18:42:30 -04:00
Leonid Mesnik
f83ac54e23 8229854: Move runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryErrorInMetaspace.java out of tier1_runtime
Reviewed-by: dholmes
2019-08-20 11:36:47 -07:00
Roman Kennke
b08e417b06 8229921: Shenandoah: Make Traversal mode non-experimental
Reviewed-by: shade
2019-08-20 18:39:09 +02:00
Stefan Karlsson
a3d6be2b2d 8229838: Rename markOop files to markWord
Reviewed-by: dholmes, rehn
2019-08-19 11:30:03 +02:00
Christian Hagedorn
db359f11b5 8229158: make UseSwitchProfiling non-experimental or false by-default
Changed UseSwitchProfiling from experimental to diagnostic.

Reviewed-by: dholmes, shade, thartmann
2019-08-20 10:46:23 +02:00
Tobias Hartmann
672fa8b97a 8228888: C2 compilation fails with assert "m has strange control"
Weakened too strong assert.

Reviewed-by: kvn, roland
2019-08-20 07:47:13 +02:00
Stefan Karlsson
ae5615c614 8229258: Rework markOop and markOopDesc into a simpler mark word value carrier
Reviewed-by: rkennke, coleenp, kbarrett, dcubed
2019-08-06 10:48:21 +02:00
Leo Korinth
3a38bec5ae 8224659: Parallel GC: Use WorkGang (1: PCRefProcTask)
Reviewed-by: stefank, kbarrett, tschatzl
2019-08-16 09:18:19 +02:00
Calvin Cheung
63baaf7a56 8226645: [TESTBUG] some AppCDS tests rely on illegal reflective access
Updated tests to use Lookup.defineClass instead of ClassLoader.defineClass.

Reviewed-by: iklam, dholmes, alanb
2019-08-15 16:23:41 -07:00
Nick Gasson
6af89d6412 8229118: [TESTBUG] serviceability/sa/ClhsdbFindPC fails on AArch64
Reviewed-by: cjplummer, adinn
2019-08-15 14:00:36 +08:00
Aleksey Shipilev
517f13e1c6 8229707: [TESTBUG] Some Shenandoah tests assume Server VM by default
Reviewed-by: rkennke
2019-08-14 20:32:44 +02:00
Daniel D. Daugherty
2207d884d5 8229212: clear up CHECK_OWNER confusion in objectMonitor.cpp
Reviewed-by: dholmes, coleenp
2019-08-13 16:13:22 -04:00
Tobias Hartmann
da43cb5e46 8224957: C2 compilation fails with assert: Bad graph detected in build_loop_late
Disable walking up the dominator chain for regions with more than 2 input paths.

Reviewed-by: roland, kvn
2019-08-13 09:56:13 +02:00
Tobias Hartmann
f1763a5e86 8228772: C2 compilation fails due to unschedulable graph if DominatorSearchLimit is reached
Ignore membar if the load is already control dependent on it.

Reviewed-by: neliasso, kvn
2019-08-13 09:54:40 +02:00
Tobias Hartmann
5225d254ee 8229447: Problem list compiler/unsafe/UnsafeGetConstantField.java on Sparc until JDK-8229446 is fixed
Problem list a test.

Reviewed-by: dholmes
2019-08-13 08:25:29 +02:00
Tobias Hartmann
fd4dc1dfd2 8225670: compiler/types/correctness/* tests fail with "assert(recv == __null || recv->is_klass()) failed: wrong type"
Clear entry in the ciProfileData object if the klass is NULL.

Reviewed-by: eosterlund, thartmann
2019-08-12 08:48:47 +02:00
Ioi Lam
e9b271dd10 8229267: [TESTBUG] Remove unnecessary @modules dependencies in CDS tests
Reviewed-by: alanb, lfoltan
2019-08-09 13:13:36 -07:00
Chris Plummer
29875f63ef 8227645: Some tests in serviceability/sa run with fixed -Xmx values and risk running out of memory
Move tests to seprate directory

Reviewed-by: dtitov, jcbeyler, ctornqvi, sspitsyn
2019-08-09 11:27:08 -07:00
Jean Christophe Beyler
b036071125 8229036: Remove the testing against NSK_TRUE from tests
Remove the testing against NSK_TRUE from tests

Reviewed-by: sspitsyn, cjplummer
2019-08-08 04:29:56 -07:00
Rahul Raghavan
090734266c 8227439: Turn off AOT by default
Made UseAOT, AOTLibrary experimental and UseAOT false by default

Reviewed-by: iignatyev, kvn
2019-08-08 14:13:16 +05:30
Tobias Hartmann
ac2ea95788 8229016: C2 scalarization crashes with assert(node->Opcode() == Op_CastP2X) failed: ConvP2XNode required
Detect array copy to self to avoid emitting another load to the to-be-removed allocation.

Reviewed-by: kvn
2019-08-07 12:09:55 +02:00
Kim Barrett
27600c60e2 8229156: ProblemList gc/stress/gclocker/TestExcessGCLockerCollections.java
Reviewed-by: shade
2019-08-06 11:40:23 -04:00
Coleen Phillimore
7c0a5865fb 8228753: Deprecate -XX:FieldsAllocationStyle product option
8228749: Deprecate product flag -XX:CompactFields

Reviewed-by: kvn, shade
2019-08-06 07:43:18 -04:00
Aleksey Shipilev
7b37608a65 8229134: [TESTBUG] 32-bit build fails gc/arguments/TestSurvivorAlignmentInBytesOption.java after JDK-8228855
Reviewed-by: tschatzl
2019-08-06 12:14:41 +02:00
Mikhailo Seledtsov
e163037e31 8228687: [TESTBUG] exclude Container tests from hotspot_misc group
Excluded hotspot_containers from hotspot_misc

Reviewed-by: dcubed
2019-08-02 13:51:34 -07:00
Jean Christophe Beyler
76b7c9a0ce 8228998: Remove the testing against NSK_FALSE from tests
Remove the testing against NSK_FALSE from tests

Reviewed-by: cjplummer, sspitsyn
2019-08-02 11:24:59 -07:00
Martin Doerr
f84231bfbd 8228649: [PPC64] SA reads wrong slots from interpreter frames
Make frame layout consistent between dbg and product build and implement offsets accordingly.

Reviewed-by: goetz, gromero
2019-08-02 11:28:58 +02:00
Daniel D. Daugherty
465eff703f 8228999: ProblemList vmTestbase/nsk/jvmti/GetThreadState/thrstat001/TestDescription.java
Reviewed-by: cjplummer
2019-08-01 16:07:07 -04:00
Daniel D. Daugherty
ae9388adeb 8226899: Problemlist compiler/rtm tests
Reviewed-by: kvn
2019-08-01 15:54:45 -04:00
Mikhailo Seledtsov
e3aa4909df 8228904: Problemlist docker/TestJcmdWithSideCar.java until JDK-8228850 and JDK-8228960 are fixed
Problem listed the test

Reviewed-by: dcubed
2019-07-31 16:48:51 -07:00
Coleen Phillimore
921748e33c 8228907: Some gc argument checking tests fail after JDK-8228855
Use new SurvivorAlignmentInBytes range in tests, remove test cases that verify unnecessarily large values.

Reviewed-by: kbarrett, dcubed, dholmes
2019-07-31 17:30:25 -04:00
Kim Barrett
6d65b4fd25 8048556: Unnecessary GCLocker-initiated young GCs
Fixed recognition of unnecessary GCLocker collections.

Reviewed-by: pliden, tschatzl
2019-07-31 14:28:51 -04:00
Patricio Chilano Mateo
3c80eb4f3c 8227528: TestAbortVMOnSafepointTimeout.java failed due to "RuntimeException: 'Safepoint sync time longer than' missing from stdout/stderr"
Biased locking was disable for this test.

Reviewed-by: dcubed, mdoerr, dholmes
2019-07-30 17:31:29 -04:00
Aleksey Shipilev
1ed64c2a95 8228672: [TESTBUG] gc/metaspace/TestSizeTransitions.java fails on 32-bit platforms
Reviewed-by: tonyp
2019-07-30 22:15:23 +02:00
Coleen Phillimore
1186d8203b 8227123: Assertion failure when setting SymbolTableSize larger than 2^17 (131,072)
Increase max size for SymbolTable and fix experimental option range.  Fix option range test to include experimental options.

Reviewed-by: jiangli, dholmes, hseigel, gziemski
2019-07-30 09:56:18 -04:00
Valerie Peng
c720219beb 8228668: compiler/codegen/aes/TestAESMain.java failed with GCM mode must be used with NoPadding
Updated test to use NoPadding as default if the mode is one of GCM, CTR and CTS

Reviewed-by: xuelei
2019-07-29 20:18:43 +00:00
Mikael Vidstedt
895db11053 Merge 2019-07-29 09:59:04 -07:00
Martin Doerr
70fb85adc5 8227680: FastJNIAccessors: Check for JVMTI field access event requests at runtime
Check JvmtiExport::_field_access_count != 0 at runtime

Reviewed-by: dholmes, eosterlund, bulasevich
2019-07-29 18:22:55 +02:00
Coleen Phillimore
1ed3649f48 8202339: [TESTBUG] Consolidate the tests in runtime/SharedArchiveFile and runtime/appcds
Add top level cds directory and adjust test groups

Reviewed-by: mseledtsov, ccheung
2019-07-29 10:34:20 -04:00
Harold Seigel
3d6ba9735f 8228596: Class redefinition fails when condy instructions are removed
Make sure has_dynamic_constant flag value gets copied to merged constant pool, when it is set to TRUE

Reviewed-by: coleenp, dcubed, sspitsyn
2019-07-29 09:57:37 -04:00
Matthias Baesken
dde37610c0 8228650: runtime/SharedArchiveFile/CheckDefaultArchiveFile.java test fails on AIX
Reviewed-by: mseledtsov
2019-07-26 15:05:24 +02:00
Christian Hagedorn
b2a9f90a94 8223769: Assert triggers with -XX:+StressReflectiveCode
Fixed too strong assert.

Reviewed-by: kvn, thartmann
2019-07-29 09:34:07 +02:00
Calvin Cheung
fc7aa2306c 8228407: JVM crashes with shared archive file mismatch
Stop processing other header fields if initial header check has failed.

Reviewed-by: dholmes, jiangli
2019-07-25 10:25:52 -07:00
Igor Ignatyev
cac96b1b58 8226905: unproblem list applications/ctw/modules/* tests on windows
Reviewed-by: kvn
2019-07-24 18:23:16 -07:00
Vladimir Ivanov
32eb2e45b6 8227260: JNI upcalls should bypass class initialization barrier in c2i adapter
Reviewed-by: eosterlund, dholmes, mdoerr
2019-07-24 10:50:40 +03:00
Coleen Phillimore
221da20713 8228485: JVM crashes when bootstrap method for condy triggers loading of class whose static initializer throws exception
Add case for JVM_CONSTANT_Dynamic in error_message function.

Reviewed-by: dholmes, shade
2019-07-24 10:22:11 -04:00
Thomas Schatzl
5e48c76e81 8228388: Add information about dirty/skipped card for Merge HCC in G1 log
Collect and print informatio about the number of processed cards during the Merge HCC phase to improve log output.

Reviewed-by: kbarrett, sangheki
2019-07-24 11:49:39 +02:00
Mikhailo Seledtsov
94c38c4cc1 8227122: [TESTBUG] Create Docker sidecar test cases
Created test cases for container sidecar pattern

Reviewed-by: bobv, sgehwolf
2019-07-23 11:36:05 -07:00
Mikael Vidstedt
f73a94a772 Merge 2019-07-23 11:17:59 -07:00
Severin Gehwolf
5732fe95a6 8228434: jdk/net/Sockets/Test.java fails after JDK-8227642
Move container constant to separate test lib class

Reviewed-by: alanb
2019-07-22 10:48:14 +02:00
Antonios Printezis
c0f6ce7c54 8227179: Test for new gc+metaspace=info output format
Reviewed-by: tschatzl, kbarrett
2019-07-19 12:39:31 -04:00
Vladimir Ivanov
242bd67c6c 8227260: JNI upcalls should bypass class initialization barrier in c2i adapter
Reviewed-by: eosterlund, dholmes, mdoerr, dpochepk
2019-07-19 16:25:04 +03:00
Coleen Phillimore
d35c1540e6 8227766: CheckUnhandledOops is broken in MemAllocator
Save oop created in handle more eagerly, so CheckUnhandledOops doesn't bash it.

Reviewed-by: lfoltan, eosterlund
2019-07-18 07:06:33 -04:00
Thomas Schatzl
b4d014896a 8227089: Add timing information for merging humongous remembered sets
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Thomas Schatzl
ffe79a37c3 8227084: Add timing information for merge heap root preparation
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Mikael Vidstedt
f08a9de3b2 Merge 2019-07-17 04:33:37 -07:00
Yasumasa Suenaga
2870c9d55e 8225690: Multiple AttachListener threads can be created
Reviewed-by: sspitsyn, cjplummer
2019-07-16 07:29:12 +09:00
Yasumasa Suenaga
81a59941af 8227594: sadebugd/DebugdConnectTest.java fails due to "java.rmi.NotBoundException: SARemoteDebugger"
Reviewed-by: cjplummer, sspitsyn
2019-07-13 20:55:25 +09:00
Jiangli Zhou
24b025163b 8227582: runtime/TLS/testtls.sh fails on x86_32
Disable the negative test case for regular testing.

Reviewed-by: shade
2019-07-12 10:39:19 -07:00
Mikael Vidstedt
cfcd0223a9 Merge 2019-07-12 02:50:43 -07:00
Harold Seigel
5e24afc868 8226798: JVM crash in klassItable::initialize_itable_for_interface(int, InstanceKlass*, bool, Thread*)
When calculating vtable size at class load time, do not look for miranda method if matching package private method is found in a super class.

Reviewed-by: acorn, lfoltan
2019-07-11 09:26:04 -04:00
Nils Eliasson
019b9891d7 8226536: Catch OOM from deopt that fails rematerializing objects
Reviewed-by: vlivanov, thartmann
2019-07-10 18:48:05 +02:00
Jamsheed Mohammed C M
7fbf691c01 8221577: [Graal] Implement basic type consistency checks for Low level MH intrinsics
Reviewed-by: kvn
2019-07-08 04:01:54 -07:00
Martin Doerr
516578513c 8226302: Test failures on IBM platforms (power and s/390) after JDK-8223837
Adjust heap size values for 32M heap aligment (page size 64k)

Reviewed-by: goetz, rschmelter, tschatzl
2019-07-08 10:56:05 +02:00
Yudi Zheng
173e014b80 8224254: compiler/graalunit/HotspotJdk9Test.java is timing out intermittently
Reviewed-by: kvn, thartmann
2019-07-07 18:17:46 -07:00
Yasumasa Suenaga
cf39d96d3a 8209790: SA tools not providing option to connect to debug server
Reviewed-by: sspitsyn, cjplummer
2019-07-11 08:19:56 +09:00
Calvin Cheung
a6b4e5c3d1 8226406: JVM fails to detect mismatched or corrupt CDS archive
Check important archive header fields such as _jvm_ident before processing other fields.

Reviewed-by: iklam, jiangli
2019-07-12 08:40:37 -07:00
Jeremy Manson
238c17bdb5 8225035: Thread stack size issue caused by large TLS size
Adjust thread stack size for static TLS on Linux when AdjustStackSizeForTLS is enabled.

Co-authored-by: Florian Weimer <fweimer@redhat.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: dholmes, fweimer, stuefe, rriggs, martin
2019-07-09 10:27:38 -07:00
Mikael Vidstedt
2b7170b33c Merge 2019-07-08 16:20:40 -07:00
Kim Barrett
b85ebc19e0 8217170: gc/arguments/TestUseCompressedOopsErgo.java timed out
Disable ZapUnusedHeapArea and VerifyBeforeExit for gc/arguments tests.

Reviewed-by: tschatzl, tonyp
2019-07-08 17:24:21 -04:00
Aleksey Shipilev
41ff22e552 8227327: Shenandoah: Faster and more parallel tests
Reviewed-by: rkennke
2019-07-05 23:31:32 +02:00
Roman Kennke
d6dd171ece 8227039: Shenandoah: Aggressive heuristics for Traversal mode
Reviewed-by: shade
2019-07-05 11:07:09 +02:00
Roman Kennke
d4afa4e1c8 8226757: Shenandoah: Make traversal and passive modes explicit
Reviewed-by: shade
2019-07-04 14:28:31 +02:00
Calvin Cheung
6f3bb94427 8227646: [TESTBUG] appcds/SharedArchiveConsistency timed out
Remove the FileChannel.force() calls.

Reviewed-by: dcubed, iklam
2019-07-17 08:34:45 -07:00
Mikael Vidstedt
c200fc1f34 Merge 2019-07-03 07:56:41 -07:00
Harold Seigel
72bb0855ad 8226956: Add invocation tests for Graal and C1
Add new tests for these JIT's

Reviewed-by: lfoltan, coleenp
2019-07-02 13:20:27 -04:00
Zhengyu Gu
d843b2f58e 8226957: Shenandoah: Remove obsoleted ShenandoahStoreCheck option
Reviewed-by: shade
2019-07-01 08:24:45 -04:00
Jesper Wilhelmsson
37599ff955 Merge 2019-06-29 05:26:55 +02:00
Serguei Spitsyn
ff1f2fad6e 8226917: jvmti/scenarios/contention/TC04/tc04t001/TestDescription.java fails on jvmti->InterruptThread (JVMTI_ERROR_THREAD_NOT_ALIVE)
Fix one more sync issue in the test

Reviewed-by: dcubed, gadams, amenkov
2019-06-28 16:06:44 -07:00
Calvin Cheung
5d1361df03 8211723: AppCDS: referring to a jar file in any way other than exactly how it was done during dumping doesn't work
Replaced os::file_name_strncmp() with os::same_files().

Reviewed-by: iklam, jiangli
2019-06-28 09:49:10 -07:00
Thomas Schatzl
d46d9318c1 8213108: Improve work distribution during remembered set scan
Before scanning the heap for roots into the collection set, merge them into a single remembered set (card table) and do work distribution based on location like other collectors do.

Reviewed-by: kbarrett, lkorinth
2019-06-27 11:48:32 +02:00
Jesper Wilhelmsson
16548883ec Merge 2019-06-26 22:16:00 +02:00
Bob Vandette
1a72f29e35 8224764: Create jtreg test for JDK-8222252
Reviewed-by: tschatzl
2019-06-26 11:25:51 -04:00