Commit Graph

180 Commits

Author SHA1 Message Date
Dean Long
cc6d60db4f 8230680: latest Graal unittests depend on jdk.internal.module
Reviewed-by: iignatyev
2019-09-06 14:54:33 -04: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
Erik Joelsson
8abeea8a0c 8221543: Indify-dependent microbenchmarks are broken
Reviewed-by: redestad
2019-05-23 08:57:24 -07:00
Daniil Titov
dc9f6b3991 8214545: sun/management/jmxremote/bootstrap tests hang in revokeall.exe on Windows
Reviewed-by: dholmes, amenkov, bulasevich, dfuchs, erikj
2019-05-22 09:06:24 -07:00
Jean Christophe Beyler
127d225d25 8223779: Build failure after 8223040 (Add a AsyncGetCallTrace test)
Fix a build flag for the AGCT test

Reviewed-by: cjplummer, sspitsyn
2019-05-13 20:45:03 -07:00
Severin Gehwolf
1f115c7f52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
Reviewed-by: alanb, mchung, erikj, ihse
2019-03-14 14:04:39 +01:00
Jean Christophe Beyler
4e2ebd3937 8223040: Add a AsyncGetCallTrace test
Add a AsyncGetCallTrace test

Reviewed-by: sspitsyn, dcubed
2019-05-08 15:36:10 -07:00
Jesper Wilhelmsson
75db2f7df9 8221598: Update Graal
Reviewed-by: kvn
2019-04-23 22:55:09 +02:00
Jean Christophe Beyler
fd3378a73e 8213501: Deploy ExceptionJniWrapper for a few tests
Add more tests to be using the wrapper

Reviewed-by: phh, amenkov, sspitsyn, dholmes, cjplummer
2019-04-23 08:11:38 -07:00
Mandy Chung
a6ad14cf07 8222082: Build of test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c still failing on Windows
Reviewed-by: alanb, dholmes
2019-04-07 18:09:06 +08:00
Mandy Chung
a5b9e0f7ba 8221530: Caller sensitive methods not handling caller = null when invoked by JNI code with no java frames on stack
Reviewed-by: alanb, dholmes, sundar
2019-04-06 21:16:40 +08:00
Jesper Wilhelmsson
c7219faf86 8218074: Update Graal
Reviewed-by: kvn
2019-03-12 19:17:42 +01:00
Erik Joelsson
ebcf4ca1e7 8220529: JDK-8220383 broke test image build
Reviewed-by: tbell
2019-03-12 12:12:01 -07:00
Erik Joelsson
2af935c800 8220383: Incremental build is broken and inefficient
Reviewed-by: tbell
2019-03-12 08:04:33 -07:00
Jorn Vernee
67c2e382d3 8219393: Add native library support for microbenchmarks
Reviewed-by: erikj
2019-02-19 23:02:41 +01:00
Magnus Ihse Bursie
208c58c862 8218431: Improved platform checking in makefiles
Reviewed-by: erikj
2019-02-07 12:35:45 +01:00
Claes Redestad
360f1421e8 8216275: Disable annotation processing lint warnings when building microbenchmarks
Reviewed-by: erikj, ecaspole
2019-01-07 17:09:17 +01:00
Dean Long
14c389333c 8214023: Update Graal
Reviewed-by: kvn
2018-12-08 00:56:10 -08:00
Priyanka Mangal
7c6cb8cd7e 8213362: [macOS] Could not find libjava.dylib error when initializing JVM via JNI_CreateJavaVM
Reviewed-by: alanb, ihse
2018-11-30 13:42:49 -08:00
Michael McMahon
4a77a08ca3 8211842: IPv6_supported wrongly returns false when unix domain socket is bound to fd 0
Reviewed-by: chegar, alanb
2018-11-30 10:29:58 +00:00
Claes Redestad
7a30c97753 8061281: Microbenchmark suite build support, directory layout and sample benchmarks
8061282: Migrate jmh-jdk-microbenchmarks into the JDK

Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Staffan Friberg <sfriberg@kth.se>
Reviewed-by: ecaspole, mchung, erikj, ihse
2018-11-16 23:39:51 +01:00
Dean Long
971575362a 8210777: Update Graal
Reviewed-by: kvn
2018-11-15 09:04:07 -08:00
Igor Ignatyev
8c47dc4a94 8209611: use C++ compiler for hotspot tests
Reviewed-by: vlivanov, ihse, erikj, jcbeyler
2018-08-28 14:37:34 -07:00
Severin Gehwolf
1ab91ea928 8208091: SA: jhsdb jstack --mixed throws UnmappedAddressException on i686
Be sure to use the same register index in native and Java code.

Reviewed-by: sballal, cjplummer, tbell
2018-07-23 18:08:46 +02:00
Ekaterina Pavlova
b037ff24a8 8205078: [Graal] org.graalvm.compiler.core.test.VerifyDebugUsageTest fails with "Expected exception: VerificationError"
Reviewed-by: kvn, dnsimon
2018-08-09 11:39:18 -07:00
David Holmes
e9ad46f26c 8205878: pthread_getcpuclockid is expected to return 0 code
Reviewed-by: cjplummer, amenkov, coleenp
2018-07-09 20:17:32 -04:00
Igor Ignatyev
487db1a3bb 8206088: 8205207 broke builds
Reviewed-by: ehelin, epavlova
2018-06-28 21:58:23 -07:00
Ekaterina Pavlova
992c9ee022 8205207: Port Graal unit tests under jtreg
Reviewed-by: kvn, erikj, iignatyev
2018-06-28 17:07:34 -07:00
Phil Race
f3f7c9878c Merge 2018-05-31 13:04:30 -07:00
Igor Ignatyev
91cff962f9 8199380: [TESTBUG] Open source VM testbase AOD tests
Reviewed-by: erikj, sspitsyn
2018-05-30 16:18:56 -07:00
Daniil Titov
de66432d4a 8203802: Jvmti test fails to build with VS2017
Reviewed-by: sspitsyn, erikj
2018-05-30 08:59:56 -07:00
Phil Race
5ff01c4163 Merge 2018-05-25 12:12:24 -07:00
Erik Joelsson
73c228a63a 8203795: Change default compiler on Windows to VS2017
Reviewed-by: ihse, prr
2018-05-25 20:47:20 +02:00
Igor Ignatyev
59ac4c2629 8199383: [TESTBUG] Open source VM testbase JVMTI tests
Reviewed-by: sspitsyn, erikj
2018-05-24 17:12:15 -07:00
Mikhailo Seledtsov
6b45a75b88 8199255: [TESTBUG] Open source VM testbase default methods tests
Open sourced default method tests

Reviewed-by: ccheung, iignatyev, erikj
2018-05-23 17:09:49 -07:00
Alan Snyder
d7e59b52c5 8194327: [macos] AWT windows have incorrect main/key window behaviors
Reviewed-by: serb, erikj
2018-05-16 16:46:51 -07:00
Igor Ignatyev
e48cfc709d 8199382: [TESTBUG] Open source VM testbase JDI tests
Reviewed-by: erikj, kvn, sspitsyn
2018-05-05 09:24:29 -07:00
Igor Ignatyev
47bc94b60e 8199375: [TESTBUG] Open source vm testbase monitoring tests
Reviewed-by: kvn, ihse, sspitsyn
2018-05-02 16:43:56 -07:00
Igor Ignatyev
08855df46a 8199643: [TESTBUG] Open source common VM testbase code
Reviewed-by: vlivanov, erikj, mseledtsov, gthornbr
2018-04-30 18:10:24 -07:00
Leonid Mesnik
5dcd1ced4c 8199271: [TESTBUG] open source VM testbase stress tests
Reviewed-by: mseledtsov, sspitsyn, erikj
2018-05-17 16:21:27 -07:00
Igor Ignatyev
072459a055 8199370: [TESTBUG] Open source vm testbase GC tests
Reviewed-by: erikj, ihse, ehelin
2018-05-17 14:52:47 -07:00
Igor Ignatyev
01b0f9ea7d 8199384: [TESTBUG] Open source VM testbase MLVM tests
Reviewed-by: erikj, mseledtsov, vlivanov
2018-05-17 00:23:28 -07:00
Mikhailo Seledtsov
fc89e7ac24 8200126: [TESTBUG] Open source VM runtime signal tests
Open sourced the signal tests, updated make files and test groups accordingly

Reviewed-by: dholmes, ctornqvi, ihse
2018-04-03 08:56:46 -07:00
Jesper Wilhelmsson
1155614f99 Merge 2018-03-20 04:36:44 +01:00
Magnus Ihse Bursie
47a8c7c889 8199681: Remove boilerplate code from creating native jtreg tests
Reviewed-by: erikj
2018-03-15 19:33:04 +01:00
Magnus Ihse Bursie
64bf300bf6 8199606: Set -lc as global LIBS on solstudio
Reviewed-by: erikj
2018-03-14 19:12:30 +01:00
Brian Burkhalter
a131e1668f 8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
Move to using centralized native build and remove obsolete .so files

Reviewed-by: alanb, erikj
2018-03-05 08:27:42 -08:00
Magnus Ihse Bursie
e23e30e61b 8198751: Refactor SetupNativeCompilation to take NAME and TYPE
Reviewed-by: tbell
2018-02-28 21:16:11 +01:00
Andrew Haley
f48f7c36d5 8197429: Increased stack guard causes segfaults on x86-32
Reviewed-by: dholmes
2018-02-16 09:43:26 +00: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
Alex Menkov
8abc2c38f7 8161605: The '!UseSharedSpaces' check is not need in JvmtiManageCapabilities::recompute_always_capabilities
Reviewed-by: sspitsyn, mseledtsov
2018-02-07 10:25:10 -08:00
Daniil Titov
20dfdc0720 8153629: Need to cover JVMTI's GetOwnedMonitorStackDepthInfo function
Reviewed-by: sspitsyn, cjplummer
2018-01-17 16:49:43 -08: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
David Holmes
41bd93ee73 Merge 2017-12-12 21:43:00 -05:00
Daniel D. Daugherty
0fa3f5ebf8 8193407: jdk/hs fails Solaris slowdebug test-image build
Add a missing '-lc' option for libCNLookUp.

Reviewed-by: dholmes, kvn
2017-12-12 21:27:06 -05:00
David Holmes
b1001c7d7d 8193222: EnsureLocalCapacity() should maintain capacity requests through multiple calls
Reviewed-by: coleenp, dcubed
2017-12-12 19:06:19 -05:00
Yasumasa Suenaga
b25c9ddbae 8165736: Error message should be shown when JVMTI agent cannot be attached
Reviewed-by: sspitsyn, dholmes
2017-11-29 09:26:58 +09:00
Robbin Ehn
104ecb2dd1 8189941: Implementation JEP 312: Thread-local handshake
Introduce a way to execute a callback on threads without performing a global VM safepoint. Make it both possible and cheap to stop individual threads and not just all threads or none.

Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: mdoerr, neliasso, acorn, aph, coleenp, dholmes
2017-08-31 10:00:28 +02:00
Jesper Wilhelmsson
fdee542113 Merge 2017-11-11 01:21:09 +01:00
Mandy Chung
25032bad54 8164512: Replace ClassLoader use of finalizer with phantom reference to unload native library
Reviewed-by: alanb, bchristi, kbarrett, dholmes, plevart
2017-11-06 17:48:00 -08:00
Jesper Wilhelmsson
b97f1bcb37 Merge 2017-10-30 21:23:10 +01:00
Jamsheed Mohammed C M
34deb9cc2a 8167409: Invalid value passed to critical JNI function
The tmp  reg used to break the shuffling cycle (handled in ComputeMoveOrder) is set to 64 bit.

Reviewed-by: dlong
2017-11-06 04:14:22 -08:00
Jamsheed Mohammed C M
ef98509665 8167408: Invalid critical JNI function lookup
Made correction to arg_size calculation in NativeLookup::lookup_critical_entry

Reviewed-by: dholmes, dlong, mdoerr, vlivanov
2017-11-06 00:30:36 -08:00
Lucy Lu
ec1c3bce45 8164900: Add support for O_DIRECT
Add support for Direct I/O in FileChannel

Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Reviewed-by: alanb, bpb, alanbur, coffeys, aph, clanger, plevart, mli, psandoz, simonis
2017-10-17 16:51:11 -07:00
Jesper Wilhelmsson
7884ab9ccf Merge 2017-10-30 21:23:10 +01:00
Mandy Chung
7344b46c71 8189193: FindClass should only see classes from the boot loader called from its associated native library
Reviewed-by: coleenp, dholmes
2017-10-19 17:27:34 -07:00
Jesper Wilhelmsson
947fc09db0 Merge 2017-10-14 00:19:29 +02:00
Erik Joelsson
78f24fb8a5 8188050: UnsatisfiedLinkError after repo consolidation
Reviewed-by: tbell, ihse
2017-10-10 15:26:01 +02:00
Magnus Ihse Bursie
5f7dcca036 8188814: Simplify IncludeCustomExtension
Reviewed-by: dholmes
2017-10-05 12:41:06 +02:00
Magnus Ihse Bursie
e84be60b1a 8187544: Replace BUILD_OUTPUT and OUTPUT_ROOT with OUTPUTDIR
Reviewed-by: erikj
2017-09-25 10:32:00 +02:00
Jesper Wilhelmsson
42a29333b9 Merge 2017-10-10 16:29:04 +02:00
Coleen Phillimore
fd85805dc0 8178870: instrumentation.retransformClasses cause coredump
Don't double-free cached class bytes on redefinition loading failure.

Reviewed-by: sspitsyn, jiangli
2017-10-06 14:30:04 -04:00
Erik Joelsson
72c4ec5462 8187444: Forest Consolidation: Make build work
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: darcy, ihse
2017-09-12 19:03:56 +02:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Christian Tornqvist
830cf57fbd 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:25 -04:00
Erik Joelsson
0b57773edd 8149777: Enable enhanced failure handler for "make test"
Reviewed-by: ihse
2016-04-14 15:13:42 +02:00
Erik Joelsson
bcc9a55ecc 8153273: Test lib compilations trigger find crash on Solaris
Reviewed-by: tbell
2016-04-01 17:10:13 +02:00
Erik Joelsson
62017e75bc 8141051: Build test libs -source/-target 9
Reviewed-by: tbell, vlivanov
2015-11-03 16:51:55 +01:00
Erik Joelsson
04fff9f8be 8140312: Enable new sjavac server only mode in jdk build
Reviewed-by: ihse, tbell
2015-10-27 17:51:36 +01:00
Magnus Ihse Bursie
7bb1b6ad7c 8136378: Build test libs using properly integrated makefile
Use 'make build-test-lib' in top repo instead

Reviewed-by: erikj
2015-09-16 09:49:36 +02:00