Commit Graph

1779 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
d34f561de0 Merge 2020-01-15 20:41:46 +01:00
Coleen Phillimore
c0dce25756 8236917: TestInstanceKlassSize.java fails with "The size computed by SA for java.lang.Object does not match"
Use getTestJavaOpts() instead of getVmOptions() because of mach5 configuration settings.

Reviewed-by: lmesnik, cjplummer, dholmes
2020-01-15 08:11:03 -05:00
Roland Westrelin
8d2e11397a 8237007: Shenandoah: assert(_base == Tuple) failure during C2 compilation
Reviewed-by: thartmann, rkennke
2020-01-09 17:26:26 +01:00
Tobias Hartmann
f243173a18 8236721: C2 should better optimize not-equal integer comparisons
Narrow the type if an integer value is found to be unequal to it's lower/upper boundary.

Reviewed-by: roland, neliasso
2020-01-15 08:44:53 +01:00
Mikael Vidstedt
b63b9a2edb 8237182: Update copyright header for shenandoah and epsilon files
Reviewed-by: iignatyev, zgu
2020-01-14 19:27:03 -08:00
Per Lidén
832baeaf4d 8236153: ZGC: gc/z/TestUncommit.java fails with java.lang.Exception: Uncommitted too fast
Reviewed-by: eosterlund
2020-01-14 10:43:55 +01:00
Jesper Wilhelmsson
913b8702d1 Merge 2020-01-13 15:40:09 +01:00
Christoph Langer
91bb1d3700 8237008: Exclude serviceability/sa/TestInstanceKlassSizeForInterface.java on linuxppc64 and linuxppc64le
Reviewed-by: mdoerr
2020-01-13 16:56:21 +01:00
Coleen Phillimore
5de40a0867 8236905: ProblemList test/hotspot/jtreg/runtime/Metaspace/DefineClass.java
Reviewed-by: dholmes
2020-01-09 21:58:38 -05:00
Coleen Phillimore
016b0f0caa 8232759: Remove GC.class_stats
Make the GC.class_stats option obsolete

Reviewed-by: dholmes, iklam
2020-01-09 17:38:41 -05:00
Jesper Wilhelmsson
943b87ddde Merge 2020-01-09 20:21:53 +01:00
Andrew Haley
984da450f2 Merge 2020-01-09 09:30:49 -05:00
Andrew Haley
21c02a5b18 8235385: AArch64: Crash on aarch64 JDK due to long offset
Reviewed-by: adinn
2020-01-09 09:30:02 -05:00
Daniil Titov
639e97df46 8236190: Unproblem list vmTestbase/nsk/jvmti/scenarios/hotswap/HS102/hs102t002/TestDescription.java
Reviewed-by: amenkov, cjplummer, iignatyev
2020-01-08 10:03:52 -08:00
Jesper Wilhelmsson
257a1bb854 Merge 2020-01-08 16:03:32 +01:00
Coleen Phillimore
c4b8e38de4 8236224: Obsolete the FieldsAllocationStyle and CompactFields options
Remove the options and code for options deprecated in JDK 14

Reviewed-by: dholmes, hseigel, fparain
2020-01-07 13:11:35 -05:00
Smita Kamath
995da6eb2a 8167065: Add intrinsic support for double precision shifting on x86_64
Reviewed-by: kvn
2019-12-23 14:42:21 -08:00
Mikael Vidstedt
c33466012e Merge 2019-12-20 22:41:53 -08:00
Ioi Lam
d1ad0eaf8f 8233826: Change CDS dumping tty->print_cr() to unified logging
Reviewed-by: coleenp, dholmes, jiangli
2019-12-19 23:04:49 -08:00
Patrick Zhang
8c1efbe38b 8229351: AArch64: the const STUB_THRESHOLD in macroAssembler_aarch64.cpp needs to be tuned
Optimize the stub thresholds of string_compare intrinsics

Reviewed-by: adinn, aph, avoitylov
2019-08-12 16:22:24 +08:00
Nick Gasson
aea0a57512 8234794: AArch64: runtime/memory/ReadFromNoaccessArea.java crashes
Try to map CDS shared space at 4G aligned address on AArch64

Reviewed-by: adinn, aph, jiangli, iklam
2019-12-19 09:47:33 +08:00
Jesper Wilhelmsson
e788e6dd46 Merge 2019-12-18 23:46:55 +01:00
Calvin Cheung
fae788a200 8235563: [TESTBUG] appcds/CommandLineFlagComboNegative.java does not handle archive mapping failure
Use the assertAbnormalExit method of the CDSTestUtils.Result class to handle archive mapping failure.

Reviewed-by: iklam
2019-12-17 16:46:37 -08:00
Roman Kennke
0743555685 8236106: [TESTBUG] Shenandoah: Make TestThreadFailure more resilient
Reviewed-by: zgu
2019-12-17 18:23:33 +01:00
Jesper Wilhelmsson
fa070554cb Merge 2019-12-17 16:29:30 +01:00
Ioi Lam
83cb7044e9 8236028: [TESTBUG] Remove dependency of sun.tools.jar from appcds/JarBuilder
Reviewed-by: ccheung
2019-12-16 21:24:00 -08:00
Ioi Lam
924720f6fc 8236045: [TESTBUG] MismatchedWhiteBox test fails with missing WhiteBox$WhiteBoxPermission.class
Reviewed-by: ccheung
2019-12-16 15:20:02 -08:00
Thomas Schatzl
bc97279caf 8235907: Fix tests referencing UseParallelOldGC
Remove tests using the obsolete UseParallelOldGC flag.

Reviewed-by: lkorinth, dlong
2019-12-16 23:07:37 +01:00
Ioi Lam
1b4b652408 8235970: [TESTBUG] Remove dependency of sun.tools.jar from RedefineClassHelper
Reviewed-by: alanb
2019-12-16 10:04:36 -08:00
Ioi Lam
8b2453f93b 8199290: [TESTBUG] sun.hotspot.WhiteBox$WhiteBoxPermission is not copied
Reviewed-by: iignatyev, dholmes
2019-12-16 10:03:42 -08:00
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
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
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
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
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
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
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
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
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
David Holmes
d935027a68 8233784: ProblemList failing JVMTI scenario tests
Reviewed-by: goetz
2019-11-07 07:53:02 -05: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
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
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