Commit Graph

741 Commits

Author SHA1 Message Date
Matias Saavedra Silva
a249a52501 8296754: AutoCreateSharedArchive in JDK 20 is not compatible with JDK 19
Reviewed-by: ccheung, iklam, erikj
2022-11-28 15:26:27 +00:00
Serguei Spitsyn
e661c5a3d0 8296323: JVMTI can_support_virtual_threads not available for agents loaded into running VM
Reviewed-by: alanb, rrich
2022-11-22 23:43:15 +00:00
Erik Gahlin
87b809a2cb 8296229: JFR: jfr tool should print unsigned values correctly
Reviewed-by: coffeys, mgronlun
2022-11-11 14:55:41 +00:00
Sean Coffey
102b2b32fe 8292033: Move jdk.X509Certificate event logic to JCA layer
Reviewed-by: mullan
2022-11-09 21:46:56 +00:00
Bill Huang
cc8bf95046 8296718: Refactor bootstrap Test Common Functionalities to test/lib/Utils
Reviewed-by: sspitsyn, kevinw
2022-11-09 19:02:50 +00:00
Ioi Lam
8f6c048911 8296337: CDS SharedArchiveConsistency tests fail after JDK-8296157
Reviewed-by: ccheung
2022-11-03 22:30:28 +00:00
Calvin Cheung
427f50624f 8279366: CDS should allow alternative locations for JAR files in classpath
Reviewed-by: iklam, coleenp
2022-10-25 17:52:18 +00:00
Kevin Walls
9051dded84 8294993: LingeredApp test update
Reviewed-by: cjplummer, amenkov
2022-10-25 11:44:39 +00:00
Jaikiran Pai
8b010e014c 8030616: sun/management/jmxremote/bootstrap/RmiBootstrapTest fails intermittently with cannot find a free port
Reviewed-by: sspitsyn, msheppar
2022-10-21 08:29:09 +00:00
Alex Menkov
6240431b38 8295697: Resolve conflicts between serviceability/jvmti and nsk/jvmti shared code
Reviewed-by: lmesnik, sspitsyn, cjplummer
2022-10-20 23:41:54 +00:00
Erik Gahlin
ecfb6bce5a 8295419: JFR: Change name of jdk.JitRestart
Reviewed-by: mgronlun
2022-10-18 21:43:06 +00:00
Sean Coffey
8c40b7dc8c 8292177: InitialSecurityProperty JFR event
Reviewed-by: mullan
2022-10-18 11:41:07 +00:00
Bill Huang
ac1941425b 8294994: Update Jarsigner and Keytool i18n tests to validate i18n compliance
Reviewed-by: naoto
2022-10-12 22:17:19 +00:00
Alan Bateman
1fda8421b9 8291429: java/lang/Thread/virtual/ThreadAPI.java timed out on single core system
Reviewed-by: sspitsyn, cjplummer
2022-10-07 08:14:43 +00:00
Matias Saavedra Silva
f888aa953c 8293061: Combine CDSOptions and AppCDSOptions test utility classes
Reviewed-by: dholmes, iklam, ccheung
2022-10-06 15:03:24 +00:00
Chris Plummer
76f1865124 8293563: [macos-aarch64] SA core file tests failing with sun.jvm.hotspot.oops.UnknownOopException
Reviewed-by: sspitsyn, kevinw
2022-09-28 20:35:33 +00:00
Sean Coffey
bc2af47e1e 8254711: Add java.security.Provider.getService JFR Event
Reviewed-by: mullan, valeriep, jpai
2022-09-22 13:53:15 +00:00
Sangheon Kim
14eb5ad0dc 8291753: Add JFR event for GC CPU Time
Reviewed-by: tschatzl, ayang
2022-09-08 18:20:03 +00:00
Erik Österlund
054c23f484 8290025: Remove the Sweeper
Reviewed-by: stefank, kvn, iveresov, coleenp, vlivanov, mdoerr
2022-08-25 09:48:55 +00:00
Aleksey Shipilev
e81210f5fe 8292352: 32-bit Windows build failures after JDK-8290059
Reviewed-by: stuefe
2022-08-17 13:25:02 +00:00
Coleen Phillimore
b7d2bde8e3 8291733: Remove JFR events that expose hashtable
Reviewed-by: egahlin
2022-08-03 13:06:53 +00:00
Jorn Vernee
54a2c5a6d1 8290059: Do not use std::thread in panama tests
Reviewed-by: mcimadamore, stuefe, erikj
2022-07-28 14:53:26 +00:00
Matthias Baesken
dfbc6919e1 8289524: Add JFR JIT restart event
Reviewed-by: kvn, lucy
2022-07-19 07:07:41 +00:00
Coleen Phillimore
0c1aa2bc8a 8289184: runtime/ClassUnload/DictionaryDependsTest.java failed with "Test failed: should be unloaded"
Reviewed-by: lmesnik, hseigel
2022-07-11 15:34:17 +00:00
Coleen Phillimore
0c37008917 8275662: remove test/lib/sun/hotspot
Reviewed-by: mseledtsov, sspitsyn, lmesnik
2022-07-11 13:07:03 +00:00
Coleen Phillimore
e7795851d2 8271707: migrate tests to use jdk.test.whitebox.WhiteBox
Reviewed-by: lmesnik, dholmes
2022-07-08 15:55:14 +00:00
Xue-Lei Andrew Fan
82a8bd7e92 8287596: Reorg jdk.test.lib.util.ForceGC
Reviewed-by: rriggs
2022-07-06 14:23:44 +00:00
Thomas Schatzl
834189527e 8289739: Add G1 specific GC breakpoints for testing
Reviewed-by: kbarrett, iwalulya
2022-07-06 09:39:25 +00:00
Leonid Mesnik
4cdb97893c 8289098: clean up ported serviceability/jvmti tests
Reviewed-by: kevinw, sspitsyn
2022-06-24 18:13:23 +00:00
Roger Riggs
fdc8455c45 8288495: [test] Make OutputAnalyzer exception more informative
Reviewed-by: lmesnik, naoto, jpai, dholmes
2022-06-24 13:46:32 +00:00
Matthias Baesken
444a0d98ac 8284977: MetricsTesterCgroupV2.getLongValueEntryFromFile fails when named value doesn't exist
Reviewed-by: sgehwolf, mdoerr
2022-06-15 06:39:23 +00:00
Mandy Chung
a50b06e851 8287867: Bad merge of jdk/test/lib/util/ForceGC.java causing test compilation error
Reviewed-by: dcubed
2022-06-06 22:33:18 +00:00
Calvin Cheung
124ba45fb8 8287101: CDS should check for file truncation for all regions
Reviewed-by: iklam, coleenp
2022-06-06 21:56:01 +00:00
Mandy Chung
2e332c2760 8287671: Adjust ForceGC to invoke System::gc fewer times for negative case
Reviewed-by: rriggs, bchristi, xuelei
2022-06-06 21:11:37 +00:00
Xue-Lei Andrew Fan
28c112fcf0 8287685: [BACKOUT] JDK-8287384 Speed up jdk.test.lib.util.ForceGC
Reviewed-by: dcubed
2022-06-03 15:47:19 +00:00
Ioi Lam
67ecd30327 8287398: Allow concurrent execution of hotspot docker tests
Reviewed-by: shade, mseledtsov, sgehwolf
2022-06-01 15:51:47 +00:00
Xue-Lei Andrew Fan
d5b6c7bde1 8287384: Speed up jdk.test.lib.util.ForceGC
Reviewed-by: rriggs, bchristi, dfuchs, mchung
2022-05-31 17:44:54 +00:00
Ioi Lam
ec97da93c1 8287352: DockerTestUtils::execute shows incorrect elapsed time
Reviewed-by: stuefe, mseledtsov
2022-05-27 04:32:05 +00:00
Alexey Ivanov
9b7e42c0f0 8284209: Replace remaining usages of 'a the' in source code
Reviewed-by: lancea, wetmore, dfuchs, iris, jjg, ihse
2022-05-24 20:08:11 +00:00
Alexey Ivanov
e0d361cea9 8284191: Replace usages of 'a the' in hotspot and java.base
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Alan Bateman
15f15830f0 8287008: Improve tests for thread dumps in JSON format
Reviewed-by: cjplummer
2022-05-24 06:20:53 +00:00
Calvin Cheung
087bccfe28 8286978: SIGBUS in libz during CDS initialization
Reviewed-by: iklam
2022-05-20 17:51:47 +00:00
Sibabrata Sahoo
dbda0e2bda 8286969: Add a new test library API to execute kinit in SecurityTools.java
Reviewed-by: rhalade, weijun
2022-05-19 06:05:57 +00:00
Erik Gahlin
ac7e019232 8286925: Move JSON parser used in JFR tests to test library
Reviewed-by: mgronlun, alanb
2022-05-18 15:07:29 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Matthias Baesken
9d2f591e6a 8285987: executing shell scripts without #! fails on Alpine linux
Reviewed-by: mdoerr, goetz
2022-05-05 12:45:32 +00:00
Sibabrata Sahoo
0462d5a252 8285452: Add a new test library API to replace a file content using FileUtils.java
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: weijun, dfuchs
2022-05-04 06:56:16 +00:00
Xue-Lei Andrew Fan
ffca23a531 8284490: Remove finalizer method in java.security.jgss
Reviewed-by: rriggs, dfuchs, weijun
2022-05-03 14:14:09 +00:00
Stuart Marks
b2c33f0f86 8282120: optimal capacity tests and test library need to be cleaned up
Reviewed-by: naoto
2022-04-20 18:43:54 +00:00
Weijun Wang
9ce2d75d0b 8278449: Improve keychain support
Reviewed-by: ahgross, rhalade, mullan
2022-04-19 22:18:33 +00:00
Fei Yang
5905b02c0e 8276799: Implementation of JEP 422: Linux/RISC-V Port
Co-authored-by: Yadong Wang <yadonn.wang@huawei.com>
Co-authored-by: Yanhong Zhu <zhuyanhong2@huawei.com>
Co-authored-by: Feilong Jiang <jiangfeilong@huawei.com>
Co-authored-by: Kun Wang <wangkun49@huawei.com>
Co-authored-by: Zhuxuan Ni <nizhuxuan@huawei.com>
Co-authored-by: Taiping Guo <guotaiping1@huawei.com>
Co-authored-by: Kang He <hekang6@huawei.com>
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Xiaolin Zheng <yunyao.zxl@alibaba-inc.com>
Co-authored-by: Kuai Wei <kuaiwei.kw@alibaba-inc.com>
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: ihse, dholmes, rriggs, kvn, shade
2022-03-24 09:22:46 +00:00
Ioi Lam
de4f04cb71 8253495: CDS generates non-deterministic output
Reviewed-by: erikj, kbarrett, ccheung, ihse
2022-03-16 03:12:48 +00:00
Weijun Wang
fc918a73d0 8281234: The -protected option is not always checked in keytool and jarsigner
Reviewed-by: hchao, mullan
2022-03-02 14:07:26 +00:00
Aleksey Shipilev
847a99b53d 8281822: Test failures on non-DTrace builds due to incomplete DTrace* flags handling
Reviewed-by: dholmes, kvn
2022-02-16 20:08:27 +00:00
Mahendra Chhipa
0f3d3ac32c 8061729: Update java/net tests to eliminate dependency on sun.net.www.MessageHeader and some other internal APIs
Reviewed-by: dfuchs
2022-02-16 16:43:15 +00:00
Leo Korinth
2604a88fbb 8281585: Remove unused imports under test/lib and jtreg/gc
Reviewed-by: dholmes, sspitsyn
2022-02-14 12:05:16 +00:00
Alex Menkov
86c24b319e 8240908: RetransformClass does not know about MethodParameters attribute
Reviewed-by: cjplummer, sspitsyn
2022-02-03 15:51:16 +00:00
Kevin Walls
63a00a0df2 8272777: Clean up remaining AccessController warnings in test library
Reviewed-by: rriggs, sspitsyn
2022-02-03 10:10:45 +00:00
Chris Plummer
16e0ad0ad0 8270199: Most SA tests are skipped on macosx-aarch64 because all executables are signed
Reviewed-by: dholmes, kevinw
2022-01-26 18:06:05 +00:00
Erik Gahlin
7acc4c7dfe 8280058: JFR: StreamUtils::getJfrRepository(Process) should print stdout and stderr
Reviewed-by: mgronlun
2022-01-18 17:14:42 +00:00
Yumin Qi
1228b2f1f8 8261455: Automatically generate the CDS archive if necessary
Reviewed-by: iklam, ccheung
2022-01-13 00:23:05 +00:00
Yumin Qi
a6903f806a 8279018: CRC calculation in CDS should not include _version and _head_size
Reviewed-by: iklam, ccheung
2021-12-22 16:14:59 +00:00
Jesper Wilhelmsson
803cb8a768 Merge 2021-12-21 21:58:05 +00:00
Erik Gahlin
fffa73c1ef 8269425: 2 jdk/jfr/api/consumer/streaming tests failed to attach
Reviewed-by: mgronlun
2021-12-17 09:49:44 +00:00
Weijun Wang
1f1db838ab 8278186: org.jcp.xml.dsig.internal.dom.Utils.parseIdFromSameDocumentURI throws StringIndexOutOfBoundsException when calling substring method
Reviewed-by: mullan
2021-12-15 17:00:55 +00:00
Chris Plummer
54c9a99663 8278643: CoreUtils.getCoreFileLocation() should print out the size of the core file found
Reviewed-by: amenkov, lmesnik, sspitsyn
2021-12-15 01:25:53 +00:00
Roger Riggs
03f647f4bb 8278028: [test-library] Warnings cleanup of the test library
Reviewed-by: dfuchs, mchung, naoto, lancea, lmesnik
2021-12-14 19:54:54 +00:00
Michael McMahon
bc31ccc95b 8278312: Update SimpleSSLContext keystore to use SANs for localhost IP addresses
Reviewed-by: dfuchs
2021-12-09 17:38:49 +00:00
Zhengyu Gu
5a036ace01 8277990: NMT: Remove NMT shutdown capability
Reviewed-by: stuefe, shade
2021-12-07 17:42:08 +00:00
Volker Simonis
40fef2311c 8275908: Record null_check traps for calls and array_check traps in the interpreter
Reviewed-by: chagedorn, mdoerr
2021-11-26 16:21:15 +00:00
Ioi Lam
a77d8ddf11 8276787: Improve warning messages for -XX:+RecordDynamicDumpInfo
Reviewed-by: ccheung, stuefe
2021-11-16 21:03:33 +00:00
Aleksei Efimov
2ca4ff87b7 8244202: Implementation of JEP 418: Internet-Address Resolution SPI
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: dfuchs, alanb, michaelm, chegar
2021-11-11 14:33:58 +00:00
Ioi Lam
8747882e4c 8276790: Rename GenericCDSFileMapHeader::_base_archive_path_offset
Reviewed-by: dholmes, ccheung
2021-11-09 07:18:06 +00:00
Yumin Qi
603bba282a 8271420: Extend CDS custom loader support to Windows platform
Reviewed-by: iklam, ccheung
2021-11-03 23:16:15 +00:00
Severin Gehwolf
9971a2cab3 8275735: [linux] Remove deprecated Metrics api (kernel memory limit)
Reviewed-by: hseigel, mchung
2021-11-02 10:39:41 +00:00
Alex Menkov
5bbc8d3cb2 8274621: NullPointerException because listenAddress[0] is null
Reviewed-by: sspitsyn, lmesnik, cjplummer
2021-10-29 21:38:24 +00:00
Markus Grönlund
72a976ef05 8266936: Add a finalization JFR event
Reviewed-by: coleenp, mchung, egahlin
2021-10-18 16:52:36 +00:00
Yumin Qi
8de77634c4 8273152: Refactor CDS FileMapHeader loading code
Reviewed-by: ccheung, iklam
2021-10-07 21:33:32 +00:00
Lin Zang
340c715c3b 8273929: Remove GzipRandomAccess in heap dump test
Reviewed-by: cjplummer, sspitsyn
2021-10-07 11:57:18 +00:00
Lin Zang
a74c099d67 8252842: Extend jmap to support parallel heap dump
Reviewed-by: rschmelter, cjplummer
2021-09-23 07:00:06 +00:00
Sean Mullan
6d91a3eb7b 8269039: Disable SHA-1 Signed JARs
Reviewed-by: weijun
2021-09-21 13:45:47 +00:00
Thejasvi Voniadka
a5108a605e 8273646: Add openssl from path variable also in to Default System Openssl Path in OpensslArtifactFetcher
Reviewed-by: weijun
2021-09-21 09:01:09 +00:00
Ioi Lam
b98290444a 8271073: Improve testing with VM option VerifyArchivedFields
Reviewed-by: ccheung, minqi
2021-09-16 23:26:55 +00:00
Yumin Qi
9c5441c9c4 8271569: Clean up the use of CDS constants and field offsets
Reviewed-by: iklam, dholmes
2021-09-16 17:56:07 +00:00
Aleksey Shipilev
46af82e5b0 8273804: Platform.isTieredSupported should handle the no-compiler case
Reviewed-by: dholmes
2021-09-16 07:52:24 +00:00
Aleksey Shipilev
2d13fb21af 8273803: Zero: Handle "zero" variant in CommandLineOptionTest.java
Reviewed-by: dholmes
2021-09-16 07:51:17 +00:00
Aleksey Shipilev
8fbcc8239a 8273494: Zero: Put libjvm.so into "zero" folder, not "server"
Reviewed-by: ihse, sgehwolf
2021-09-15 08:56:53 +00:00
Mikhailo Seledtsov
7c26ddb575 8195809: [TESTBUG] jps and jcmd -l support for containers is not tested
Reviewed-by: hseigel, kevinw
2021-09-13 17:36:23 +00:00
Ioi Lam
922e86f4ff 8273522: Rename test property vm.cds.archived.java.heap to vm.cds.write.archived.java.heap
Reviewed-by: minqi, ccheung, mseledtsov
2021-09-10 22:45:26 +00:00
Aleksey Shipilev
8c16f485b3 8273487: Zero: Handle "zero" variant in runtime tests
Reviewed-by: alanb, dholmes
2021-09-09 08:07:00 +00:00
Yumin Qi
d414a88d88 8273240: Dynamic test ArchiveConsistency.java should use CDSArchiveUtils
Reviewed-by: iklam
2021-09-03 20:36:48 +00:00
Ioi Lam
655ea6d42a 8270489: Support archived heap objects in EpsilonGC
Reviewed-by: shade, ccheung
2021-09-01 16:50:11 +00:00
Mikhailo Seledtsov
ec63957f9d 8272398: Update DockerTestUtils.buildJdkDockerImage()
Reviewed-by: iignatyev, hseigel
2021-08-17 23:22:44 +00:00
Abdul Kolarkunnu
a199ebc017 8272581: sun/security/pkcs11/Provider/MultipleLogins.sh fails after JDK-8266182
Reviewed-by: weijun
2021-08-17 16:54:32 +00:00
Abdul Kolarkunnu
ed57cf1cf3 8266182: Automate manual steps listed in the test jdk/sun/security/pkcs12/ParamsTest.java
Reviewed-by: hchao, ssahoo, xuelei, weijun
2021-08-17 12:12:22 +00:00
Ioi Lam
36e2ddad4d 8272348: Update CDS tests in anticipation of JDK-8270489
Reviewed-by: ccheung, minqi
2021-08-16 03:22:52 +00:00
Lin Zang
09ab86b40c 8269909: getStack method in hprof.parser.Reader should use try-with-resource
Reviewed-by: dholmes, cjplummer, sspitsyn
2021-08-12 23:16:24 +00:00
Matthias Baesken
089e83bf1b 8266490: Extend the OSContainer API to support the pids controller of cgroups
Reviewed-by: sgehwolf, lucy
2021-08-10 07:40:21 +00:00
Jesper Wilhelmsson
c8add223a1 Merge
Reviewed-by: mikael
2021-08-03 01:01:25 +00:00
Yumin Qi
84f0231031 8271419: Refactor test code for modifying CDS archive contents
Reviewed-by: iklam, ccheung
2021-08-02 23:07:43 +00:00
Igor Ignatyev
ada58d13f7 8067223: [TESTBUG] Rename Whitebox API package
Reviewed-by: dholmes, kvn
2021-08-02 20:44:18 +00:00
Sean Mullan
fc80a6b493 8270946: X509CertImpl.getFingerprint should not return the empty String
Reviewed-by: weijun
2021-07-27 13:49:03 +00:00
Jesper Wilhelmsson
9935440ede Merge 2021-07-23 01:41:14 +00:00
Patricio Chilano Mateo
e7f9009315 8270085: Suspend during block transition may deadlock if lock held
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Reviewed-by: dcubed, dholmes, coleenp
2021-07-22 14:30:19 +00:00
Yi Yang
afe957cd97 8268698: Use Objects.check{Index,FromToIndex,FromIndexSize} for java.base
Reviewed-by: mchung, rriggs
2021-07-13 02:23:16 +00:00
Jesper Wilhelmsson
ec975c6a05 Merge 2021-07-10 01:23:18 +00:00
Mikhailo Seledtsov
46c610cbd8 8269840: Update Platform.isDefaultCDSArchiveSupported() to return true for aarch64 platforms
Reviewed-by: minqi, iklam
2021-07-09 01:55:33 +00:00
Lin Zang
4fbcce119b 8269886: Inaccurate error message for compressed hprof test
Reviewed-by: dholmes, cjplummer
2021-07-08 06:30:24 +00:00
Alex Menkov
7a23c9cbb7 8260540: serviceability/jdwp/AllModulesCommandTest.java failed with "Debuggee error: 'ERROR: transport error 202: bind failed: Address already in use'"
Reviewed-by: sspitsyn, kevinw
2021-06-29 18:39:42 +00:00
Patricio Chilano Mateo
2fd7943ec1 8256425: Obsolete Biased Locking in JDK 18
Reviewed-by: kvn, dholmes, dcubed, rrich
2021-06-24 18:54:41 +00:00
miao zheng
2c29d790ca 8269206: A small typo in comment in test/lib/sun/hotspot/WhiteBox.java
Reviewed-by: dholmes
2021-06-23 08:51:35 +00:00
Paul Sandoz
091bc4a1a6 8268353: Test libsvml.so is and is not present in jdk image
Reviewed-by: sviswanathan, jiefu
2021-06-17 14:55:18 +00:00
Erik Gahlin
e11f70aeb6 8003216: Add JFR event indicating explicit System.gc() call
Reviewed-by: jbachorik, mgronlun, tschatzl
2021-06-10 14:10:51 +00:00
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