Commit Graph

742 Commits

Author SHA1 Message Date
Sean Mullan
dfd58a59ff 8207258: Distrust TLS server certificates anchored by Symantec Root CAs
Reviewed-by: weijun
2018-12-11 13:22:20 -05:00
Roman Kennke
8b62a2ee9d 8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
Co-authored-by: Christine Flood <chf@redhat.com>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Zhenygu Gu <zgu@redhat.com>
Co-authored-by: Andrew Haley <aph@redhat.com>
Co-authored-by: Andrew Dinn <adinn@redhat.com>
Co-authored-by: Mario Torre <mtorre@redhat.com>
Reviewed-by: kvn, roland, shade, coleenp, lmesnik, pliden, jgeorge, ihse, erikj
2018-12-10 15:47:44 +01:00
Hamlin Li
bb50695ff9 8211975: move testlibrary/jdk/testlibrary/OptimalCapacity.java to top-level library
Reviewed-by: igerasim
2018-11-28 15:34:43 +08:00
Mikhailo Seledtsov
48073dc0d0 8213914: [TESTBUG] Several JFR VM events are not covered by tests
Fixed several relevant test issues, added a test to check event coverage

Reviewed-by: egahlin
2018-11-27 15:52:34 -08:00
Weijun Wang
b1c4b461f1 8214100: use of keystore probing results in unnecessary exception thrown
Reviewed-by: mullan
2018-11-27 08:51:20 +08:00
Ioi Lam
6d269930fd 8213587: Speed up CDS dump time by using resizable hashtables
Reviewed-by: jiangli, coleenp, gziemski
2018-11-20 20:00:15 -08:00
Sean Coffey
73ad9c4a00 8148188: Enhance the security libraries to record events of interest
Reviewed-by: egahlin, mullan, weijun, xuelei
2018-11-20 13:12:48 +00:00
Igor Ignatyev
01e4948836 8216180: [AOT] compiler/intrinsics/bigInteger/TestMulAdd.java crashed with AOT enabled
Reviewed-by: kvn
2019-01-23 16:36:45 -08:00
Boris Ulasevich
11c5e7968b 8213794: ARM32: disable TypeProfiling, CriticalJNINatives, Serviceablity tests for ARM32
Reviewed-by: dholmes
2018-11-16 19:29:40 +03: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
Weijun Wang
a58b68027b 8194534: Manifest better support
Reviewed-by: mchung, igerasim
2018-04-17 15:55:49 +08:00
John Jiang
4fe2edae59 8211978: Move testlibrary/jdk/testlibrary/SimpleSSLContext.java and testkeys to network testlibrary
Move SimpleSSLContext.java and testkeys to test/lib/jdk/test/lib/net

Reviewed-by: chegar
2018-10-15 22:47:03 +08:00
Alex Menkov
24fb839864 8195703: BasicJDWPConnectionTest.java: 'App exited unexpectedly with 2'
Reviewed-by: sspitsyn, jcbeyler
2018-10-12 10:08:11 -07:00
Hamlin Li
7014d0bdf8 8186610: move ModuleUtils to top-level testlibrary
Reviewed-by: alanb, iignatyev
2018-10-12 10:35:24 +08:00
Weijun Wang
5cf91fc60e 8210395: Add doc to SecurityTools.java
Reviewed-by: mullan
2018-10-08 13:25:39 +08: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
Igor Ignatyev
ab8c7f710c 8211171: move JarUtils to top-level testlibrary
Reviewed-by: alanb
2018-10-01 14:54:46 -07:00
Leo Korinth
b31408a667 8196341: Add JFR events for parallel phases of G1
Reviewed-by: tschatzl, sangheki
2018-09-21 18:57:18 +02:00
Erik Joelsson
e5b9edac53 8211037: Load jib jars dynamically from JibArtifactManager
Reviewed-by: ihse
2018-09-24 13:51:22 -07:00
Igor Ignatyev
82ed2a5fc0 8210894: remove jdk/testlibrary/Asserts
Reviewed-by: serb
2018-09-21 14:50:06 -07:00
Coleen Phillimore
bad4a92e55 8210559: ClassLoaderData Symbols can leak
Unrefcount the symbol names when the CLD is destroyed

Reviewed-by: lfoltan, jiangli, iklam
2018-09-14 12:10:28 -04:00
Ioi Lam
4e74846da8 8210523: runtime/appcds/cacheObject/DifferentHeapSizes.java crash
Reviewed-by: jiangli, ccheung
2018-09-12 17:45:22 -07:00
Igor Ignatyev
21a0458422 8210112: remove jdk.testlibrary.ProcessTools
Reviewed-by: alanb, sspitsyn, jcbeyler
2018-09-07 14:01:52 -07:00
Calvin Cheung
9d6230fe4e 8185145: AppCDS custom loader support on Mac OS X
Reviewed-by: dholmes, gziemski
2018-09-06 09:30:47 -07:00
Igor Ignatyev
315e71f87e 8210039: move OSInfo to top level testlibrary
Reviewed-by: serb, chegar, alanb, dfuchs
2018-09-04 14:35:59 -07:00
Goetz Lindenmaier
73537725b1 8210259: [testbug] IncompatibleOptions.java fails if VM configured without ZGC
Reviewed-by: pliden, kbarrett
2018-09-01 18:15:27 +02:00
Patricio Chilano Mateo
16b92a561c 8206424: Use locking for cleaning ProtectionDomainTable
ServiceThread is now in charge of cleaning ProtectionDomainTable entries

Reviewed-by: coleenp, iklam
2018-08-31 10:22:04 -04:00
Patricio Chilano Mateo
ff17347f8f 8209844: MemberNameLeak.java fails when ResolvedMethod entry is not removed
Fixed MemberNameLeak.java due to intermittent failure after 8206423

Reviewed-by: coleenp, lfoltan
2018-08-29 10:46:59 -04:00
Igor Ignatyev
370abe471f 8210022: remove jdk.testlibrary.ProcessThread, TestThread and XRun
Reviewed-by: sspitsyn, jcbeyler
2018-08-27 21:50:52 -07:00
Calvin Cheung
c3adb5f87d 8207211: [TESTBUG] Remove excessive output from CDS/AppCDS tests
Changed the value of the property test.cds.copy.child.stdout to false so that stdout of child processes are logged in files. Each stdout and stderr file will have a unique name.

Reviewed-by: iklam
2018-08-23 09:35:09 -07:00
Ioi Lam
5b2c081460 8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
Relocate and patch archive regions if necessary

Reviewed-by: jiangli, tschatzl
2018-08-14 09:59:37 -07:00
Weijun Wang
73ac71d532 8209771: jdk.test.lib.Utils::runAndCheckException error
Reviewed-by: dholmes
2018-08-22 11:10:45 +08:00
Christian Thalinger
d9bb30837a 8209689: Compiler.isGraalEnabled should not check jvmci.Compiler property
Reviewed-by: kvn
2018-08-21 14:14:28 +02:00
Igor Ignatyev
89a9456801 8209740: typo in test/lib/jtreg/SkippedException.java
Reviewed-by: kvn
2018-08-20 11:37:57 -07:00
Mikhailo Seledtsov
b71faed5df 8209164: [TESTBUG] Apply jtreg skipped status to cds tests
Added the SkippedException where applicable

Reviewed-by: iklam, jiangli
2018-08-15 10:00:16 -07:00
Vladimir Kozlov
4729c903c6 8207153: Some intrinsic tests take long time to run
Reviewed-by: thartmann, mikael
2018-08-13 13:24:55 -07:00
Igor Ignatyev
17891770c1 8208655: use JTreg skipped status in hotspot tests
Reviewed-by: kvn, hseigel, iklam
2018-08-02 14:40:55 -07:00
Phil Race
1387c87093 Merge 2018-07-26 10:00:40 -07:00
Goetz Lindenmaier
c798b68ee1 8207830: [aix] disable jfr in build and tests
Reviewed-by: kvn, erikj
2018-07-20 09:46:57 +02:00
Phil Race
28e828130d Merge 2018-07-19 10:17:22 -07:00
Bob Vandette
6fc4db4799 8206456: [TESTBUG] docker jtreg tests fail on systems without cpuset.effective_cpus / cpuset.effective_mem
Reviewed-by: mbaesken, mchung
2018-07-19 12:57:12 -04:00
Roger Riggs
e1ee13c514 8205610: [TESTLIB] Improve listing of open file descriptors
Reviewed-by: lancea
2018-07-17 17:14:03 -04:00
Robin Westberg
b11c7752e8 8003209: JFR events for network utilization
Reviewed-by: mgronlun, egahlin
2018-06-28 15:06:55 +02:00
Goetz Lindenmaier
991f2f8c0b 8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
Reviewed-by: jgeorge, cjplummer
2018-06-25 23:04:21 +02:00
Roger Riggs
49396d51e9 8202292: java/io/FileOutputStream/UnreferencedFOSClosesFd.java fails with "raw fd count wrong"
Reviewed-by: bpb, mchung
2018-06-22 16:06:43 -04:00
Volker Simonis
79a09bd98b 8204965: Fix '--disable-cds' and disable CDS on AIX by default
Reviewed-by: erikj, jiangli, stuefe, dholmes
2018-06-19 09:43:53 +02:00
Leonid Mesnik
c83edf5ae6 8203491: [TESTBUG] Port heapdump tests into java
Reviewed-by: coleenp, jgeorge
2018-06-13 16:32:02 -07:00
Bob Vandette
deba30de16 Merge 2018-06-12 18:53:38 -04:00
Bob Vandette
38646663d9 8203357: Container Metrics
Reviewed-by: mchung, dholmes, mseledtsov, rehn
2018-06-12 18:51:45 -04:00
Per Lidén
e7af7a4aef 8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Aleksey Shipilev
a1518ac9b2 8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
Introduce Epsilon GC

Reviewed-by: rkennke, ihse, pliden, eosterlund, lmesnik, jgeorge, stefank
2018-06-12 15:03:00 +02:00
Vladimir Kozlov
42e75b8c79 8202611: [GRAAL] Exclude CMS GC testing from runs with Graal
Reviewed-by: iignatyev, kbarrett
2018-06-07 17:38:34 -07:00
Erik Gahlin
4ed3a3f4fa 8202094: jdk/jfr/api/recording/event/TestEventTime.java intermittently times out
Reviewed-by: mgronlun
2018-06-04 23:07:33 +02:00
John Jiang
ef6e99081d 8199388: Test development for ChaCha20 and Poly1305 algorithms
Add test for ChaCha20KeyGenerator

Reviewed-by: mullan
2018-06-01 17:45:10 -07:00
Gustavo Romero
c4b890cac0 8203669: PPC64: Fix jtreg RTM tests after "8203305: Improve TM detection for enabling RTM on Linux / POWER9"
Reviewed-by: mdoerr, goetz
2018-05-21 13:23:55 -04:00
Erik Gahlin
6e9b05acb2 8201331: Better test cleanup for jdk/jfr/api/consumer/TestRecordingFile.java
Reviewed-by: tbell, mgronlun
2018-05-22 23:27:54 +02:00
Valerie Peng
9e8d9fe1ee 8146293: Add support for RSASSA-PSS Signature algorithm
Add RSASSA-PSS key and signature support to SunRsaSign provider

Reviewed-by: wetmore
2018-05-21 23:40:52 +00:00
Erik Gahlin
a060be188d 8199712: Flight Recorder
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Adam Petcher
f5a247a85f 8171277: Elliptic Curves for Security in Crypto
Implementations of X25519 and X448 key agreement in SunEC

Reviewed-by: mullan
2018-05-08 09:47:28 -04:00
Jiangli Zhou
20edc74068 8193213: Make the UseAppCDS option obsolete
8182731: Odd handling of -XX:-UseAppCDS and -XX:SharedArchiveFile

Application class data sharing is enabled without -XX:+UseAppCDS. SharedArchiveFile is now a product flag.

Reviewed-by: dholmes, ihse, erikj, ccheung
2018-04-30 16:59:05 -04:00
Brian Burkhalter
cdd3f0ac39 8202284: FileChannel and FileOutpuStream variants of AtomicAppend should fail silently on macOS >= 10.13
Reviewed-by: chegar
2018-04-30 13:40:39 -07:00
Calvin Cheung
1515d70930 8197959: [TESTBUG] Some (App)CDS tests require modification due to the removal of the Java EE and CORBA modules
Reviewed-by: iklam, mseledtsov
2018-04-25 14:08:19 -07:00
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
Sharath Ballal
5a215fce15 6760477: Update SA to include stack traces in the heap dump
Update SA to include HPROF_TRACE and HPROF_FRAME records in the heap dump

Reviewed-by: dsamersoff
2017-06-02 12:29:08 +05:30
Ekaterina Pavlova
ddaeb2dd0e 8181124: Get rid of compiler.testlibrary.rtm.predicate
Reviewed-by: kvn
2017-06-01 17:34:34 -07:00
Lana Steuck
c532946b18 Merge 2017-05-31 17:41:14 +00:00
Igor Ignatyev
1ccebabd11 8180805: move RandomFactory to the top level testlibrary
Reviewed-by: bpb, rriggs
2017-05-30 21:14:02 -07:00
Igor Ignatyev
88c4940eeb 8180888: move jdk.testlibrary.JarUtils to the top level testlibrary
Reviewed-by: weijun
2017-05-30 21:07:14 -07:00
Igor Ignatyev
6d94dde813 8180887: move FileUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-30 14:56:43 -07:00
Jesper Wilhelmsson
28e7f4d892 Merge 2017-05-29 20:48:08 +02:00
Igor Ignatyev
88ef6ea270 8180399: move jdk.testlibrary.LockFreeLogManager to the top level test library
Reviewed-by: psandoz, mchung
2017-05-24 15:21:14 -07:00
Igor Ignatyev
662fb55c95 8180724: move ModuleInfoMaker to the top level testlibrary
Reviewed-by: psandoz, mchung
2017-05-24 14:16:20 -07:00
Igor Ignatyev
6823a2068e 8180802: move jdk.testlibrary.management.ThreadMXBeanTool to top level testlibrary
Reviewed-by: psandoz
2017-05-24 13:53:44 -07:00
Jesper Wilhelmsson
5e0f80c3a5 Merge 2017-05-23 15:30:44 +02:00
Igor Ignatyev
f6eceb7756 8180793: move jdk.test.lib.wrappers.* to jdk.test.lib package
Reviewed-by: mchung
2017-05-22 15:28:29 -07:00
Igor Ignatyev
834902117a 8180644: move jdk.testlibrary.NetworkConfiguration to the top level test library
Reviewed-by: psandoz
2017-05-19 13:33:17 -07:00
Lana Steuck
b14aeae266 Merge 2017-05-19 04:11:57 +00:00
Igor Ignatyev
3bb25bd637 8180391: move SerializationUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-18 15:43:43 -07:00
Igor Ignatyev
ec43007637 8180395: move FilterClassLoader and ParentLastURLClassLoader to top level testlibrary
Reviewed-by: psandoz
2017-05-18 10:22:19 -07:00
Mikhailo Seledtsov
a84f29106b 8180393: [TESTBUG] CDSTestUtils property test.cds.copy.child.stdout should be true by default
Changed default value of test.cds.copy.child.stdout to true

Reviewed-by: hseigel, iklam, sspitsyn
2017-05-17 11:28:56 -07:00
Igor Ignatyev
c4d2b21964 8180195: remove jaxp testlibrary
Reviewed-by: fyuan, joehw
2017-05-16 09:04:54 -07:00
Vladimir Kozlov
e761c26f5e Merge 2017-05-12 17:47:14 -07:00
Dmitry Fazunenko
b36aed5938 Merge 2017-05-12 15:21:56 +00:00
Dmitry Fazunenko
dc04d5f6b2 8180183: Confusing javadoc comment to the getOutput(ProcessBuilder processBuilder) method of jdk.test.lib.process.ProcessTools
Reviewed-by: shade, iignatyev
2017-05-12 18:06:36 +03:00
Igor Ignatyev
b3e118a15e 8179930: jdk.test.lib.artifacts.ArtifactResolver::resolve should return Map instead of HashMap
Reviewed-by: mseledtsov, gtriantafill, vlivanov
2017-05-11 16:35:01 -07:00
Igor Ignatyev
ce8579b6c7 8180004: jdk.test.lib.DynamicVMOption should be moved to jdk.test.lib.management
Reviewed-by: mseledtsov, vlivanov
2017-05-11 13:58:54 -07:00
Igor Ignatyev
25e5108c99 8180037: move jdk.test.lib.InMemoryJavaCompiler to a separate package
Reviewed-by: mseledtsov, vlivanov
2017-05-11 13:58:05 -07:00
Lana Steuck
4af06cd4a1 Merge 2017-05-05 04:45:50 +00:00
Igor Ignatyev
428338949d 8179516: add Utils.COMPILE_JDK constant
Reviewed-by: dholmes, gtriantafill
2017-05-02 09:30:58 -07:00
Jesper Wilhelmsson
daf2c467cf Merge 2017-04-24 21:34:23 +02:00
Rachel Protacio
3843553139 8165896: Use "open" flag from JVM_DefineModule to export all module packages
Implemented VM side of open modules, which export all their packages unqualifiedly. Automatic modules and unnamed modules are treated internally as open modules.

Reviewed-by: alanb, hseigel, lfoltan
2017-04-24 12:06:51 -04:00
Lana Steuck
4116ca2195 Merge 2017-04-22 00:21:19 +00:00
Jan Lahoda
e8d9a616be 8178012: Finish removal of -Xmodule:
Setting jtreg to use --patch-module instead of -Xmodule:, avoiding -Xmodule: in InMemoryJavaCompiler.

Reviewed-by: alanb
2017-04-19 13:37:34 +02:00
Mikhailo Seledtsov
654c500294 Merge 2017-04-18 23:52:57 +02:00
Mikhailo Seledtsov
a2df1d89a2 8177728: [TESTBUG] Improve CDS test utils
Improved and expanded CDS test utils; updated CDS tests to use new utils.

Reviewed-by: jiangli, ccheung
2017-04-18 14:18:37 -07:00
Jesper Wilhelmsson
0f73d626bf Merge 2017-04-18 20:31:23 +02:00
Kim Barrett
6ac2631be4 8169517: WhiteBox should provide concurrent GC phase control
Added WhiteBox API and G1 implementation.

Reviewed-by: shade, dfazunen
2017-04-13 16:39:23 -04:00
Igor Ignatyev
363e8e03cd 8164944: Refactor ProcessTools to get rid of dependency on java.management
Reviewed-by: kvn, gtriantafill, dfazunen, dholmes
2017-04-12 19:28:01 -07:00
Igor Ignatyev
47d5482383 8178695: jdk.test.lib.artifacts.ArtifactContainer has to be public
Reviewed-by: ctornqvi, gtriantafill
2017-04-12 18:46:34 -07:00
Igor Ignatyev
05d6891929 8178415: remove ProcessTools::getPlatformSpecificVMArgs from testlibary
Reviewed-by: dholmes
2017-04-11 21:59:23 -07:00
Igor Ignatyev
66c8241a1e 8178340: remove unneeded "throws" from ProcessTools::createJavaProcessBuilder
Reviewed-by: dholmes
2017-04-11 13:55:51 -07:00
Roger Riggs
a062fd2f75 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: alanb, bpb
2017-04-11 14:20:00 -04:00
Coleen Phillimore
35e8bc3d30 Merge 2017-03-14 12:33:59 -04:00
Christian Tornqvist
a200f792bf 8175300: Enable artifact resolution for jtreg tests
Reviewed-by: ihse, gtriantafill
2017-03-10 12:56:41 -05:00
Harold Seigel
10d73cfb6e 8172307: Remove ununsed JVM API JVM_GetModuleByPackageName()
Remove get_module_by_package_name() etc., and unneeded test.

Reviewed-by: sspitsyn, gtriantafill
2017-03-01 08:00:02 -05:00
Jamsheed Mohammed C M
1d2bf95b12 8173679: Disable ProfileTrap code and UseRTMLocking in emulated client Win32
Made emulatedVM related changes in cli verfiy*SameVM.

Reviewed-by: kvn
2017-02-03 19:26:48 -08:00
Jesper Wilhelmsson
ca84662142 Merge 2017-01-24 00:30:23 +01:00
Weijun Wang
b99aeee96a 8172975: SecurityTools.keytool() needs to accept user input
Reviewed-by: asmotrak
2017-01-21 08:38:52 +08:00
Andrey Nazarov
dd3c209701 8071566: Improve testing for multi-version JAR file maker tool
Reviewed-by: chegar
2017-01-18 20:36:15 +03:00
Jamsheed Mohammed C M
0ac0d9ac29 8166002: Emulate client build on platforms with reduced virtual address space
The default VM ergonomics on Windows/x86 (32-bit) are changed to client like.

Reviewed-by: kvn, iveresov
2017-01-17 21:39:22 -08:00
Amanda Jiang
49fb7e0721 8171423: Relocate /test/lib/security/SecurityTools.java
Reviewed-by: weijun, xuelei
2017-01-12 17:15:26 -08:00
Jini George
6feb27b225 8159127: hprof heap dumps broken for lambda classdata
Added class dump records for lambda related anonymous classes in the heap dump

Reviewed-by: dsamersoff, sspitsyn
2016-12-20 13:33:57 +03:00
Vladimir Kozlov
2c220df590 8171008: Integrate AOT compiler into JDK
Reviewed-by: erikj, mchung, twisti, simonis
2016-12-11 18:50:18 -08:00
Jesper Wilhelmsson
f8dd00abb0 Merge 2016-12-08 16:18:03 +01:00
Alan Bateman
18af38e927 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: alanb, mchung
2016-12-01 08:56:28 +00:00
Goetz Lindenmaier
5ac345714f 8166837: [TESTBUG] Fix tests on Linux/s390x
Reviewed-by: kvn, simonis
2016-10-31 11:43:07 +01:00
Dmitry Samersoff
30545918f5 8165500: TestJpsJar shouldn't jar all test.classpath directories
Refactor test to better handle errors

Reviewed-by: sspitsyn
2016-10-25 14:49:48 +03:00
Stanislav Smirnov
5066e19a73 8163984: Fix license and copyright headers in jdk9 under test/lib
Reviewed-by: dholmes
2016-10-18 21:54:50 -04:00
Dean Long
c5f131cf62 Merge 2016-09-20 16:34:44 -04:00
George Triantafillou
f1c915d9f0 8165889: Remove jdk.test.lib.unsafe.UnsafeHelper
Remove use of setAccessible() to get Unsafe.

Reviewed-by: shade, lfoltan
2016-09-14 08:24:55 -04:00
Goetz Lindenmaier
66dfee55f8 8165315: [ppc] Port "8133749: NMT detail stack trace cleanup"
Also add methods to check for slow/fastdebug to Platform.java.

Reviewed-by: simonis, cjplummer, dholmes
2016-09-02 15:04:47 +02:00
Alejandro Murillo
f8670dc8b3 Merge 2016-09-01 15:20:56 -07:00
Goetz Lindenmaier
7f3eef9f4d 8165235: [TESTBUG] RTM tests must check OS version
Reviewed-by: simonis, fzhinkin
2016-09-01 16:46:59 +02:00
Igor Veresov
2ea9e88218 Merge 2016-08-26 14:47:51 -07:00
Christian Tornqvist
8214dd5bfc 8164737: Remove Unsafe dependency from ProcessTools
Reviewed-by: gtriantafill, dholmes
2016-08-25 08:39:06 -04:00
Dmitrij Pochepko
0391d651ef 8164608: [TESTBUG] compiler/profiling tests fail to compile
Reviewed-by: ctornqvi
2016-08-23 19:30:35 +03: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
Michail Chernov
af3260fbe8 8161604: TestNewSizeFlags fails with RuntimeException: max new size != MaxNewSize value
Reviewed-by: sangheki, tschatzl
2016-08-02 15:21:53 +03:00
Igor Ignatyev
03fffa8949 8151280: update hotspot tests to use vm.compMode instead of their own logic
Update hs compiler tests to use vm.compMode instead of their own logic and to get VM mode using j.t.l.Platform

Reviewed-by: kvn, dpochepk
2016-07-13 18:03:18 +03:00
Jon Masamitsu
1536a179ac Merge 2016-06-10 15:03:10 -07:00
Jon Masamitsu
0818ea7b64 8026752: Cancel MetaspaceGC request for a CMS concurrent collection after GC
Reviewed-by: sjohanss, sangheki
2016-06-10 11:40:02 -07:00
Dmitry Fazunenko
f4fdc1991e 8154096: Extend WhiteBox API with methods which retrieve from VM information about available GC
Reviewed-by: kbarrett, iignatyev
2016-05-30 19:39:09 +04:00
Bharadwaj Yadavalli
386e74649e Merge 2016-04-21 15:03:58 -04:00
Kirill Zhaldybin
df65dd52de 8135200: Add White Box method that enumerates G1 old regions with less than specified liveness and collects statistics
Reviewed-by: tschatzl, dfazunen, iignatyev
2016-04-20 19:16:32 +03:00
Bharadwaj Yadavalli
29afb1741f Merge 2016-04-12 14:17:30 -04:00
Alejandro Murillo
4e7243481c Merge 2016-04-11 14:21:24 -07:00
Chris Hegarty
cd42ea0121 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 19:49:32 +01:00
Tobias Hartmann
1f9273ca3b 8153514: Whitebox API should allow compilation of <clinit>
Added Whitebox API method to trigger compilation of static initializer.

Reviewed-by: zmajo, kvn, iignatyev
2016-04-07 16:51:21 +02:00
Jamsheed Mohammed C M
3a64859282 8067247: Crash: assert(method_holder->data() == 0 ...) failed: a) MT-unsafe modification of inline cache
Made invoker LambdaForm instance & its compiled form lifetime tightly coupled.

Reviewed-by: vlivanov
2016-04-04 02:10:46 -07:00
Chris Hegarty
c56035afa6 Merge 2016-03-22 17:02:40 +00:00
Alan Bateman
cc661dd1c6 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, tbell
2016-03-17 19:03:53 +00:00
Volker Simonis
ad1400a66d 8150646: Add support for blocking compiles though whitebox API
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Reviewed-by: kvn, ppunegov, simonis, neliasso
2016-03-03 16:20:13 +01:00
Nils Eliasson
be1f49a6fd 8148159: [TESTBUG] TestCompilerDirectivesCompatibility tests fails on non-tiered server VMs
Add whitebox for checking available compilers

Reviewed-by: kvn
2016-02-25 10:43:04 +01:00
Konstantin Shefov
516438f368 8141616: Add new methods to the java Whitebox API
Reviewed-by: kvn, dpochepk
2016-02-20 11:43:13 +03:00
Tobias Hartmann
0cc6e0bd94 Merge 2016-01-28 09:49:17 +01:00
Filipp Zhinkin
2489b87d30 8066599: Add methods to check VM mode to c.o.j.t.Platform
Reviewed-by: iignatyev
2015-12-22 10:18:55 +03:00
Kirill Zhaldybin
280ec689c6 8132723: Add tests which check that soft references to humongous objects should work correctly
8132724: Add tests which check that weak references to humongous objects should work correctly

Reviewed-by: jmasa, dfazunen
2015-12-17 16:20:09 +03:00
Andreas Eriksson
ed2eaccb97 8129419: heapDumper.cpp: assert(length_in_bytes > 0) failed: nothing to copy
Reviewed-by: dsamersoff
2015-12-14 15:17:52 +01:00
Joseph Provino
a2f7f15886 Merge 2015-12-07 17:04:33 +00:00
Jaroslav Bachorik
e469a43b3e 8141526: Allow to collect stdout/stderr from the FinalizationRunner even before the process returns
Reviewed-by: dsamersoff
2015-12-03 12:00:37 +01:00
Nils Eliasson
3e1d204969 Merge 2015-12-01 19:18:30 +01:00
Vladimir Ivanov
9a7ac042da 8072008: Emit direct call instead of linkTo* for recursive indy/MH.invoke* calls
Reviewed-by: jrose, dlong, aph, forax
2015-11-30 13:39:15 +03:00
Christian Thalinger
67b29d8e80 8139170: JVMCI refresh
Reviewed-by: kvn
2015-11-04 07:01:03 -10:00
Nils Eliasson
8668b40839 8137167: JEP165: Compiler Control: Implementation task
Compiler Control JEP

Reviewed-by: roland, twisti, zmajo, simonis
2015-10-20 18:07:24 +02:00
Dean Long
09553a9b68 Merge 2015-10-17 15:41:02 -04:00
Christian Thalinger
4308ec2ec8 8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 11:31:14 -10:00
Jesper Wilhelmsson
71a6d3208e Merge 2015-10-07 00:46:44 +02:00
Dmitry Samersoff
b5c574a1ac 8086134: Deadlock detection fails to attach to core file
Test reimplemented for jtreg

Reviewed-by: jbachorik
2015-09-24 20:39:41 +03:00
Nils Eliasson
7c1b9aaf06 8135068: Extract method matchers from CompilerOracle
Ecapsulate code to enable reuse

Reviewed-by: roland, kvn
2015-09-18 10:09:38 +02: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
Michail Chernov
092ecab11f 8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests
Reviewed-by: iignatyev, dfazunen
2015-09-01 21:12:52 +03:00
Jim Laskey
9e1818b72e 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:11:20 -03:00
Zoltan Majo
b22c47c39c 8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
Add a new method, sun.hotspot.WhiteBox.isIntrinsicAvailable, that can be used to determine if an intrinsic is available.

Reviewed-by: kvn, jrose
2015-07-28 19:20:33 +02:00
Ioi Lam
325d83e689 8140802: Clean up and refactor of class loading code for CDS
Reviewed-by: jiangli, acorn
2015-07-22 20:14:16 -07:00
Katja Kantserova
c797c78253 8032763: Remove use of sun.misc.Ref from hprof parser in testlibrary
Reviewed-by: jbachorik, alanb
2015-07-09 12:56:38 +02:00
Jean-Francois Denise
b37540a72f Merge 2015-06-25 20:47:45 +00:00
Jean-Francois Denise
7d75d2a98a 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:00:28 +02:00
Thomas Schatzl
0a609732d7 8129602: Incorrect GPL header causes RE script to create wrong output
Fix up GPL headers so that the RE script works.

Reviewed-by: stefank, dholmes, coleenp
2015-06-24 17:45:44 +02:00
Thomas Schatzl
4fe28ee318 8079208: gc/g1/TestLargePageUseForAuxMemory.java fails due to not considering page allocation granularity for setup
The test case needs to use the OS'es allocation granularity to properly determine the boundary values for the test.

Reviewed-by: dfazunen, jmasa, ecaspole
2015-06-24 09:41:11 +02:00
Dmitry Samersoff
c62e4b8ee3 8081576: serviceability/sa tests fail due to LingeredApp process fails to start
Provide a API to corrctly terminate LingeredApp

Reviewed-by: sspitsyn
2015-06-23 12:30:57 +03:00
Mikhailo Seledtsov
8993ac36f0 8098821: Crash in system dictionary initialization with shared strings
Map string regions after the compressed class base is known

Reviewed-by: iklam, dcubed, coleenp
2015-06-17 21:43:26 +00:00
Jiangli Zhou
2aebdad393 8015086: add interned strings to the shared archive
Support saving interned strings in shared CDS archive.

Reviewed-by: coleenp, iklam, pliden
2015-06-12 17:03:04 -04:00
David Lindholm
d4b084e6b0 8080947: Add uint as a valid VM flag type
Reviewed-by: brutisso, ddmitriev
2015-06-04 14:39:07 +02:00
Katja Kantserova
d16d3eca51 8081037: serviceability/sa/ tests time out on Windows
Reviewed-by: jbachorik, sla, dsamersoff
2015-05-28 16:31:47 +02:00
Katja Kantserova
7c3182fb56 8079200: Fix heapdump tests to validate heapdump after jhat is removed
Reviewed-by: sla
2015-05-07 16:11:04 +02:00
Katja Kantserova
cd5c5b1c01 8059047: Extract parser/validator from jhat for use in tests
Reviewed-by: sla
2015-04-29 15:08:15 +02:00
Vladimir Kozlov
c93d41705e Merge 2015-04-16 14:01:18 -07:00
Thomas Schatzl
80819a736a 8058354: SPECjvm2008-Derby -2.7% performance regression on Solaris-X64 starting with 9-b29
Allow use of large pages for auxiliary data structures in G1. Clean up existing interfaces.

Reviewed-by: jmasa, pliden, stefank
2015-04-07 10:41:24 +02:00
Kirill Zhaldybin
f921f125fb 8043225: Make whitebox API functions more stable
Added checks for null parameters where applicable

Reviewed-by: dholmes, iignatyev
2015-04-02 19:09:06 +03:00
Tobias Hartmann
db2fbf3152 8075214: SIGSEGV in nmethod sweeping
Changed implementation of forceNMethodSweep() to request sweep from existing sweeper thread.

Reviewed-by: kvn, mgerdin, dholmes
2015-03-30 07:53:19 +02:00
Jesper Wilhelmsson
21f2b5a934 Merge 2015-03-26 15:00:20 +01:00
Jesper Wilhelmsson
bde99a285a Merge 2015-03-16 18:13:33 +01:00
Andrey Zakharov
02c878c431 8061715: gc/g1/TestShrinkAuxiliaryData15.java fails with java.lang.RuntimeException: heap decommit failed - after > before
Test for auxiliary data in G1 fails as they cannot precisely measure this aux data size. I've added whitebox method to get this size.

Reviewed-by: tschatzl, jwilhelm, mgerdin
2015-03-16 17:49:35 +03:00
Daniel D. Daugherty
8e167a30dd Merge 2015-03-13 09:14:54 -07:00
Igor Ignatyev
8a235045ca 8074980: add WhiteBox API to get a flag value for a method
Reviewed-by: kvn, fzhinkin
2015-03-12 19:11:17 +03:00
Chris Plummer
defff58acd 8069111: Investigate NMT detail tracking support for 32bit ARM
Fix native stack walking issues arm arm32. Disable on thumb2. Removed support for NMT without NMT detail.

Reviewed-by: dholmes, bdelsart
2015-03-10 19:56:18 -07:00
Tobias Hartmann
ccaded21d2 8072774: bigapps/Weblogic+medrec/nowarnings fails due to CodeHeap 'profiled nmethods' exhaustion
Store profiled code in the non-profiled code heap (and vice versa) if the code cache is really full.

Reviewed-by: kvn, iveresov
2015-02-23 08:48:19 +01:00
Filipp Zhinkin
0cb9e3ec88 8068272: Extend WhiteBox API with methods that check monitor state and force safepoint
Reviewed-by: kvn, iignatyev
2014-12-30 11:05:01 +03:00
Igor Ignatyev
4480b4d8b4 Merge 2014-12-24 19:31:28 +03:00
Vladimir Kozlov
1bda5768f3 8067972: Bring changes made to WhiteBox.java in 8047290 to that file new location in the top repo
Reviewed-by: jcoomes
2014-12-22 11:19:30 -08:00
Igor Ignatyev
58f0841a56 8028595: WhiteBox API for stress testing of TieredCompilation
Reviewed-by: kvn
2014-12-17 12:21:28 +03:00
Dmitrij Pochepko
f2e6ba9b09 8059613: JEP-JDK-8043304: Test task: JMX- tests
Reviewed-by: thartmann, twisti
2014-12-13 00:10:55 +03:00
Tobias Hartmann
38a4e8874b 8066433: Move Whitebox test library to top level repository
Moved Whitebox test library to top level repository.

Reviewed-by: iignatyev, sla, mr
2014-12-12 09:36:44 +01:00