Commit Graph

578 Commits

Author SHA1 Message Date
Daniel Fuchs
178343750f 8264975: java/net/DatagramSocket/DatagramSocketMulticasting.java fails infrequently
Reviewed-by: alanb, chegar
2021-06-03 08:58:41 +00:00
Weijun Wang
6765f90250 8266459: Implement JEP 411: Deprecate the Security Manager for Removal
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Maurizio Cimadamore
a223189b06 8264774: Implementation of Foreign Function and Memory API (Incubator)
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Athijegannathan Sundararajan <sundar@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: psandoz, chegar, mchung, vlivanov
2021-06-02 10:53:06 +00:00
Roger Riggs
0fc7c8d101 8267751: (test) jtreg.SkippedException has no serial VersionUID
Reviewed-by: naoto, iignatyev, iris
2021-05-26 22:03:13 +00:00
Jaroslav Bachorik
ee2651b9e5 8203359: Container level resources events
Reviewed-by: sgehwolf, egahlin
2021-05-21 09:44:45 +00:00
Philippe Marschall
ab17be2835 8252530: Fix inconsistencies in hotspot whitebox
Reviewed-by: dholmes, amenkov
2021-05-12 23:14:30 +00:00
Aleksey Shipilev
b67b2b1645 8265690: Use the latest Ubuntu base image version in Docker testing
Reviewed-by: sgehwolf, iignatyev, mseledtsov
2021-04-27 16:36:15 +00:00
Vladimir Kozlov
694acedf18 8264805: Remove the experimental Ahead-of-Time Compiler
Reviewed-by: coleenp, erikj, stefank, iignatyev, dholmes, aph, shade, iklam, mchung, iveresov
2021-04-27 01:12:18 +00:00
Yumin Qi
b703e0a4c8 8264569: Remove obsolete error messages from CDSTestUtils.java
Reviewed-by: iklam
2021-04-19 17:06:07 +00:00
Weijun Wang
8dbf7aa1f9 8241306: Add SignatureMethodParameterSpec subclass for RSASSA-PSS params
Reviewed-by: mullan
2021-04-19 14:29:18 +00:00
Weijun Wang
c70589c68c 8265227: Move Proc.java from security/testlibrary to test/lib
Reviewed-by: rriggs, xuelei, rhalade, ssahoo
2021-04-15 15:07:47 +00:00
Yumin Qi
e7cbeba866 8259070: Add jcmd option to dump CDS
Reviewed-by: ccheung, iklam, mli
2021-04-15 05:21:24 +00:00
Weijun Wang
9cd5400d9b 8265138: Simplify DerUtils::checkAlg
Reviewed-by: xuelei
2021-04-13 16:56:36 +00:00
Jie Fu
88eb2919f5 8264809: test-lib fails to build due to some warnings in ASN1Formatter and jfr
Reviewed-by: rriggs
2021-04-08 00:24:12 +00:00
Yumin Qi
d920f8588c 8264540: WhiteBox.metaspaceReserveAlignment should return shared region alignment
Reviewed-by: ccheung, iklam
2021-04-05 18:31:12 +00:00
Yasumasa Suenaga
a209ed01ba 8263670: pmap and pstack in jhsdb do not work on debug server
Reviewed-by: cjplummer, sspitsyn
2021-03-27 11:15:17 +00:00
Roger Riggs
788e30c154 8263320: [test] Add Object Stream Formatter to work with test utility HexPrinter
Reviewed-by: chegar
2021-03-18 21:26:46 +00:00
Igor Ignatyev
a7aba2b61c 8263549: 8263412 can cause jtreg testlibrary split
Reviewed-by: iklam, dcubed
2021-03-13 14:51:53 +00:00
Chris Plummer
43524cc41a 8243455: Many SA tests can fail due to trying to get the stack trace of an active method
Reviewed-by: lmesnik, ysuenaga, sspitsyn
2021-03-12 23:35:47 +00:00
Igor Ignatyev
e834f99d1d 8263412: ClassFileInstaller can't be used by classes outside of default package
Reviewed-by: iklam, coleenp, mseledtsov
2021-03-12 23:13:16 +00:00
Coleen Phillimore
b932a62c44 8263470: Consolidate copies of getClassBytes in various tests
Reviewed-by: hseigel, stuefe, mseledtsov
2021-03-12 20:48:51 +00:00
Mikhailo Seledtsov
9221540e2a 8213269: convert test/hotspot/jtreg/runtime/memory/RunUnitTestsConcurrently to gtest
Reviewed-by: iignatyev, coleenp, stuefe
2021-03-08 20:09:59 +00:00
Sean Mullan
a6427c85ee 8259709: Disable SHA-1 XML Signatures
Reviewed-by: rhalade, weijun
2021-03-04 17:21:37 +00:00
Alex Menkov
104a26283a 8224775: test/jdk/com/sun/jdi/JdwpListenTest.java failed to attach
Reviewed-by: sspitsyn, dfuchs
2021-03-04 00:37:55 +00:00
Lin Zang
c54724da14 8257234: Add gz option to SA jmap to write a gzipped heap dump
Reviewed-by: cjplummer, ysuenaga, sspitsyn
2021-02-25 12:09:55 +00:00
Yumin Qi
3e13b66e3f 8262157: LingeredApp.startAppExactJvmOpts does not print app output when launching fails
Reviewed-by: iklam, cjplummer
2021-02-24 00:31:57 +00:00
Jie Fu
b10376bac1 8261938: ASN1Formatter.annotate should not return in the finally block
Reviewed-by: rriggs
2021-02-19 23:45:54 +00:00
Chris Hegarty
3dc6f52a89 8261160: Add a deserialization JFR event
Co-authored-by: Sean Coffey <coffeys@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: coffeys, rriggs, dfuchs, egahlin
2021-02-12 17:35:25 +00:00
Ioi Lam
c5ff454481 8250989: Consolidate buffer allocation code for CDS static/dynamic dumping
Reviewed-by: ccheung, coleenp
2021-02-07 07:10:38 +00:00
Roland Westrelin
3495febf51 8260296: SA's dumpreplaydata fails
Reviewed-by: kvn, cjplummer, iignatyev
2021-02-05 09:33:54 +00:00
Calvin Cheung
55d62a5338 8213226: [TESTBUG] Reduce the usage of CDSTestUtils.executeAndLog()
Reviewed-by: iklam, minqi
2021-02-01 22:17:57 +00:00
Harold Seigel
181d63ffce 8260522: Clean up warnings in hotspot JTReg runtime tests
Reviewed-by: lfoltan, coleenp
2021-02-01 16:46:17 +00:00
Daniel D. Daugherty
684c8558f6 8260524: validate-source fails on test/jdk/jdk/jfr/event/gc/detailed/TestGCLockerEvent.java
Reviewed-by: bpb, iignatyev
2021-01-27 17:26:41 +00:00
Denghui Dong
311a0a91ba 8259808: Add JFR event to detect GC locker stall
Reviewed-by: sjohanss, tschatzl, egahlin
2021-01-27 15:28:46 +00:00
Sean Coffey
18eb6d9e34 8255348: NPE in PKIXCertPathValidator event logging code
Reviewed-by: mullan
2021-01-22 15:31:35 +00:00
Mahendra Chhipa
5df2a949e3 8212035: merge jdk.test.lib.util.SimpleHttpServer with jaxp.library.SimpleHttpServer
Reviewed-by: dfuchs
2021-01-13 15:53:05 +00:00
Aleksey Shipilev
3974fd4f33 8259451: Zero: skip serviceability/sa tests, set vm.hasSA to false
Reviewed-by: sgehwolf, cjplummer
2021-01-11 07:33:33 +00:00
Roger Riggs
628c546bea 8258796: [test] Apply HexFormat to tests for java.security
Reviewed-by: xuelei
2021-01-08 21:32:54 +00:00
Jesper Wilhelmsson
d234388042 Merge 2020-12-21 09:09:05 +00:00
Brent Christian
e680ebeb2f 8258007: Add instrumentation to NativeLibraryTest
Reviewed-by: mchung, naoto
2020-12-19 00:17:02 +00:00
Patricio Chilano Mateo
7b05439dcc 8258057: serviceability/attach/RemovingUnixDomainSocketTest.java doesn't ignore VM warnings
Reviewed-by: cjplummer, amenkov, dholmes
2020-12-17 16:41:50 +00:00
Severin Gehwolf
669361117d 8253797: [cgroups v2] Account for the fact that swap accounting is disabled on some systems
Reviewed-by: hseigel
2020-12-10 16:47:02 +00:00
Markus Grönlund
502a5241e5 8257602: Introduce JFR Event Throttling and new jdk.ObjectAllocationSample event (enabled by default)
Co-authored-by: Jaroslav Bachorik <jbachorik@openjdk.org>
Reviewed-by: egahlin, jbachorik
2020-12-10 12:33:48 +00:00
Dan Smith
48d8650ae1 8257845: Integrate JEP 390
8254047: [JEP 390] Revise "value-based class" & apply to wrappers
8252181: [JEP 390] Define & apply annotation jdk.internal.ValueBased
8252183: [JEP 390] Add 'lint' warning for @ValueBased classes
8257027: [JEP 390] Diagnose synchronization on @ValueBased classes
8252180: [JEP 390] Deprecate wrapper class constructors for removal

Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Srikanth Adayapalam <sadayapalam@openjdk.org>
Co-authored-by: Lois Foltan <lfoltan@openjdk.org>
Reviewed-by: rriggs, hseigel, mchung, darcy
2020-12-08 23:04:01 +00:00
Calvin Cheung
291ba97fab 8251267: CDS tests should use CDSTestUtils.getOutputDir instead of System.getProperty("user.dir")
Reviewed-by: minqi, iklam
2020-12-08 20:00:10 +00:00
Chris Hegarty
5a03e47605 8255560: Class::isRecord should check that the current class is final and not abstract
Reviewed-by: mchung, darcy
2020-12-07 11:02:52 +00:00
Doug Simon
fa58671f9f 8257020: [JVMCI] enable a JVMCICompiler to specify which GCs it supports
Reviewed-by: stefank, kvn
2020-12-03 13:42:50 +00:00
Christoph Langer
93b6ab56ae 8256818: SSLSocket that is never bound or connected leaks socket resources
Reviewed-by: xuelei
2020-12-02 19:23:26 +00:00
Kim Barrett
66943fefa7 8256517: (ref) Reference.clear during reference processing may lose notification
8240696: (ref) Reference.clear may extend the lifetime of the referent

Use private native helper to implement Reference.clear.

Reviewed-by: pliden, rkennke, mchung
2020-11-25 03:34:50 +00:00
Maurizio Cimadamore
0fb31dbf3a 8254231: Implementation of Foreign Linker API (Incubator)
Reviewed-by: coleenp, ihse, dholmes, vlivanov
2020-11-23 11:00:38 +00:00
Stefan Johansson
b8244b606e 8236926: Concurrently uncommit memory in G1
Reviewed-by: ayang, tschatzl
2020-11-19 17:55:33 +00:00
Sean Mullan
3a4b90f086 8202343: Disable TLS 1.0 and 1.1
Reviewed-by: xuelei, dfuchs, coffeys
2020-11-19 14:15:57 +00:00
Thomas Schatzl
bd8693a084 8256181: Remove Allocation of old generation on alternate memory devices functionality
Reviewed-by: ayang, iignatyev, iklam
2020-11-12 14:05:50 +00:00
Weijun Wang
f77a658557 8153005: Upgrade the default PKCS12 encryption/MAC algorithms
Reviewed-by: mullan
2020-10-30 13:23:33 +00:00
Roger Riggs
a023b93712 8255394: jdk/test/lib/hexdump/ASN1FormatterTest.java fails with ---illegal-access=deny
Reviewed-by: alanb, weijun
2020-10-27 18:17:57 +00:00
Aleksey Shipilev
64dc4b1888 8255225: compiler/aot tests fail on Windows with NPE during artifact resolution
Reviewed-by: erikj, clanger
2020-10-23 06:34:17 +00:00
Weijun Wang
839f01ddf5 8242068: Signed JAR support for RSASSA-PSS and EdDSA
Reviewed-by: valeriep
2020-10-21 14:18:43 +00:00
Richard Reingruber
40f847e2fb 8227745: Enable Escape Analysis for Better Performance in the Presence of JVMTI Agents
8233915: JVMTI FollowReferences: Java Heap Leak not found because of C2 Scalar Replacement

Reviewed-by: mdoerr, goetz, sspitsyn, kvn
2020-10-20 15:31:55 +00:00
Thomas Stuefe
7ba6a6bf00 8251158: Implementation of JEP 387: Elastic Metaspace
Reviewed-by: lkorinth, coleenp, iklam, rrich
2020-10-20 06:48:09 +00:00
Erik Joelsson
0b5101658d 8253660: Need better error report when artifact resolution fails in AotCompiler.java
Reviewed-by: ihse
2020-10-19 17:40:54 +00:00
Aleksei Voitylov
63009f90ec 8247589: Implementation of Alpine Linux/x64 Port
Co-authored-by: Mikael Vidstedt <mikael@openjdk.org>
Co-authored-by: Alexander Scherbatiy <alexsch@openjdk.org>
Co-authored-by: Axel Siebenborn <asiebenborn@openjdk.org>
Co-authored-by: Aleksei Voitylov <avoitylov@openjdk.org>
Reviewed-by: alanb, erikj, dholmes
2020-10-13 09:35:58 +00:00
Chris Hegarty
aad3cf4df7 8254234: Add test library stream object builder
Reviewed-by: rriggs
2020-10-12 13:06:10 +00:00
Evgeny Nikitin
52e45a3677 8229186: Improve error messages for TestStringIntrinsics failures
Reviewed-by: iignatyev, lmesnik
2020-10-09 16:48:49 +00:00
Igor Ignatyev
7e80c9897d 8254261: fix javadocs in jdk.test.lib.Utils
Reviewed-by: shade
2020-10-09 14:47:25 +00:00
Igor Ignatyev
5351ba6cfa 8254262: jdk.test.lib.Utils::createTemp* don't pass attrs
Reviewed-by: shade
2020-10-08 19:09:25 +00:00
Igor Ignatyev
9cdfd0fafe 8254096: remove jdk.test.lib.Utils::getMandatoryProperty(String) method
Reviewed-by: shade
2020-10-08 06:56:20 +00:00
Igor Ignatyev
7733a0e76b 8254182: remove Utils.tryFindJvmPid/waitForJvmPid
Reviewed-by: rriggs
2020-10-08 06:54:21 +00:00
Roger Riggs
38159d52d4 8253876: jdk/test/lib/hexdump/ASN1FormatterTest.java fails with "AssertionError: Lines expected [126] but found [202]"
Reviewed-by: shade, lancea
2020-10-07 18:36:14 +00:00
Igor Ignatyev
2a0389a892 8254095: remove jdk.test.lib.Utils::distro() method
Reviewed-by: bchristi
2020-10-06 22:57:56 +00:00
Igor Ignatyev
ac772cd916 8253750: use build-stable default seed for Utils.RANDOM_GENERATOR
Reviewed-by: rriggs
2020-10-06 20:35:34 +00:00
Robbin Ehn
c9d0407e94 8253794: TestAbortVMOnSafepointTimeout never timeouts
Reviewed-by: pchilanomate, dcubed, mdoerr
2020-10-05 19:16:11 +00:00
Severin Gehwolf
3e96721cd9 8253727: [cgroups v2] Memory and swap limits reported incorrectly
Account for interface files for swap and memory being reported independently.
The cgroup v1-like value is now reported by adding the memory.max value to
the memory.swap.max value, and memory.current and memory.swap.current
respectively.

Reviewed-by: bobv, shade
2020-10-01 09:28:40 +00:00
Roger Riggs
092c227721 8252523: Add ASN.1 Formatter to work with test utility HexPrinter
Reviewed-by: weijun
2020-09-30 20:42:39 +00:00
Severin Gehwolf
ff6843ca48 8253714: [cgroups v2] Soft memory limit incorrectly using memory.high
The early implementation of cgroups v2 support was done with
crun 0.8 and it contained a bug which set memory.high over
memory.low when --memory-reservation was being used as a CLI
option.

This bug has been fixed in later crun versions, starting with
crun 0.11. Use memory.low in OpenJDK as well.

Reviewed-by: bobv, adinn
2020-09-29 15:15:50 +00:00
Robbin Ehn
6bddeb709d 8238761: Asynchronous handshakes
Reviewed-by: pchilanomate, dcubed, dholmes, coleenp, sspitsyn
2020-09-29 08:50:54 +00:00
Harold Seigel
0187567704 8250984: Memory Docker tests fail on some Linux kernels w/o cgroupv1 …
Reviewed-by: bobv, sgehwolf
2020-09-25 17:16:38 +00:00
Chris Plummer
d4269fd520 8253028: SA core file tests still time out on OSX with "java.io.IOException: App waiting timeout"
Reviewed-by: amenkov
2020-09-17 22:17:36 +00:00
Valerie Peng
40206822f4 8172366: Support SHA-3 based signatures
Enhance default JDK providers including SUN, SunRsaSign, and SunEC, with signatures using SHA-3 family of digests.

Reviewed-by: xuelei
2020-09-15 20:28:48 +00:00
Igor Ignatyev
4fe6a3da68 8252532: use Utils.TEST_NATIVE_PATH instead of System.getProperty("test.nativepath")
Reviewed-by: dholmes, sspitsyn
2020-09-01 17:23:00 -07:00
Igor Ignatyev
e1d29cd6fb 8252401: Introduce Utils.TEST_NATIVE_PATH
Reviewed-by: sspitsyn
2020-08-28 10:28:06 -07:00
Coleen Phillimore
b978ebee46 8244386: convert runtime/Safepoint/AssertSafepointCheckConsistency tests to gtest
Reviewed-by: stuefe, lfoltan, dcubed
2020-08-26 07:55:05 -04:00
Alex Menkov
ca6d6385f8 8251384: [TESTBUG] jvmti tests should not be executed with minimal VM
Reviewed-by: sspitsyn, iignatyev
2020-08-21 15:49:09 -07:00
Patricio Chilano Mateo
e56002c7d3 8242263: Diagnose synchronization on primitive wrappers
Added diagnostic flag DiagnoseSyncOnPrimitiveWrappers

Reviewed-by: dholmes, mdoerr, dcubed, coleenp, egahlin, mgronlun
2020-08-21 15:04:02 +00:00
Ioi Lam
c1093dc244 8251213: [TESTBUG] CDS tests shouldn't write output files into test.classes directory
Reviewed-by: minqi, ccheung
2020-08-09 20:56:04 -07:00
Chris Plummer
ee060c777c 8241951: SA core file tests failed to find core file for signed binaries on OSX 10.15
Reviewed-by: amenkov, dcubed
2020-08-09 19:38:51 -07:00
Chris Plummer
db46b297fa 8251121: six SA tests leave core files behind on macOS
Reviewed-by: dholmes, dcubed
2020-08-06 18:21:21 -07:00
Chris Plummer
54bed60bfe 8250750: JDK-8247515 fix for OSX pc_to_symbol() lookup fails with some symbols
8249150: SA core file tests sometimes time out on OSX with "java.io.IOException: App waiting timeout"

Reviewed-by: sspitsyn, amenkov
2020-08-03 17:38:22 -07:00
Jesper Wilhelmsson
3dcd1c1ab0 Merge 2020-07-09 04:32:30 +02:00
Daniel D. Daugherty
9f0bafe6ad 8249097: test/lib/jdk/test/lib/util/JarBuilder.java has a bad copyright
Reviewed-by: iignatyev
2020-07-08 17:19:57 -04:00
Ivan Sipka
dda0c6cecd 8211974: move test/jdk/lib/testlibrary/java/util/jar/*.java to top-level library or a local library
Reviewed-by: rriggs, bchristi, lancea, iignatyev
2020-07-08 20:35:36 +01:00
Chris Plummer
db2d4e8f5a 8248194: Need better support for running SA tests on core files
Reviewed-by: amenkov, lmesnik
2020-07-07 13:07:53 -07:00
Igor Ignatyev
b03766fb79 8183040: update jdk/test/lib/Platform.java to use NIO file
Reviewed-by: amenkov, bpb
2020-06-10 13:15:27 -07:00
Roger Riggs
120a0d116a 8247274: (test) HexPrinter cleanup
Reviewed-by: lancea
2020-06-10 14:51:28 -04:00
Igor Ignatyev
e47b2bc8c3 8246387: switch to jtreg 5.1
Reviewed-by: dholmes, erikj
2020-06-10 10:47:40 -07:00
Calvin Cheung
847a3baca8 8198698: Support Lambda proxy classes in dynamic CDS archive
Added archving of hidden classes of type lambda proxy classes.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: mchung, iklam, dholmes
2020-06-10 15:50:26 +00:00
Ralf Schmelter
19be497143 8237354: Add option to jcmd to write a gzipped heap dump
Reviewed-by: rrich, clanger, goetz
2020-06-10 12:29:01 +02:00
Per Lidén
9d0ba7ae7f 8246220: ZGC: Introduce ZUnmapper to asynchronous unmap pages
Reviewed-by: eosterlund, stefank
2020-06-09 11:01:09 +02:00
Per Lidén
d7e68f375c 8245208: ZGC: Don't hold the ZPageAllocator lock while committing/uncommitting memory
Reviewed-by: eosterlund, stefank
2020-06-09 11:01:09 +02:00
John Jiang
ff8c6d5deb 8246709: sun/security/tools/jarsigner/TsacertOptionTest.java compilation failed after JDK-8244683
Reviewed-by: weijun
2020-06-06 13:51:23 +08:00
John Jiang
13d30235e1 8244683: A TSA server used by tests
Reviewed-by: weijun
2020-06-05 23:36:01 +08:00
Magnus Ihse Bursie
1356a0f1ac 8248667: Need support for building native libraries located in the test/lib directory
Reviewed-by: erikj
2020-07-02 17:35:03 +02:00
Daniel D. Daugherty
3e4ad5d8d1 8246477: add whitebox support for deflating idle monitors
Reviewed-by: dholmes, eosterlund
2020-06-24 17:48:53 -04:00
Hai-May Chao
e3eb38f4d2 8244148: keytool -printcert and -printcrl should support the -trustcacerts and -keystore options
Reviewed-by: weijun, jjiang
2020-06-23 16:30:38 +08:00
Erik Gahlin
984373408e 8246128: JFR: Fix warnings
Reviewed-by: mgronlun
2020-05-29 17:02:11 +02:00
Daniil Titov
7045a46250 8244993: Revert changes to OutputAnalyzer stderrShouldBeEmptyIgnoreVMWarnings() that allow version strings
Reviewed-by: dholmes, cjplummer
2020-05-28 15:58:59 -07:00
John Jiang
845799935b 8245134: test/lib/jdk/test/lib/security/KeyStoreUtils.java should allow to specify aliases
Reviewed-by: valeriep
2020-05-27 05:42:28 +08:00
John Jiang
98cb95b7b7 8245691: Add EdDSA certificstes to SSLSocketTemplate and CertUtils
Reviewed-by: xuelei
2020-05-25 11:29:56 +08:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Anthony Scarpino
fd28aad72d 8166597: Crypto support for the EdDSA Signature Algorithm
Reviewed-by: weijun, mullan, wetmore
2020-05-18 09:42:52 -07:00
Calvin Cheung
71cc95e4b1 8243947: [TESTBUG] hotspot/jtreg:hotspot_appcds_dynamic fails when the JDK doesn't have default CDS archive
Generate a default CDS archive when necessary before running AppCDS dynamic tests.

Reviewed-by: iklam
2020-05-14 20:34:18 +00:00
David Holmes
17dd7dc38c 8240588: _threadObj cannot be used on an exiting JavaThread
Reviewed-by: rehn, dcubed, kbarrett
2020-05-13 22:29:54 -04:00
Alex Menkov
073e095e60 8235211: serviceability/attach/RemovingUnixDomainSocketTest.java fails with AttachNotSupportedException: Unable to open socket file
Reviewed-by: sspitsyn, ysuenaga
2020-05-13 15:25:59 -07:00
Daniil Titov
a726aca6de 8242009: Review setting test.java/vm.opts in jcmd/jhsdb and debugger in serviceability tests
Reviewed-by: cjplummer
2020-05-12 09:45:24 -07:00
Stefan Karlsson
81597d9f8f 8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts
Reviewed-by: dholmes, cjplummer
2020-05-04 21:20:39 +02:00
Alex Menkov
8a7ff65d98 8242522: Minor LingeredApp improvements
Reviewed-by: lmesnik, cjplummer
2020-04-29 16:02:56 -07:00
Stefan Karlsson
35af52dd4f 8244010: Simplify usages of ProcessTools.createJavaProcessBuilder in our tests
Reviewed-by: lmesnik, iignatyev, coleenp, dholmes
2020-04-29 08:52:18 +02:00
Igor Ignatyev
7f49c9167a 8244066: ClassFileInstaller should be run in driver mode
Reviewed-by: iklam
2020-04-28 21:59:31 -07:00
Roger Riggs
bdf672659c 8243010: Test support: Customizable Hex Printer
Reviewed-by: lancea, dfuchs, weijun
2020-04-16 15:45:37 -04:00
John Jiang
2a4596cfe4 8243029: Rewrite javax/net/ssl/compatibility/Compatibility.java with a flexible interop test framework
Reviewed-by: xuelei
2020-04-24 15:28:57 +08:00
Mandy Chung
7cc1371059 8238358: Implementation of JEP 371: Hidden Classes
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Denghui Dong
a62a0e5282 8238665: Add JFR event for direct memory statistics
Reviewed-by: egahlin, alanb
2020-04-14 20:36:33 +02:00
Erik Joelsson
416f4ed7ae 8242463: ProcessTools.createNativeTestProcessBuilder() in testlib needs jdk/bin on PATH on Windows
Reviewed-by: iignatyev, mseledtsov, tbell
2020-04-14 07:54:54 -07:00
Evgeny Nikitin
99a6b6b848 8174768: Make ProcessTools print executed process output into a separate file
Reviewed-by: dholmes, iignatyev
2020-03-24 15:21:38 +01:00
Rahul Yadav
86722cb038 8239594: jdk.tls.client.protocols is not respected
8239595: ssl context version is not respected

The java.net.HttpClient is updated to no longer override any default selected protocols in the SSLContext, in the absence of  any SSLParameters explicitly supplied to the HttpClient.builder.

Reviewed-by: chegar, dfuchs
2020-04-10 10:05:33 +01:00
Chris Plummer
a40ef7e41d 8242235: Disable SA testing on Solaris. Remove JDK-8193639 entries from ProblemList.txt
Reviewed-by: dcubed, amenkov
2020-04-07 13:56:53 -07:00
Alex Menkov
e18d66174a 8237572: Combine the two LingeredApp classes
Reviewed-by: cjplummer, lmesnik
2020-04-06 12:51:40 -07:00
Daniil Titov
ba26538cef 8241530: com/sun/jdi tests fail due to network issues on OSX 10.15
Reviewed-by: amenkov, sspitsyn
2020-04-06 07:39:58 -07:00
Daniel Fuchs
f541970b31 8241786: Improve heuristic to determine default network interface on macOS
DefaultInetrface.getDefault is updated to prefer interfaces that have non link-local addresses. NetworkConfiguration is updated to skip interface that have only link-local addresses, whether IPv4 or IPv6, for multicasting.

Reviewed-by: chegar, alanb
2020-04-03 14:27:03 +01:00
Leonid Mesnik
13af7bb9ad 8240698: LingeredApp does not pass getTestJavaOpts() to the children process if vmArguments is already specified
Reviewed-by: iignatyev, iklam, cjplummer
2020-04-01 16:27:03 -07:00
Per Lidén
6c9d6507da 8241881: ZGC: Add tests for JFR events
Reviewed-by: stefank, eosterlund, egahlin
2020-04-01 13:44:12 +02:00
Stefan Karlsson
c8b1f966cb 8241976: Add test for GCPhaseConcurrentLevel1 JFR event
Reviewed-by: pliden, eosterlund
2020-04-01 12:37:38 +02:00
Daniel Fuchs
5ddbcb7a51 8241336: Some java.net tests failed with NoRouteToHostException on MacOS with special network configuration
NetworkConfiguration updated to skip interfaces that have only IPv6 link local addresses.

Reviewed-by: alanb, chegar
2020-03-27 12:42:03 +00:00
Daniil Titov
54e2c6fe3e 8196751: Add jhsdb option to specify debug server RMI connector port
Reviewed-by: sspitsyn, ysuenaga
2020-03-26 09:03:52 -07:00
Mikhailo Seledtsov
0ee7497937 8241033: Create test library utility for getting JFR streaming repository
New method to get JFR streaming repo path

Reviewed-by: egahlin, mgronlun
2020-03-18 09:45:20 -07:00
Chris Plummer
a147636157 8238268: Many SA tests are not running on OSX because they do not attempt to use sudo when available
Reviewed-by: sspitsyn, iignatyev
2020-03-17 18:04:59 -07:00
Patrick Concannon
0ed44d0aee 8239355: (dc) Initial value of SO_SNDBUF should allow sending large datagrams (macOS)
Updates DatagramChannel so that the SO_SNDBUF is set to a minimum value of 65527 for IPv6 sockets and 65507 for IPv4 sockets on macOS.

Reviewed-by: alanb, dfuchs
2020-03-12 17:08:09 +00:00
Severin Gehwolf
add18914fb 8239785: Cgroups: Incorrect detection logic on old systems in hotspot
Return NULL subsystem if no cgroup controllers are mounted.

Reviewed-by: bobv, mbaesken
2020-02-25 12:17:26 +01:00
Alex Menkov
5531199db4 8240340: java/lang/management/ThreadMXBean/Locks.java is buggy
Reviewed-by: dholmes, sspitsyn
2020-03-11 13:39:27 -07:00
Erik Gahlin
672992f6ac 8222000: JFR: Process start event
Reviewed-by: mgronlun, rriggs
2020-03-09 21:25:38 +01:00
Kim Barrett
9f334a1640 8240239: Replace ConcurrentGCPhaseManager
Replace ConcurrentGCPhaseManager with ConcurrentGCBreakpoints

Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: kbarrett, pliden, sangheki
2020-03-06 18:42:13 -05:00
Severin Gehwolf
c92adf4158 8240189: [TESTBUG] Some cgroup tests are failing after JDK-8231111
Reviewed-by: mbaesken, bobv
2020-02-24 19:03:34 +01:00
Volker Simonis
2a79146791 8240235: jdk.test.lib.util.JarUtils updates jar files incorrectly
Reviewed-by: martin, clanger, lancea
2020-03-03 11:24:20 +01:00
Mikhailo Seledtsov
35ee1cb2b3 8236938: [TESTBUG] JFR event MetaspaceAllocationFailure is not tested
New test for MetaspaceAllocationFailure

Reviewed-by: hseigel, stuefe
2020-03-02 12:16:18 -08:00
Matthias Baesken
ed94c0af10 8239537: cgroup MetricsTester testMemorySubsystem fails sometimes when testing memory.kmem.tcp.usage_in_bytes
Reviewed-by: mseledtsov
2020-02-20 11:09:09 +01:00
Severin Gehwolf
4def210a22 8231111: Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy
Reviewed-by: bobv, mchung
2019-12-16 15:07:17 +01:00
Leonid Mesnik
a6dbc71114 8239026: Support non-maven artifacts by JibArtifactManager
Reviewed-by: erikj
2020-02-18 10:48:48 -08:00
Mikhailo Seledtsov
cea8931aed 8167493: Test that JFR event can be retransformed by an agent
Added new test, extended agent builder test library

Reviewed-by: egahlin
2020-02-18 08:14:48 -08:00
Erik Gahlin
5d9c59f2f8 8238236: Add JFR class redefinition events
Reviewed-by: mgronlun
2020-02-17 22:36:13 +01:00
Chris Plummer
110ef6f2c3 8238196: tests that use SA Attach should not be allowed to run against signed binaries on Mac OS X 10.14.5 and later
Reviewed-by: sspitsyn, iignatyev
2020-02-14 10:28:32 -08:00
Alex Menkov
bcb804f07f 8238710: LingeredApp doesn't log stdout/stderr if exits with non-zero code
Reviewed-by: cjplummer, sspitsyn
2020-02-13 13:43:09 -08:00