Commit Graph

368 Commits

Author SHA1 Message Date
Stefan Johansson
4de5274ff1 8199533: ProblemList tests failing after JDK-8153333
Reviewed-by: jwilhelm, ctornqvi
2018-03-13 18:27:20 +01:00
Razvan Lupusoru
343cf9910d 8199421: Add support for vector popcount
Reviewed-by: kvn
2018-03-13 10:22:15 -07:00
Alex Menkov
07db7c6fd9 8193369: post_field_access does not work for some functions, possibly related to fast_getfield
Reviewed-by: sspitsyn, cjplummer
2018-03-12 14:11:54 -07:00
Yasumasa Suenaga
fcb1520305 8153333: [REDO] STW phases at Concurrent GC should count in PerfCounte
Reviewed-by: sjohanss, tschatzl
2018-03-09 23:13:37 +09:00
Calvin Cheung
214248fe11 8196626: [Graal] runtime/appcds/UseAppCDS.java crashes with "VM thread using lock Heap_lock (not allowed to block on)"
Print a message and abort CDS dumping when the allocation of metaspace has failed

Reviewed-by: iklam, mseledtsov
2018-03-09 13:36:39 -08:00
Coleen Phillimore
9b1aa41153 Merge 2018-03-09 13:06:36 -05:00
Vladimir Kozlov
944905f00c 8198591: compiler/aot/fingerprint tests should be moved to open
Reviewed-by: thartmann
2018-03-09 09:46:49 -08:00
Coleen Phillimore
10259cf594 Merge 2018-03-09 12:03:20 -05:00
Stefan Karlsson
b9f2f3e199 8199275: Fix inclusions of allocation.inline.hpp
Reviewed-by: coleenp, kbarrett, dholmes
2018-03-08 09:56:29 +01:00
Gilles Duboscq
597c6ac736 8194490: [JVMCI] Move iterateFrames to C++
Reviewed-by: kvn, never, dnsimon
2018-03-07 19:32:54 -08:00
Thomas Stuefe
1b402fdb6d 8198423: Improve metaspace chunk allocation
Reviewed-by: goetz, coleenp
2018-03-06 19:24:13 +01:00
Tobias Hartmann
fd90a313a7 8198987: [Graal] compiler/intrinsics/sha/sanity tests fail on macos with Graal as JIT
Use the isIntrinsicAvailable WhiteBox API method to check if an intrinsic is available.

Reviewed-by: kvn
2018-03-06 10:30:24 +01:00
Ioi Lam
bc202d97bd 8191585: VM anonymous classes created during CDS dump time cause crash
Reviewed-by: hseigel, mseledtsov, ccheung
2018-03-06 22:08:30 -08:00
Coleen Phillimore
31cf80c688 8199137: StringInternSync test crashes in exit verification
Java_lang_String::equals(oop, oop) was buggy.

Reviewed-by: eosterlund, dholmes
2018-03-06 18:12:15 -05:00
Coleen Phillimore
2842bcc5c7 8199133: [BACKOUT] NMT: Enhance thread stack tracking
Reviewed-by: jwilhelm
2018-03-06 17:45:31 -05:00
Coleen Phillimore
4c3e072611 8198926: Move ClassLoaderData::_dependencies to ClassLoaderData::_handles
Move dependency creation and cleaned up logging

Reviewed-by: hseigel, jiangli
2018-03-06 17:15:16 -05:00
Dmitry Samersoff
87372c6236 8196590: Enable docker container related tests for linux AARCH64
Add test bits required for aarch64

Reviewed-by: mseledtsov, mbaesken, sspitsyn
2018-03-03 10:15:23 +00:00
Igor Ignatyev
c61f11a3ab 8199050: reenable concurrent execution of compiler tests
Reviewed-by: kvn
2018-03-05 13:10:31 -08:00
Ioi Lam
4c0a72bf60 8196121: runtime/appcds/ClassLoaderTest.java fails silently
Reviewed-by: mseledtsov, jiangli, ccheung
2018-03-04 22:24:06 -08:00
Calvin Cheung
efcc8d2558 8193434: [GRAAL] Graal classes are not loaded with -Xshare:dump
Allow loading of non-boot classes during CDS dumping but only add boot classes to the archive

Reviewed-by: kvn, iklam, jiangli
2018-03-02 17:33:59 -08:00
Vladimir Kozlov
5b3ff5aaab 8198789: [TESTBUG] CTW of java.base and java.desktop takes long time
Move long running tests into separate CTW task

Reviewed-by: iignatyev, dlong
2018-03-02 15:02:26 -08:00
Jiangli Zhou
f987dec395 8194759: Support caching class mirror objects
Support archiving mirror objects for shared classes in 'open' archive java heap region.

Reviewed-by: coleenp, iklam, mseledtsov, tschatzl
2018-03-02 17:25:55 -05:00
Daniil Titov
979d5b7986 8170541: serviceability/jdwp/AllModulesCommandTest.java fails intermittently on Windows and Solaris
Reviewed-by: sspitsyn, dholmes
2018-03-02 10:42:32 -08:00
Tobias Hartmann
f6f71565b7 8198826: -XX:+VerifyStack fails with fatal error: ExceptionMark constructor expects no pending exceptions
Save and restore pending exception while executing stack verification code at deoptimization.

Reviewed-by: kvn, dholmes
2018-03-02 11:06:51 +01:00
Zhengyu Gu
354249f51e 8191369: NMT: Enhance thread stack tracking
More precise thread stack tracking on Linux and Windows

Reviewed-by: coleenp, adinn, minqi
2018-03-01 16:35:36 -05:00
Vladimir Kozlov
d0ec59a9fb 8195632: [Graal] Introduce EagerJVMCI flag to force eager JVMCI initialization
Reviewed-by: thartmann
2018-03-01 09:03:30 -08:00
Tobias Hartmann
23c15b8f4c 8148871: Possible wrong expression stack depth at deopt point
Add a special case for invoke bytecodes and use the parameter size instead of the oop map in that case.

Reviewed-by: never, dlong, minqi
2018-03-01 08:58:27 +01:00
Marcus Larsson
98c77d44de 8168722: Unified Logging configuration output needs simplifying
Reviewed-by: rehn, lfoltan, hseigel
2018-02-28 22:38:53 +01:00
Jesper Wilhelmsson
3dfe4d61b3 Merge 2018-03-01 01:47:46 +01:00
Coleen Phillimore
a2818d9625 8191421: Deprecate PrintSafepointStatistics, PrintSafepointStatisticsTimeout and PrintSafepointStatisticsCount options
Reviewed-by: dholmes, hseigel
2018-02-28 14:20:24 -05:00
Jesper Wilhelmsson
cddf0c19ae 8198726: Quarantine SADebugDTest.java again
Reviewed-by: dcubed
2018-02-28 17:34:10 +01:00
Marcus Larsson
56dea21da2 8198825: Resolve missing review feedback for JDK-8170976
Reviewed-by: rehn, lfoltan, hseigel
2018-02-28 12:05:02 +01:00
Marcus Larsson
851718cee4 8153945: Track if log configuration has changed during runtime
Reviewed-by: lfoltan, hseigel
2018-02-28 10:37:02 +01:00
Marcus Larsson
cb275ca384 8190346: improve unified JVM logging help message and warnings
Reviewed-by: lfoltan, rehn, hseigel
2018-02-28 09:30:06 +01:00
Ekaterina Pavlova
3b8d9ef239 8197453: Add support of extra problem list
Reviewed-by: iignatyev, jjg
2018-02-27 21:29:19 -08:00
Kim Barrett
d2ce0ae7d4 8196882: VS2017 Hotspot Defined vsnprintf Function Causes C2084 Already Defined Compilation Error
Add os::vsnprintf and os::snprintf.

Reviewed-by: lfoltan, stuefe, mlarsson
2018-02-27 18:17:57 -05:00
Jesper Wilhelmsson
1739105160 Merge 2018-02-25 04:59:43 +01:00
Leonid Mesnik
2471caab08 8197901: Crash during GC when logging level is debug
Reviewed-by: dholmes, coleenp
2018-02-23 13:55:49 -08:00
Igor Ignatyev
75d088ecc4 8198568: clean up test/hotspot/jtreg/ProblemList.txt
Reviewed-by: thartmann, gtriantafill
2018-02-22 13:16:06 -08:00
Vladimir Kozlov
4b482389bf 8198251: [Graal] compiler/intrinsics/bmi/verifycode tests fail with Graal on macos
BMI tests should be excluded from Graal JIT testing for now.

Reviewed-by: thartmann
2018-02-23 10:14:23 -08:00
Bob Vandette
c1359ec107 8197589: Update CPU count algorithm when both cpu shares and quotas are used
Reviewed-by: dholmes, mseledtsov
2018-02-23 10:17:35 -05:00
Roman Kennke
2fb89326ba 8198564: Multiple crashes on SPARC
Reviewed-by: dholmes, simonis, stefank
2018-02-23 12:47:36 +01:00
Christian Tornqvist
052e9233e2 8198551: Rename hotspot_tier1 test group to tier1
Reviewed-by: lfoltan, iignatyev
2018-02-22 14:58:01 -05:00
Robbin Ehn
5287d9a366 8197408: Bad pointer comparison and small cleanup in os_linux.cpp
Reviewed-by: bobv, stuefe
2018-02-27 14:15:30 +01:00
Marcus Larsson
899b64249c 8170976: [TESTBUG] LogTestFixture does not restore previous logging state
Reviewed-by: rehn, lfoltan, hseigel
2018-02-26 16:33:48 +01:00
Lois Foltan
6e70a69893 8198304: VS2017 (C4838, C4312) Various conversion issues with gtest tests
Introduce specific casts to fix multiple type cast conversion compilation errors.

Reviewed-by: gtriantafill, hseigel
2018-02-26 10:11:05 -05:00
Marcus Larsson
b9bc9f0be8 8198554: Add fuzzy matching for log levels and tags when parsing -Xlog
Reviewed-by: hseigel, coleenp
2018-02-26 09:34:20 +01:00
Ioi Lam
d050bedee8 8195065: runtime/appcds/ProhibitedPackage.java intermittent failure
Reviewed-by: mseledtsov
2018-02-24 22:42:37 -08:00
Harold Seigel
7d1735efbb 8184289: Obsolete -XX:+UnsyncloadClass and -XX:+MustCallLoadClassInternal options
Add comments, fix a small issue with the boot loader, and add an assert.

Reviewed-by: coleenp, alanb, acorn, dholmes
2018-02-21 11:18:52 -05:00
Stefan Karlsson
08193e2dfb 8198225: os::attempt_reserve_memory_at records memory as committed
Reviewed-by: shade, zgu, stuefe
2018-02-21 12:40:07 +01:00
Stefan Karlsson
f1540011d0 8196405: [REDO] NMT: add_committed_regions doesn't merge succeeding regions
Reviewed-by: eosterlund, coleenp, zgu
2018-02-21 12:40:05 +01:00
Per Lidén
0bf8fa1855 8198267: Allow GCId::current_raw() calls from non-NamedThreads
Reviewed-by: stefank, kbarrett
2018-02-21 07:46:40 +01:00
Marcus Larsson
29dd30e010 8196783: Refactor LogTagLevelExpression into separate classes
Reviewed-by: rehn, pliden
2018-02-19 09:46:10 +01:00
Marcus Larsson
8cf755c120 8176298: Log tags in -Xlog:help not sorted
Reviewed-by: ecaspole, gtriantafill, stuefe
2018-02-19 09:16:04 +01:00
Jesper Wilhelmsson
aa9cf33c1e Merge 2018-02-19 04:50:50 +01:00
Mandy Chung
4bb064c62d 8198249: Remove deprecated Runtime::runFinalizersOnExit and System::runFinalizersOnExit
Reviewed-by: dholmes, alanb, smarks
2018-02-23 12:10:56 -08:00
Sharath Ballal
a76221f5a7 8196930: [Testbug] serviceability/sa/ClhsdbFindPC.java fails to find expected output
Reviewed-by: dholmes, cjplummer
2018-02-16 10:10:14 +05:30
Ioi Lam
a74437edc9 8179249: Improve process output analysis in CDS tests
Added new API TestCommon.run(...).assertNormalExit(...), etc

Reviewed-by: mseledtsov
2018-02-14 07:08:25 -08:00
Zhengyu Gu
f47021e2ab 8193373: Cleanup ElfFile and family
Cleanup elf decoder and added test

Reviewed-by: minqi, coleenp
2018-02-14 17:20:59 -05:00
Calvin Cheung
26712bcb1b 8196920: VerifierTest_1A.java and VerifierTest_1B.java fail: assert(receiver_klass->is_subtype_of(static_receiver_klass)) failed: actual receiver must be subclass of static receiver klass
Add an unverifiable method to the test class

Reviewed-by: dholmes, iklam
2018-02-14 10:32:19 -08:00
Jesper Wilhelmsson
51ab999e0e Merge 2018-02-13 23:38:34 +01:00
Roland Westrelin
4f8c5b6949 8197563: assert(is_Loop()) crash in PhaseIdealLoop::try_move_store_before_loop()
Don't move store out of the loop if head is not a LoopNode.

Reviewed-by: kvn, thartmann
2018-02-13 16:57:01 +01:00
Jesper Wilhelmsson
9beff15bed Merge 2018-02-10 09:25:35 +01:00
Kim Barrett
a25a95120e 8196083: Avoid locking in OopStorage::release
Defer release list updates to later allocate/delete operations.

Reviewed-by: coleenp, eosterlund
2018-02-08 17:23:43 -05:00
Coleen Phillimore
789e827f1a 8196806: Deprecate VMThreadHintNoPreempt and CompilerThreadHintNoPreempt
Reviewed-by: dholmes, hseigel
2018-02-08 15:21:59 -05:00
Zhengyu Gu
934390b571 8196923: [REDO] NMT: Report array class count in NMT summary
Added instance and array class counters in NMT summary report

Reviewed-by: minqi, stuefe, coleenp
2018-02-08 13:21:22 -05:00
Igor Ignatyev
8d72dcd040 8197113: combine multiple @key tags in jtreg tests
Reviewed-by: hseigel, goetz
2018-02-08 08:38:42 -08:00
Goetz Lindenmaier
507c62fc76 8197405: Improve messages of AbstractMethodErrors and IncompatibleClassChangeErrors
Reviewed-by: coleenp, dholmes, mdoerr, njian
2018-02-08 09:23:49 +01:00
Mikhailo Seledtsov
eeaf00be4f Merge 2018-02-07 13:31:13 -08:00
Alex Menkov
d26069837f 8196977: add test for JDK-8161605
Reviewed-by: sspitsyn, mseledtsov
2018-02-07 12:55:47 -08:00
Matthias Baesken
b68ed88ffb 8196062: Enable docker container related tests for linux ppc64le
Also fix cgroup subsystem recognition

Reviewed-by: goetz, dsamersoff, bobv
2018-02-07 16:16:50 +01:00
Vladimir Kozlov
0e1817736c 8196726: compiler/inlining/InlineAccessors.java test failed
Reviewed-by: thartmann
2018-02-06 09:35:05 -08:00
Lance Andersen
987c3a2d87 8190378: Removal of CORBA and Java EE modules
Reviewed-by: rriggs, alanb, mchung, erikj, goetz
2018-02-10 07:06:16 -05:00
Jesper Wilhelmsson
dd416bbf33 8196924: [BACKOUT] NMT: Report array class count in NMT summary
Reviewed-by: dholmes
2018-02-07 03:43:29 +01:00
Zhengyu Gu
41ace19206 8193184: NMT: Report array class count in NMT summary
Report array class and instance class count in NMT summary report

Reviewed-by: coleenp, minqi
2018-02-06 08:24:36 -05:00
Vladimir Kozlov
ba9f9457dd 8196726: compiler/inlining/InlineAccessors.java test failed
Reviewed-by: thartmann
2018-02-06 09:35:05 -08:00
Jesper Wilhelmsson
d7dd9d1027 Merge 2018-02-05 23:12:03 +01:00
Jesper Wilhelmsson
44ab590f44 Merge 2018-02-05 23:12:03 +01:00
Daniel Stewart
6f98c021d1 8196521: [Testbug] serviceability/sa/ClhsdbWhere.java fails to find method 'waitForReferencePendingList' in output
Reviewed-by: dholmes, sballal
2018-02-06 14:11:47 +05:30
Daniel Stewart
753e4ed499 8196361: JTReg failure: serviceability/sa/ClhsdbInspect.java
Modified test search strings to those guaranteed to exist in the passing cases.

Reviewed-by: dholmes, jgeorge
2018-02-06 11:43:13 +05:30
David Holmes
b7c0ee5812 8196657: [Testbug] TestOptionsWithRanges will fail for newly obsoleted flags that have not yet been removed
Reviewed-by: kbarrett, tschatzl
2018-02-05 06:42:42 -05:00
Tobias Hartmann
9eb320a418 8195731: [Graal] runtime/SharedArchiveFile/serviceability/transformRelatedClasses/TransformSuperSubTwoPckgs.java intermittently fails with Graal JIT
Print detailed error if class transformation fails. Exclude tests from Graal testing.

Reviewed-by: kvn, dholmes, sspitsyn
2018-02-05 08:08:01 +01:00
Tobias Hartmann
38e8a07f05 8196608: [Graal] compiler/uncommontrap/TestUnstableIfTrap.java fails in Graal JIT mode
Exclude test from Graal testing.

Reviewed-by: kvn, epavlova
2018-02-05 07:14:24 +01:00
David Holmes
1c318a676e 8196550: [Testbug] runtime/appcds/MultiReleaseJars.java fails on JDK 11
Reviewed-by: alanb, iklam, ccheung
2018-02-04 21:00:19 -05:00
Lana Steuck
94aa298a46 Merge 2018-02-02 02:55:00 +00:00
David Holmes
085c643eec 8196534: [Testbug] serviceability/dcmd/jvmti/*DcmdTest tests can't tolerate unrelated warnings
Reviewed-by: sspitsyn
2018-02-01 21:03:37 -05:00
Lana Steuck
414e05f6d7 Merge 2018-02-02 01:52:03 +00:00
Paul Sandoz
5dc2184391 8196583: Update jib and test jtreg version to 4.2 b12
Reviewed-by: mchung, lfoltan
2018-02-01 11:24:39 -08:00
Calvin Cheung
ea5f35759b 8196124: [testbug] runtime/appcds/jigsaw/classpathtests/DummyClassesInBootClassPath.java passes despite of error
Create another archive with whitebox.jar in the -Xbootclasspath/a; check output from TestCommon.execCommon().

Reviewed-by: iklam, mseledtsov
2018-02-01 10:55:27 -08:00
Roland Westrelin
d244b3ccd1 8196296: Lucene test crashes C2 compilation
Prevent merging of back to back ifs if one is a counted loop end.

Reviewed-by: kvn, thartmann
2018-01-30 09:08:44 +01:00
Christian Tornqvist
4d25aec1b4 8196197: Enable the make system to calculate concurrency for JDK tests
Reviewed-by: erikj, tbell
2018-01-29 08:19:37 -05:00
Erik Helin
73388668cd 8195158: Concurrent System.gc() is "upgraded" to stop-the-world System.gc()
Reviewed-by: sjohanss, eosterlund
2018-01-17 19:05:58 +01:00
Jesper Wilhelmsson
fc1b01b9a2 Merge 2018-01-13 02:56:22 +01:00
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00
Lana Steuck
aad1a3592c Merge 2018-01-16 22:24:20 +00:00
Roland Westrelin
2067aa56eb 8193597: sun/nio/cs/TestStringCoding.java fails intermittently with getBytes(csn) failed -> GBK
Should not change loop limit check of outer loop.

Reviewed-by: thartmann
2018-01-15 09:19:53 +01:00
Roland Westrelin
bf92da2c82 8194914: Compilation fails with "node not on backedge" in OuterStripMinedLoopNode::adjust_strip_mined_loop
Modified assert which is too strong.

Reviewed-by: thartmann
2018-01-15 09:17:25 +01:00
Daniel Stewart
99cb8d9af1 8194762: JTReg failure of "runtime/NMT/PrintNMTStatistics.java"
Reviewed-by: dholmes, zgu
2018-01-11 20:25:13 -05:00
Thomas Schatzl
3be36b20e4 8180280: [TESTBUG] Test for JDK-8180048
Add test at is executed only at higher tiers to allow more time for execution.

Reviewed-by: kbarrett, eosterlund
2018-01-11 11:05:17 +01:00
Thomas Schatzl
6e9f44c74c 8137099: G1 needs to "upgrade" GC within the safepoint if it can't allocate during that safepoint to avoid OoME
During a minor GC, if memory allocation fails, start a full GC within the same VM operation in the same safepoint. This avoids a race where the GC locker can prevent the full GC from occurring, and a premature OoME.

Co-authored-by: Axel Siebenborn <axel.siebenborn@sap.com>
Reviewed-by: ehelin, sjohanss, phh
2018-01-11 10:40:01 +01:00