Commit Graph

180 Commits

Author SHA1 Message Date
Bhanu Prakash Gopularam
e836d6ec10 8196540: [Testbug] java/security/AccessController/DoPrivAccompliceTest.java doesn't handle unrelated warnings
Reviewed-by: mullan
2018-04-25 12:39:05 +05:30
Jesper Wilhelmsson
72b7487789 Merge 2018-04-13 14:06:39 +02:00
Jesper Wilhelmsson
468c1c19bb Merge 2018-04-13 03:05:19 +02:00
Weijun Wang
d9c5e142c0 8180570: Refactor sun/security/mscapi shell tests to plain java tests
Reviewed-by: asmotrak
2018-04-08 17:01:20 +08:00
Calvin Cheung
4ef7c919a2 8194812: Extend class-data sharing to support the module path
8199360: Rework the support for the 'ignored' module options in CDS

Reviewed-by: jiangli, lfoltan, iklam, mseledtsov
2018-04-10 11:43:40 -07:00
Per Lidén
940bc841a7 8199927: Make WhiteBox more GC agnostic
Reviewed-by: shade, eosterlund
2018-03-28 11:38:47 +02:00
Chris Plummer
e1afb3bc99 8198655: test/lib/jdk/test/lib/apps/LingeredApp shouldn't inherit cout/cerr
No longer force stderr to console. Copy app's output to Sytem.err.

Reviewed-by: sspitsyn, dholmes, iignatyev, clanger
2018-03-24 13:39:07 -07:00
Jesper Wilhelmsson
1155614f99 Merge 2018-03-20 04:36:44 +01:00
David Holmes
feea6b06c3 8199768: jdk/test/lib/compiler/CompilerUtils.java needs to provide more control over compilation
Reviewed-by: psandoz, alanb
2018-03-19 17:46:49 -04:00
Hamlin Li
d76f461144 8199215: Re-examine getFreePort method in test infrastructure library
Reviewed-by: alanb
2018-03-16 18:15:31 +08:00
Xueming Shen
ffac9ae61c 8196748: tools/jar tests need to tolerate unrelated warnings
Reviewed-by: dholmes
2018-03-13 00:22:14 -07:00
Erik Joelsson
1926d24306 8199352: The Jib artifact resolver in test lib needs to print better error messages
Reviewed-by: iignatyev, ihse
2018-03-09 19:20:19 +01:00
Stefan Karlsson
08193e2dfb 8198225: os::attempt_reserve_memory_at records memory as committed
Reviewed-by: shade, zgu, stuefe
2018-02-21 12:40:07 +01:00
Stefan Johansson
adfa2c958d 8198433: Remove WhiteBox extension point
Reviewed-by: ehelin, dholmes, tschatzl
2018-03-02 10:09:05 +01:00
Ioi Lam
96eb1f1fdd 8191375: Add high-level jtreg VMProps to filter out CDS tests
Added vm.cds.archived.java.heap

Reviewed-by: mseledtsov, jiangli, ccheung, gtriantafill
2018-02-15 11:39:42 -08:00
Ioi Lam
a74437edc9 8179249: Improve process output analysis in CDS tests
Added new API TestCommon.run(...).assertNormalExit(...), etc

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

Reviewed-by: minqi, coleenp
2018-02-14 17:20:59 -05:00
Matthias Baesken
9465174f72 8197412: Enable docker container related tests for linux s390x
Reviewed-by: goetz, dsamersoff
2018-02-09 10:18:19 +01:00
Matthias Baesken
b68ed88ffb 8196062: Enable docker container related tests for linux ppc64le
Also fix cgroup subsystem recognition

Reviewed-by: goetz, dsamersoff, bobv
2018-02-07 16:16:50 +01:00
Volker Simonis
7617012f55 8191927: Enable AppCDS for custom loaders on all 64-bit Linux and AIX
Added "@requires vm.cds.custom.loaders" to mark tests related to custom loaders

Reviewed-by: simonis, mseledtsov
2017-11-28 09:47:04 -08:00
Jiangli Zhou
570a828dfc 8191504: [TESTBUG] CDSTestUtils.isUnableToMap() should check OptionalData region mapping failure
Check all regions for mapping failure in CDSTestUtils.isUnableToMap().

Reviewed-by: iklam, ccheung, mseledtsov
2017-11-27 20:35:56 -05:00
Mikhailo Seledtsov
eadfc06bd0 8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration
Created tests for the feature

Reviewed-by: bobv, iignatyev
2017-11-16 19:01:01 -08: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
Jiangli Zhou
c2d94a0073 8189840: CheckCachedResolvedReferencesApp has no cached resolved references
Add WhiteBox.areOpenArchiveHeapObjectsMapped() for CheckCachedResolvedReferencesApp to check and skip test when open archive heap objects are not mapped.

Reviewed-by: iklam, ccheung
2017-11-07 18:48:17 -05:00
Jesper Wilhelmsson
7884ab9ccf Merge 2017-10-30 21:23:10 +01:00
Weijun Wang
69db146335 8180289: jarsigner treats timestamped signed jar invalid after the signer cert expires
Reviewed-by: mullan
2017-10-27 21:11:15 +08:00
Mikhailo Seledtsov
ac63626f1f 8181592: [TESTBUG] Docker test utils and docker jdk basic test
Implemented docker test utilities and basic test

Reviewed-by: iignatyev, lmesnik, gtriantafill
2017-10-10 19:18:36 -07:00
Ioi Lam
94760c8130 8188828: Intermittent ClassNotFoundException: jdk.test.lib.Platform for compiler tests
As a work around, remove dependency from jdk.test.lib.FileInstaller to other classes in this library

Reviewed-by: iignatyev, gtriantafill, kvn, dholmes
2017-10-09 13:11:25 -07:00
Jesper Wilhelmsson
b708f0ddbd Merge 2017-10-04 21:02:13 +02:00
Goetz Lindenmaier
92fc72a86b 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack
Reviewed-by: ihse, dholmes
2017-09-25 23:42:58 -04:00
Andrey Nazarov
71e91d9c2e 8185458: Added comment for Files.notExists in FileUtils test library
Reviewed-by: chegar
2017-09-22 11:49:53 -07:00
Igor Ignatyev
8afe0e3b01 8188117: jdk/test/lib/FileInstaller doesn't work for directories
Reviewed-by: mseledtsov, sspitsyn
2017-09-20 20:53:22 -07:00
Calvin Cheung
2a93b38ee9 8187124: [TESTBUG] TestInterpreterMethodEntries.java: Unable to create shared archive file
Added the current timestamp into the shared archive file name

Reviewed-by: mseledtsov, gtriantafill
2017-09-26 19:31:06 -07:00
George Triantafillou
d0ec3208a4 8149790: NegativeArraySizeException with hprof
Reviewed-by: lfoltan, ctornqvi, hseigel, dcubed
2017-08-16 14:49:18 -04:00
Jiangli Zhou
263d11de6d 8179302: Pre-resolve constant pool string entries and cache resolved_reference arrays in CDS archive
Shared class' constant pool resolved_references array is cached.

Co-authored-by: Thomas Schatzl <thomas.schatzl@oracle.com>
Reviewed-by: coleenp, iklam, tschatzl
2017-08-14 14:05:26 -04:00
Igor Ignatyev
f6b2ad32f7 8174202: jtreg AOT tests should not assume library extension of .so
Reviewed-by: kvn
2017-08-11 16:06:55 -07:00
Harold Seigel
abea66332b 8177741: Fix hotspot tests to use --patch-module instead of -Xmodule
Change InMemoryJavaCompiler.compile() to accept --patch-module instead of -Xmodule, and then change appropriate tests.

Reviewed-by: coleenp, gtriantafill
2017-08-10 11:11:52 -04:00
Goetz Lindenmaier
f399078a51 8185436: jtreg: introduce @requires property to disable cds tests
Reviewed-by: jiangli, mseledtsov, iklam
2017-08-01 16:03:06 +02:00
Ioi Lam
8cb80d6c43 8072061: Automatically determine optimal sizes for the CDS regions
See new C++ class MetaspaceClosure.

Reviewed-by: coleenp, jiangli, mseledtsov
2017-08-02 18:07:02 -07:00
Vladimir Kozlov
9bef3e632b Merge 2017-08-01 13:03:20 -07:00
Andrey Nazarov
d362d3fe3a 8184961: jdk.test.lib.util.FileUtils.deleteFileWithRetry0 should wait for absence of a file
Reviewed-by: bpb
2017-07-25 17:04:46 -07:00
John Jiang
618b1dbbfb 8177017: com/oracle/security/ucrypto/TestAES.java fails intermittently
Skips CFB128 related cases on Solaris pre-11.3 versions.

Reviewed-by: valeriep
2017-07-17 23:11:46 -07:00
Vladimir Kozlov
b3b17f73e2 Merge 2017-07-05 18:23:35 -07:00
Igor Ignatyev
d9cd3471bc 8182154: merge jdk.testlibrary.Platform and jdk.test.lib.Platform
Reviewed-by: sspitsyn, plevart
2017-06-27 08:43:15 -07:00
Lana Steuck
57b8a62f93 Merge 2017-06-23 23:18:26 +00:00
Alan Bateman
d45f906ec4 8181087: Module system implementation refresh (6/2017)
Reviewed-by: sspitsyn, hseigel
2017-06-16 09:20:15 -07:00
Ekaterina Pavlova
d222800a8b 8181820: jdk/test/lib/Platform should not depend on jdk/test/lib/Utils
Reviewed-by: alanb, chegar
2017-06-12 12:39:26 -07:00
Jesper Wilhelmsson
1edbd267cf Merge 2017-06-08 19:18:02 +02:00
Igor Ignatyev
d577ab1f77 8181335: remove packageless CompilerUtils
Reviewed-by: alanb
2017-06-06 19:53:35 -07:00
Rachel Protacio
c34ae22077 8176132: -XX:+PrintSharedSpaces should be converted to use Unified Logging
Converted -XX:+PrintSharedSpaces to -Xlog:cds=info

Reviewed-by: iklam, jiangli, mseledtsov
2017-06-05 13:14:04 -04:00