Commit Graph

1065 Commits

Author SHA1 Message Date
Kim Barrett
5e0d5efe4c 8213352: Separate BufferNode allocation from PtrQueueSet
Move free-list management and allocation to new class.

Reviewed-by: tschatzl, sjohanss
2018-11-15 19:59:10 -05:00
Igor Ignatyev
e53852dd51 8213922: fix ctw stand-alone build
Reviewed-by: kvn, roland
2018-11-15 14:01:08 -08:00
Dean Long
971575362a 8210777: Update Graal
Reviewed-by: kvn
2018-11-15 09:04:07 -08:00
Daniil Titov
52bee8fe04 8203174: [Graal] JDI tests fail with Unexpected exception: com.sun.jdi.ObjectCollectedException
Reviewed-by: sspitsyn, cjplummer
2018-11-15 09:56:49 -08:00
Jean Christophe Beyler
d7d4bc9fdd 8213622: Windows VS2013 build failure - "'snprintf': identifier not found"
Replace snprintf with strlen and memcpy

Reviewed-by: dholmes, mvala, kbarrett
2018-11-14 12:25:15 -08:00
Erik Joelsson
03a8cdece5 8211727: Adjust default concurrency settings for running tests on Sparc
Reviewed-by: ctornqvi, tbell, mikael
2018-11-14 09:26:28 -08:00
David Holmes
458e0b864a 8213767: Remove the -Xconcurrentio flag and associated code
Reviewed-by: lfoltan, rehn
2018-11-14 04:56:43 -05:00
Vicente Romero
61082e6b25 8213480: update internal ASM version to 7.0
Reviewed-by: dholmes, iignatyev, alanb
2018-11-13 23:33:17 -05:00
Ioi Lam
147fc3ed13 8213346: Re-implement shared dictionary using CompactHashtable
Reviewed-by: jiangli
2018-11-07 19:40:27 -08:00
Serguei Spitsyn
a8a34764b2 8213814: build error in jtreg test jvmti/GetLocalVariable
Fix the build error by restoring the macro definitions for missed functions

Reviewed-by: dcubed
2018-11-13 13:42:39 -08:00
Ekaterina Pavlova
d32fed965b 8212221: GraalUnitTestLauncher should generate MX_SUBPROCESS_COMMAND_FILE
Reviewed-by: dlong
2018-11-13 12:52:37 -08:00
Serguei Spitsyn
f285fe93ee 8213525: new unit test GetLocalVariable/LocalVars is not stable
Comment out unstable checks in the test

Reviewed-by: jcbeyler, cjplummer
2018-11-13 12:11:34 -08:00
Kim Barrett
0050cd5776 8213440: Lingering INCLUDE_ALL_GCS in test_oopStorage_parperf.cpp
Remove INCLUDE_ALL_GCS conditionalization.

Reviewed-by: tschatzl
2018-11-13 13:45:43 -05:00
Thomas Schatzl
56db122656 8213307: G1 should clean up RMT with ClassUnloadingWithConcurrentMark
Re-enable cleanup of the ResolvedMethodTable after changes in JDK-8206423.

Reviewed-by: shade, coleenp
2018-11-13 11:45:16 +01:00
David Holmes
90cf7a7d12 8213718: [TEST] Wrong classname in vmTestbase/nsk/stress/except/except002 and except003
Reviewed-by: zgu, jcbeyler
2018-11-12 16:36:05 -05:00
Jean Christophe Beyler
1d340e454c 8212939: Add space after if/while/for/switch and parenthesis
Add spaces where needed

Reviewed-by: cjplummer, sspitsyn
2018-11-12 13:13:00 -08:00
Goetz Lindenmaier
b33edbf1ec 8213527: [testbug] Fix PrintMetaspaceDcmd test using UseCompressedOops for 32-bit
Reviewed-by: dholmes, mdoerr
2018-11-12 16:40:25 +01:00
Aleksey Shipilev
2df435e191 8211926: Catastrophic size_t underflow in BitMap::*_large methods
Reviewed-by: kbarrett, stuefe
2018-11-10 20:47:28 +01:00
Zhengyu Gu
83155e1ea6 8213707: [TEST] vmTestbase/nsk/stress/except/except011.java failed due to wrong class name
Fixed wrong class name in test

Reviewed-by: dholmes, jcbeyler
2018-11-10 09:06:33 -05:00
Daniel D. Daugherty
0f9e314cb5 8213704: increase default timeout for vmTestbase/metaspace/stressDictionary/StressDictionary.java
Reviewed-by: rehn
2018-11-09 15:19:33 -05:00
Dean Long
cc2fb36243 8213701: Add org.graalvm.compiler.debug.test.TimerKeyTest to problem list
Reviewed-by: kvn
2018-11-09 11:36:34 -08:00
Daniel D. Daugherty
6a9e3b9d29 8204529: gc/TestAllocateHeapAtMultiple.java fail with Agent 7 timed out
Increase default timeout to 360 seconds.

Reviewed-by: erikj, dholmes
2018-11-08 20:54:30 -05:00
Mikael Vidstedt
f69921f2fc 8213436: Obsolete UseMembar
Reviewed-by: kvn, dholmes, mdoerr, adinn
2018-11-08 11:45:13 -08:00
Bernard Blaser
1117fcb339 8213479: Missing x86_64.ad patterns for 8-bit logical operators with destination in memory
Reviewed-by: kvn
2018-11-08 15:11:32 +01:00
Roland Westrelin
b2541f90e6 8212673: jtreg/applications/runthese/RunThese30M.java fails in C2 with "assert(!had_error) failed: bad dominance"
Reviewed-by: thartmann, kvn, shade
2018-11-08 10:08:52 +01:00
Serguei Spitsyn
bf16c3a479 8080406: VM_GetOrSetLocal doesn't check local slot type against requested type
Provide possible type checks when LVT is absent

Reviewed-by: jcbeyler, cjplummer
2018-11-08 00:07:48 -08:00
Gary Adams
bb0212400f 8213245: Restoring nsk/jvmti/scenarios/hotswap tests from ProblemList.txt
Reviewed-by: jcbeyler, cjplummer, amenkov
2018-11-01 11:42:59 -04:00
Lois Foltan
9c5c6947cb 8212937: Parent class loader may not have a referred ClassLoaderData instance when obtained in Klass::class_in_module_of_loader
Fix to obtain the class loader's name from the java.lang.ClassLoader object instead of its ClassLoaderData.

Reviewed-by: coleenp, mbalao, sgehwolf
2018-11-07 13:54:22 -05:00
Dean Long
a9ae141836 8212605: Pure-Java implementation of AccessController.doPrivileged
Reviewed-by: dholmes, mullan, vlivanov, mchung, alanb, rriggs
2018-11-06 16:04:50 -08:00
Mandy Chung
9ffe7e1205 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Dean Long
88fec44661 8204521: compiler/jsr292/RedefineMethodUsedByMultipleMethodHandles.java fails trying to delete temp file
Reviewed-by: kvn
2018-11-05 22:22:49 -08:00
Kim Barrett
1e9d3b5358 8210986: Add OopStorage cleanup to ServiceThread
Service thread performs cleanup when notified.

Reviewed-by: coleenp, rehn
2018-11-05 18:27:14 -05:00
Roland Westrelin
b5d2e875f6 8209835: Aarch64: elide barriers on all volatile operations
Reviewed-by: aph, adinn
2018-11-05 12:53:55 +01:00
Roland Westrelin
03ef2b0df5 8211320: Aarch64: unsafe.compareAndSetByte() and unsafe.compareAndSetShort() c2 intrinsics broken with negative expected value
Reviewed-by: adinn, aph
2018-10-04 09:24:27 +02:00
Jean Christophe Beyler
e3a2417b63 8213246: Fix typo in vmTestbase failuire to failure
Fix failuire typo in two spots

Reviewed-by: mikael, dcubed, iignatyev
2018-11-03 12:37:55 -07:00
Ioi Lam
51f2d9801b 8211336: [TESTBUG] appcds tests with incorrect usage of -XX:+UseStringDeduplication
Reviewed-by: dholmes, ccheung, mseledtsov
2018-10-29 14:01:46 -07:00
Igor Ignatyev
bf800514ff 8213337: windows-x64-slowdebug build is broken by 8177708
Reviewed-by: dholmes
2018-11-02 23:44:45 -07:00
Jiangli Zhou
4b813da8c8 8209564: runtime/appcds/CDSandJFR.java timeout on tier6 on sparc
Set timeout 500 in CDSandJFR.java

Reviewed-by: dcubed
2018-11-02 19:30:31 -04:00
Igor Ignatyev
35871a8ca1 8213058: remove ExecuteInternalVMTests and VerboseInternalVMTests flags
Reviewed-by: erikj, dholmes, ihse
2018-11-02 16:27:55 -07:00
Igor Ignatyev
de6f5b33ed 8177708: Convert TestReserveMemorySpecial_test to Gtest
Reviewed-by: gziemski, vlivanov
2018-11-02 16:26:11 -07:00
Ekaterina Pavlova
49a3af9513 8152988: [AOT] Update test batch definitions to include aot-ed java.base module mode into hs-comp testing
Reviewed-by: kvn, erikj, ihse
2018-11-02 14:00:29 -07:00
Daniel D. Daugherty
d17f8229f7 8213308: ProblemList runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java
Reviewed-by: ccheung, darcy
2018-11-02 12:49:42 -04:00
Doug Simon
3d2f28b540 8212934: [JVMCI] do not propagate resolution error in HotSpotResolvedJavaFieldImpl.getType
Reviewed-by: kvn
2018-11-01 11:23:12 +01:00
Igor Ignatyev
0c061174b6 8177711: Convert TestVirtualSpaceNode_test to GTest
Reviewed-by: jwilhelm
2018-10-31 19:56:51 -07:00
Calvin Cheung
fc19077b52 8213000: Obsolete the IgnoreUnverifiableClassesDuringDump vm option
Remove code referencing the IgnoreUnverifiableClassesDuringDump

Reviewed-by: dholmes, jiangli
2018-10-31 14:00:51 -07:00
Bob Vandette
c656dde507 Merge 2018-10-31 16:27:31 -04:00
Bob Vandette
f7ebca2763 8213204: ReservedStackTest and ReservedStackTestCompiler tests fail on windows
Reviewed-by: fparain, dcubed, jwilhelm
2018-10-31 16:27:01 -04:00
Coleen Phillimore
d302072f50 8213211: [BACKOUT] Allow Klass::_subklass and _next_sibling to have unloaded classes
Reviewed-by: jiangli, jwilhelm
2018-10-31 14:38:14 -04:00
Bob Vandette
f161afb806 Merge 2018-10-31 10:48:13 -04:00
Thomas Schatzl
0d19f0bb51 6490394: G1: Allow heap shrinking / memory unmapping after reclaiming regions during Remark
Reviewed-by: sjohanss, sangheki
2018-10-31 13:43:57 +01:00
Robbin Ehn
80aa38305d 8212933: Thread-SMR: requesting a VM operation whilst holding a ThreadsListHandle can cause deadlocks
Reviewed-by: eosterlund, dcubed, sspitsyn, dholmes
2018-10-31 08:09:45 +01:00
Kim Barrett
3185dcf0f2 8212827: GlobalCounter should support nested critical sections
Support nested critical sections.

Reviewed-by: eosterlund, rehn, tschatzl
2018-10-30 18:06:35 -04:00
Bob Vandette
05027c124c 8209093: JEP 340: One AArch64 Port, Not Two
Reviewed-by: dholmes, erikj, mikael, shade, avoitylov, bulasevich
2018-10-30 10:39:19 -04:00
Harold Seigel
0399760d7f 8213148: JDK build fails because of missing #includes
Add missing #includes

Reviewed-by: dcubed
2018-10-30 09:13:00 -04:00
Calvin Cheung
e0911eacd6 8209566: [TESTBUG] runtime/appcds/jigsaw/modulepath/JvmtiAddPath.java timeout on tier6 on sparc
Increased the timeout from 120s (default) to 240s

Reviewed-by: dcubed, mseledtsov
2018-10-29 11:05:45 -07:00
Igor Ignatyev
93c891c51b 8177710: Convert TestMetaspaceUtils_test to GTest
Reviewed-by: tschatzl
2018-10-29 14:04:44 -07:00
Kirill Zhaldybin
810ba0eb12 8157728: Convert GCTimer_test to GTest
Reviewed-by: tschatzl, jcbeyler, iignatyev
2018-10-29 14:04:42 -07:00
Calvin Cheung
efce2c0397 8212154: [TESTBUG] CheckArchivedModuleApp fails with NPE when JVMCI is absent
Added a null check on wb.getBooleanVMFlag("EnableJVMCI").

Reviewed-by: hseigel, jiangli
2018-10-29 13:58:29 -07:00
Coleen Phillimore
6a045adbed 8212958: Allow Klass::_subklass and _next_sibling to have unloaded classes
Don't return unloaded klasses. Make sure access is protected by Compile_lock.

Reviewed-by: eosterlund, dlong
2018-10-29 10:21:34 -04:00
Harold Seigel
71637b00c7 8212997: [TESTBUG] Remove defmeth tests for class file versions 50 and 51
Remove the unneeded tests.  Keep the tests for class file versions 49 and 52.

Reviewed-by: acorn, coleenp
2018-10-29 08:38:59 -04:00
Harold Seigel
67d76fe937 8192864: defmeth tests can hide failures
Add a call to addFailureCount() to record previously hidden failures.

Reviewed-by: lfoltan, coleenp
2018-10-26 08:23:52 -04:00
Tom Rodriguez
ff4cf4f40b 8212956: [JVCMI] SpeculationReason should maintain identity
Reviewed-by: kvn
2018-10-25 19:00:46 -07:00
David Holmes
3837f1abc1 8210242: vmTestbase/nsk/stress/jni/jnistress001.java crashes with EXCEPTION_ACCESS_VIOLATION on windows-x86
Non-NUL-terminated string was passed to %s - use %.*s to specify the actual length.

Reviewed-by: lfoltan, hseigel
2018-10-25 19:12:39 -04:00
Jean Christophe Beyler
589b596bec 8212884: Remove the assignments in ifs for vmTestbase/[a-s]
Extract assignments from if statements in vmTestbase

Reviewed-by: cjplummer, sspitsyn
2018-10-25 14:23:26 -07:00
Pavel Punegov
a7aa770b9a 8164546: Convert DirectivesParser_test to GTest
Reviewed-by: kvn, iignatyev, neliasso
2018-10-25 11:18:24 -07:00
Dean Long
fb3ab945a6 8212978: Add RedefineMethodUsedByMultipleMethodHandles.java to problem list
Reviewed-by: kvn
2018-10-25 09:20:54 -07:00
Jean Christophe Beyler
be312edc2a 8212770: Remove spaces before/after () for vmTestbase/jvmti/[s-u]
Remove spaces before/after ()

Reviewed-by: amenkov, cjplummer
2018-10-25 08:18:42 -07:00
Ioi Lam
93395f6a9e 8212200: assert when shared java.lang.Object is redefined by JVMTI agent
Reviewed-by: dholmes, jiangli, hseigel, lfoltan, sspitsyn
2018-10-17 15:57:10 -07:00
Daniel D. Daugherty
daf4ad38ab 8212220: add code to verify results to metaspace/stressDictionary/StressDictionary.java
Also change the test's default timeout to 5 minutes.

Reviewed-by: dholmes, stuefe
2018-10-24 11:04:25 -04:00
Thomas Stuefe
5dac22b8eb 8212913: (Nested)ThreadsListHandleInErrorHandlingTest need to disable ShowRegistersOnAssert
Reviewed-by: dholmes, mdoerr
2018-10-24 14:59:21 +02:00
Tobias Hartmann
18d4a423f9 8150552: Remove -XX:+AggressiveOpts
Removed the -XX:+AggressiveOpts flags and its usages.

Reviewed-by: ecaspole, sjohanss
2018-10-24 12:39:37 +02:00
Doug Simon
272eb6824b 8212817: [JVMCI] ResolvedJavaMethod.isInVirtualMethodTable throws InternalError
Reviewed-by: never, iveresov
2018-10-23 18:49:32 +02:00
Jean Christophe Beyler
db6696837e 8212771: Remove remaining spaces before/after () for vmTestbase
Remove spaces around ()

Reviewed-by: phh, sspitsyn
2018-10-23 09:43:16 -07:00
Jean Christophe Beyler
e6d66056ab 8212535: Remove spaces before/after () for vmTestbase/[a-j]*
Remove white spaces from tests

Reviewed-by: amenkov, cjplummer, phh, sspitsyn
2018-10-22 19:31:41 -07:00
Mandy Chung
5e6d6b8642 8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
Calvin Cheung
522608c0a7 8210990: [TESTBUG] Some CDS tests don't respect JVM variant being tested
Use CDSTestUtils.run() instead of CDSTestUtils.executeAndLog().

Reviewed-by: iklam
2018-10-22 14:31:10 -07:00
Jean Christophe Beyler
a623db2148 8212148: Remove remaining NSK_CPP_STUBs
Remove remaining macros

Reviewed-by: amenkov, phh, iignatyev
2018-10-22 12:43:15 -07:00
Igor Ignatyev
f1e1e1fe6f 8177709: Convert TestVirtualSpace_test to GTest
Reviewed-by: stuefe, jcbeyler
2018-10-19 16:29:45 -07:00
Kirill Zhaldybin
4c8b5f840c 8171097: Convert TestReservedSpace_test to Gtest
Reviewed-by: stuefe, jcbeyler, iignatyev
2018-10-19 16:29:43 -07:00
Tobias Hartmann
21f57051c4 8212553: [TESTBUG] TestTrichotomyExpressions.java times out with Graal as JIT
Removed -Xcomp and increased timeout.

Reviewed-by: kvn
2018-10-18 17:50:49 +02:00
Jean Christophe Beyler
d63acb557c 8211899: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/scenarios/[E-M]
Remove the NSK_CPP_STUB macros from tests

Reviewed-by: amenkov, phh, sspitsyn
2018-10-17 21:28:11 -07:00
Aleksey Shipilev
b6e77e4285 8212177: Epsilon alignment adjustments can overflow max TLAB size
Reviewed-by: pliden, tschatzl
2018-10-16 17:43:30 +02:00
Bob Vandette
86a0c85f6b Merge 2018-10-16 09:55:30 -04:00
Bob Vandette
6a7fdffe3b 8211740: [AOT] -XX:AOTLibrary doesn't accept windows path
Reviewed-by: kvn, iignatyev
2018-10-16 09:54:28 -04:00
Tobias Hartmann
6b83ac96ab 8210215: C2 should optimize trichotomy calculations
Ideal transformation to optimize trichotomic comparisons.

Reviewed-by: kvn, jrose
2018-10-16 14:17:19 +02:00
Jean Christophe Beyler
7afa70096a 8212083: Handle remaining gc/lock native code and fix two strings
Migrate code to using wrapping JNI for exceptions

Reviewed-by: phh, tschatzl
2018-10-15 14:55:17 -07:00
Jean Christophe Beyler
e431f6a418 8212082: Remove the NSK_CPP_STUB macros for remaining vmTestbase/jvmti/[sS]*
Remove NSK_CPP_STUB macros from the tests

Reviewed-by: amenkov, phh
2018-10-14 19:07:34 -07:00
Goetz Lindenmaier
1d8a27195c 8211931: [ppc][testbug] runtime/jni/terminatedThread/TestTerminatedThread.java fails as threads don't terminate immediately
Reviewed-by: dholmes, mdoerr
2018-10-12 08:33:18 +02:00
Jean Christophe Beyler
b68500521e 8211432: [REDO] Handle JNIGlobalRefLocker.cpp
Adding a JNI verification wrapper for tests

Reviewed-by: amenkov, sspitsyn, phh
2018-10-11 09:30:10 -07:00
Harold Seigel
2e5653c166 8211821: PrintStringTableStatistics crashes JVM
During JVM exit, print the Symbol and String tables before current thread gets deleted.

Reviewed-by: iklam, dholmes
2018-10-11 11:31:37 -04:00
Harold Seigel
945623c998 8079784: Unexpected IllegalAccessError when trying access InnerClasses attribute
Prevent classes in the InnerClasses attribute from being loaded unless they are actually being accessed.

Reviewed-by: dholmes, lfoltan
2018-10-11 10:11:18 -04:00
Erik Joelsson
232912a6ca 8212028: Use run-test makefile framework for testing in Oracle's Mach5
Reviewed-by: ihse
2018-10-15 11:36:20 -07:00
Roland Westrelin
17f301f734 8210389: C2: assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc
Reviewed-by: kvn, thartmann
2018-09-18 20:41:17 +02:00
Aleksey Shipilev
2b21c73b2d 8212005: Epsilon elastic TLAB sizing may cause misalignment
Reviewed-by: rkennke, tschatzl
2018-10-11 10:42:17 +02:00
Christian Tornqvist
b35e7feb5a 8212008: Use of TREAT_EXIT_CODE_1_AS_0 hide problems with jtreg Java
Reviewed-by: erikj
2018-10-10 11:47:01 -07:00
Jean Christophe Beyler
efa175f20e 8211801: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/scenarios/[A-E]
Remove the NSK_CPP_STUB macros

Reviewed-by: amenkov, sspitsyn
2018-10-10 11:20:21 -07:00
David Holmes
8351e4db3e 8211065: Private method check in linkResolver is incorrect
Reviewed-by: acorn, lfoltan
2018-10-09 20:19:22 -04:00
Jean Christophe Beyler
11da699d9e 8211905: Remove multiple casts for EM06 file
Remove multiple casts for EM06 file

Reviewed-by: sspitsyn, cjplummer
2018-10-09 13:22:19 -07:00
Gary Adams
7b7315dbed 8201603: MonitorContendedEnter failure in nsk/jvmti/scenarios/contention/TC02/tc02t001
Reviewed-by: cjplummer
2018-10-08 14:57:07 -04:00
Goetz Lindenmaier
182a991df2 8211856: [ppc, s390] ProblemList some failing tests
Reviewed-by: kvn, mdoerr
2018-10-09 16:03:56 +02:00
Jean Christophe Beyler
61f453edf7 8211782: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[I-S]*
Remove the NSK_CPP_STUB macros

Reviewed-by: amenkov, sspitsyn
2018-10-08 19:44:44 -07:00
Jean Christophe Beyler
85c6642e38 8211131: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[G-I]*
Remove the NSK_CPP_STUB macros

Reviewed-by: amenkov, sspitsyn
2018-10-08 13:56:28 -07:00
Jean Christophe Beyler
57622ed115 8211261: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[A-G]*
Remove the NSK_CPP_STUB macros

Reviewed-by: amenkov, cjplummer
2018-10-08 13:54:43 -07:00
Gary Adams
40d81d4bcc 8036026: nsk/jvmti/scenarios/capability/CM02/cm02t001 fails intermittently
Reviewed-by: cjplummer, dcubed
2018-10-08 07:18:40 -04:00
Vaibhav Choudhary
2223e083ba 8210376: [TESTBUG] @requires vm.cds should be replaced by @requires vm.cds.archived.java.heap and documentation is required for vm.gc==null
@requires vm.cds should be replaced by @requires vm.cds.archived.java.heap and documentation is required for vm.gc==null

Reviewed-by: iklam, jiangli
2018-10-05 18:25:15 +01:00
Jiangli Zhou
57b516dd0e 8202951: Implementation of JEP 341: Default CDS Archives
8210592: Convert CDS-mode test sets in tier5 and tier6 to non-CDS-mode tests
8209739: [TESTBUG] javax/imageio/plugins/png/ItxtUtf8Test.java fails with OutOfMemoryError when running in CDS mode

Generate the default CDS archive at JDK build time.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Reviewed-by: erikj, ihse, dholmes, iklam, ccheung, mseledtsov
2018-10-05 18:56:11 -04:00
Jean Christophe Beyler
a87e8e52ea 8211123: GC Metaspace printing after full gc
Move GC printing to after usage is calculated

Co-authored-by: Jiapeng Li <nijiaben@perfma.com>
Reviewed-by: tschatzl, stuefe
2018-10-05 13:38:03 -07:00
Harold Seigel
d872314ef3 8211438: [Testbug] runtime/XCheckJniJsig/XCheckJSig.java looks for libjsig in wrong location
Remove the os_arch string and JRE path from the test.  Also add JNIEXPORT to libjsig symbols so dlsym can find them

Reviewed-by: dholmes, lfoltan
2018-10-05 08:50:49 -04:00
Mandy Chung
73a6313038 8181443: Replace usages of jdk.internal.misc.Unsafe with MethodHandles.Lookup.defineClass
Reviewed-by: alanb, egahlin
2018-10-04 08:45:21 -07:00
Vladimir Kozlov
0899668970 8202359: [GRAAL] compiler/uncommontrap/TestDeoptOOM.java failed with OutOfMemoryError
Exclude this test from running with Java Graal

Reviewed-by: iveresov
2018-10-03 14:53:05 -07:00
Vladimir Kozlov
daf3cd17c4 8211392: compiler/profiling/spectrapredefineclass_classloaders/Launcher.java times out in JDK12 CI
Use default compile threshold for these tests

Reviewed-by: thartmann
2018-10-03 10:38:30 -07:00
David Holmes
a3cd6a1a70 8188764: Obsolete AssumeMP and then remove all support for non-MP builds
Reviewed-by: mikael, mdoerr, bulasevich, eosterlund
2018-10-03 03:41:57 -04:00
Mikael Vidstedt
8e53d1b5dc 8211350: Remove jprt support
Reviewed-by: dholmes, erikj, mchung, alanb, jjg
2018-10-02 22:36:08 -07:00
Calvin Cheung
40b75053e4 8211287: ClassPathTests.java fails due to "Unable to map MiscData shared space at required address."
Catch the InvocationTargetException and rethrow exception based on the cause

Reviewed-by: jiangli, iklam
2018-10-02 20:52:40 -07:00
Mikael Vidstedt
1cca59019b 8211364: Remove expired flags
Reviewed-by: dholmes, egahlin
2018-10-02 15:01:25 -07:00
Ioi Lam
568e8beda6 8209946: [TESTBUG] CDS tests should use "@run driver"
Reviewed-by: ccheung, jiangli, mseledtsov
2018-10-02 14:32:33 -07:00
Igor Ignatyev
ab8c7f710c 8211171: move JarUtils to top-level testlibrary
Reviewed-by: alanb
2018-10-01 14:54:46 -07:00
Roman Kennke
b263449b15 8211129: compiler/whitebox/ForceNMethodSweepTest.java fails after JDK-8132849
Reviewed-by: eosterlund, thartmann
2018-10-01 20:23:56 +02:00
Mikael Vidstedt
0746fffe5c 8211291: Backout JDK-8210842 Handle JNIGlobalRefLocker.cpp
Reviewed-by: kbarrett, iignatyev, jcbeyler
2018-09-28 14:53:41 -07:00
Jean Christophe Beyler
cc4436e2b9 8210842: Handle JNIGlobalRefLocker.cpp
Add checking for JNI calls via a new ExceptionCheckingJniEnv

Reviewed-by: sspitsyn, amenkov, dholmes, mikael
2018-09-28 13:01:28 -07:00
Gary Adams
c45eacbd27 8208473: [TESTBUG] nsk/jdb/exclude/exclude001/exclude001.java is timing out on solaris-sparc again
Reviewed-by: cjplummer, amenkov
2018-09-28 14:31:36 -04:00
Matthias Baesken
5d3b3156e8 8211208: make AllocateHeapAt an unsupported option on AIX
Reviewed-by: shade, tschatzl
2018-09-27 17:13:07 +02:00
Sharath Ballal
1570028352 8207745: serviceability/sa/TestJmapCore.java times out parsing a 4GB hprof file
Reviewed-by: dholmes, jgeorge
2018-09-28 14:31:58 +05:30
Jean Christophe Beyler
b20e2cd963 8211036: Remove the NSK_STUB macros from vmTestbase for non jvmti
Remove the NSK_STUB macros from code outside of the jvmti subfolder

Reviewed-by: iignatyev, amenkov, dholmes
2018-09-27 15:56:40 -07:00
Gary Adams
c0fd523c05 8210984: [TESTBUG] hs203t003 fails with "# ERROR: hs203t003.cpp, 218: NSK_CPP_STUB2 ( ResumeThread, jvmti, thread)"
Reviewed-by: cjplummer, jcbeyler
2018-09-27 07:33:13 -04:00
Calvin Cheung
5108d2e1dd 8202282: [TESTBUG] appcds TestCommon.makeCommandLineForAppCDS() can be removed
Removed the unnecessary makeCommandLineForAppCDS() method and its usage

Reviewed-by: iklam, jiangli
2018-09-26 18:21:26 -07:00
Ekaterina Pavlova
b6fb9fccdd 8199885: [Graal] org.graalvm.compiler.core.test.CountedLoopTest fails with "ControlFlowAnchor should never be cloned in the same graph"
Reviewed-by: kvn
2018-09-26 12:47:38 -07:00
Coleen Phillimore
06a1ea846a 8210856: Move InstanceKlass DependencyContext cleaning to SystemDictionary::do_unloading()
Already walk classes in ClassLoaderData::unload so generalize to also clean nmethod dependencies.

Reviewed-by: eosterlund, dlong, vlivanov
2018-09-26 14:01:48 -04:00
Mikael Vidstedt
9d83c060db 8210892: Deprecate TLABStats
Reviewed-by: pliden, tschatzl
2018-09-26 10:37:50 -07:00
Igor Ignatyev
ffe7832042 8211134: problem list compiler/whitebox/ForceNMethodSweepTest.java
Reviewed-by: kvn
2018-09-25 18:26:46 -07:00
Jean Christophe Beyler
64099fc1cc 8210689: Remove the multi-line old C style for string literals
Remove the multi-line old C style and prefer C++ multi-line

Reviewed-by: amenkov, cjplummer
2018-09-25 09:34:51 -07:00
Daniel D. Daugherty
9af302152c 8211103: ProblemList runtime/XCheckJniJsig/XCheckJSig.java on MacOS X
Reviewed-by: mikael, dholmes
2018-09-25 11:31:55 -04:00
David Holmes
bc6fb26d02 8211045: [Testbug] Fix for 8144279 didn't define a test case!
Add missing file from original commit

Reviewed-by: shade, sgehwolf
2018-09-24 12:18:51 -04:00
Gary Adams
db61465761 8208471: nsk/jdb/unwatch/unwatch002/unwatch002.java fails with "Prompt is not received during 300200 milliseconds"
Reviewed-by: cjplummer, amenkov
2018-09-21 08:13:55 -04:00
Chris Plummer
7dd0aaa430 8210987: Extra newlines on Windows when running nsk jdb tests
Fix skipping over newlines

Reviewed-by: dholmes, jcbeyler, amenkov
2018-09-22 14:12:48 -07:00
Igor Ignatyev
82ed2a5fc0 8210894: remove jdk/testlibrary/Asserts
Reviewed-by: serb
2018-09-21 14:50:06 -07:00
Roland Westrelin
04c961659f 8210390: C2 still crashes with "assert(mode == ControlAroundStripMined && use == sfpt) failed: missed a node"
Reviewed-by: thartmann, kvn
2018-09-12 16:38:13 +02:00
Arthur Eubanks
977a178e0c 8209817: stack is executable when building with Clang on Linux
Reviewed-by: dholmes, martin, mikael, ihse
2018-09-19 10:51:06 -07:00
Alan Bateman
9c70e26c14 8210496: Improve filtering for classes with security sensitive fields
Reviewed-by: plevart, mchung
2018-09-19 08:49:07 +01:00
Coleen Phillimore
a3931a76f6 8210861: Move assert to help diagnose rare RedefineStress crash
Assert that Method being marked on stack hasn't been missed by previous metadata walk

Reviewed-by: lfoltan
2018-09-18 16:11:36 -04:00
Doug Simon
d31e1ca5a4 8210793: [JVMCI] AllocateCompileIdTest.java failed to find DiagnosticCommand.class
Reviewed-by: thartmann, kvn
2018-09-18 22:32:25 +02:00
Jiangli Zhou
b6180e668e 8210237: [TESTBUG]gc/stress/TestStressIHOPMultiThread.java fails with 'Unexpected exit from test [exit code: 1]' in CDS mode
Fix TestStressIHOPMultiThread to handle possible OutOfMemoryError.

Reviewed-by: ccheung, gziemski
2018-09-18 11:55:33 -04:00
Jean Christophe Beyler
bdf78f557a 8210700: Clean up JNI_ENV_ARG and factorize the macros for vmTestbase/jvmti/unit tests
Remove JNI_ENV macros from the remaining vmTestbase tests

Reviewed-by: amenkov, sspitsyn, dholmes, cjplummer
2018-09-17 19:48:35 -07:00
Jean Christophe Beyler
510336c210 8210481: Remove #ifdef cplusplus from vmTestbase
Remove all cplusplus ifdefs from vmTestbase

Reviewed-by: dholmes, iignatyev, cjplummer, sspitsyn
2018-09-17 19:36:09 -07:00
Vladimir Kozlov
7069bb6a72 8209574: [AOT] breakpoint events are generated in different threads does not meet expected count
Disable AOT when debugger is attached.

Reviewed-by: dlong
2018-09-17 13:43:22 -07:00
Jean Christophe Beyler
fddc4b8ccb 8210726: Fix up a few minor nits forgotten by JDK-8210665
Minor changes to 4 tests to make one-liners

Reviewed-by: cjplummer, iignatyev, sspitsyn
2018-09-17 09:07:40 -07:00
Igor Ignatyev
8b28ad6efe 8210732: remove jdk.testlibrary.Utils
Reviewed-by: alanb, jcbeyler
2018-09-14 14:02:57 -07:00
Gustavo Romero
a6d0d07957 8209972: [GRAAL] Don't run RTM tests with Graal
Reviewed-by: kvn, goetz
2018-09-14 15:32:22 -04:00
Gary Adams
18199b887f 8208468: [TESTBUG] nsk/jdb/locals/locals002: fails with "Prompt is not received during ... milliseconds"
Reviewed-by: cjplummer, amenkov
2018-09-13 07:46:41 -04:00
Calvin Cheung
fcc414655b 8190737: use unicode version of the canonicalize() function to handle long path on windows
Also calling CreateFileW in zip_util.c to handle long path

Reviewed-by: sherman, iklam
2018-09-14 11:17:25 -07:00