Jon Masamitsu
ab48e9abc1
Merge
2014-08-22 07:12:23 -07:00
Leonid Mesnik
6715fc0bed
8055098: WB API should be extended to provide information about size and age of object
...
Extend the WhiteBox API to provide information about the size and age of objects. Further add a mechanism to trigger a young GC.
Reviewed-by: tschatzl, sjohanss
2014-08-21 16:44:41 +02:00
Serguei Spitsyn
bc23c9949e
Merge
2014-08-15 11:25:55 -07:00
Jon Masamitsu
5a22518210
Merge
2014-08-14 18:42:08 +00:00
Ioi Lam
bbe6f51f81
8046070: Class Data Sharing clean up and refactoring
...
Cleaned up CDS to be more configurable, maintainable and extensible
Reviewed-by: dholmes, coleenp, acorn, mchung
2014-08-12 17:29:00 -07:00
Zhengyu Gu
097085961f
8054938: [TESTBUG] Wrong WhiteBox.java was pushed by JDK-8044140
...
Reserved WhiteBox.java pushed by JDK-8044140
Reviewed-by: ccheung, hseigel
2014-08-12 12:39:02 -07:00
George Triantafillou
69e7c05210
8044140: Create NMT (Native Memory Tracking) tests for NMT2
...
Create new/modify existing tests for NMT2, which is an internal redesign to address scalability issues in the first implementation.
Reviewed-by: ctornqvi, zgu
2014-08-11 07:30:46 -07:00
Stefan Karlsson
2880629908
8054823: Add size_t as a valid VM flag type
...
Reviewed-by: kvn, vlivanov, sla
2014-08-11 14:03:06 +02:00
Andrey Zakharov
dd95f0a0c2
8011397: JTREG needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot
...
Reviewed-by: kvn, iignatyev, mgerdin
2014-08-11 17:12:41 +04:00
Zhengyu Gu
f0cf82f571
8046598: Scalable Native memory tracking development
...
Enhance scalability of native memory tracking
Reviewed-by: coleenp, ctornqvi, gtriantafill
2014-08-07 12:18:58 -07:00
Igor Ignatyev
e6b1dd586f
8032449: Get rid of JMX in test/compiler
...
Reviewed-by: kvn
2014-07-19 00:34:20 +04:00
Stefan Karlsson
1b001a2afd
8049421: G1 Class Unloading after completing a concurrent mark cycle
...
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Stefan Karlsson
ef1e9b3c80
8049420: Backout 8048248 to correct attribution
...
Reviewed-by: ehelin, brutisso
2014-07-07 12:37:11 +02:00
Stefan Karlsson
8c3aced316
8048248: G1 Class Unloading after completing a concurrent mark cycle
...
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Vladimir Kozlov
655b317ad1
Merge
2014-06-06 11:37:23 -07:00
Christian Tornqvist
fd282f6e9a
8044364: runtime/RedefineFinalizer test fails on windows
...
Rewrote the test in pure Java, added RedefineClassHelper utility class
Reviewed-by: coleenp, allwin, gtriantafill, dsamersoff
2014-06-02 19:08:18 +02:00
Katja Kantserova
d48bda2c52
8043915: Tests get ClassNotFoundException: com.oracle.java.testlibrary.StreamPumper
...
Reviewed-by: sla, allwin
2014-06-02 11:20:14 +02:00
Kirill Shirokov
20674a667a
8032970: Add stack size check methods to WhiteBox API
...
Reviewed-by: twisti, kvn, iignatyev
2014-05-24 00:04:21 +04:00
Igor Ignatyev
f99eed3f24
8038756: new WB API :: get/setVMFlag
...
Reviewed-by: vlivanov, sla
2014-05-30 17:20:48 +04:00
Dmitry Fazunenko
049c499423
8039489: Refactor test framework for dynamic VM options
...
Reviewed-by: jmasa, ehelin, jwilhelm
2014-05-20 18:25:14 +04:00
Lev Priima
a138550830
8039260: c.o.j.t.ProcessTools::createJavaProcessBuilder(boolean, String... ) must also take TestJavaOptions
...
Reviewed-by: kvn, iignatyev
2014-04-17 18:54:09 +04:00
Filipp Zhinkin
75990f8013
8039499: Add all common classes used by tests on RTM support to testlibrary
...
Reviewed-by: kvn, iignatyev
2014-04-11 00:35:11 +04:00
Filipp Zhinkin
04d2944301
8039497: Testlibrary should be updated to provide information about all VM types as well as access to Unsafe
...
Reviewed-by: kvn, iignatyev
2014-04-11 00:34:56 +04:00
Anton Ivanov
2b032b10e1
8038953: Add sanity tests for BMI1 and LZCNT instructions
...
Reviewed-by: kvn, iignatyev
2014-04-11 00:34:51 +04:00
Nils Eliasson
72ef7a4f74
Merge
2014-03-27 08:03:57 -07:00
Filipp Zhinkin
45dd523fc6
8038193: Add command line option tests for BMI options
...
Reviewed-by: kvn, iignatyev
2014-03-27 17:29:41 +04:00
Nils Eliasson
c3f6e08de3
Merge
2014-03-27 14:15:42 +01:00
Igor Ignatyev
d9187e9799
8038240: new WB API to get nmethod
...
Reviewed-by: morris, kvn
2014-03-27 11:17:26 +04:00
Filipp Zhinkin
8167043964
8035857: Add tests to verify correctness of operations with BMI1 and LZCNT instructions
...
Reviewed-by: iveresov, kvn, iignatyev
2014-03-22 00:26:48 +04:00
Nils Eliasson
f457cabe80
Merge
2014-03-11 11:26:14 -04:00
Andrey Zakharov
29387ae1a7
8037510: CMM Testing: Check Min/MaxHeapFreeRatio flags allows to shrink the heap when using ParallelGC
...
Added tests for Min/MaxHeapFreeRatio flags
Reviewed-by: jwilhelm, tschatzl
2014-03-17 16:29:13 +01:00
Staffan Larsen
e1e850a132
8035150: ShouldNotReachHere() in ConstantPool::copy_entry_to
...
Reviewed-by: dcubed, mgronlun
2014-02-26 15:47:44 +01:00
Christian Tornqvist
56c2d62e5e
8034781: [TESTBUG] runtime/ClassFileUnsupportedClassFileVersion.java unable to find or load main class
...
Passed empty string to ProcessBuilder which caused problems on Linux, fixed by checking string length
Reviewed-by: lfoltan, sla, mseledtsov
2014-02-12 20:40:02 +01:00
Christian Tornqvist
dd25d6fed0
8016644: Improve UnsupportedClassVersionError message
...
Improved the UnsupportedClassVersionError message to hopefully be more user friendly
Reviewed-by: coleenp, dholmes, twisti
2014-02-10 17:49:17 +01:00
Nils Eliasson
0b6a5f744a
8007270: Make IsMethodCompilable test work with tiered
...
Only c2 compiles counts toward cutoff
Reviewed-by: kvn, roland
2014-01-28 15:05:46 +01:00
Alkesey Timofeev
722d25b2dd
8027237: New tests on ReservedSpace/VirtualSpace classes
...
Three tests added: 1) test stressing VirtualSpace by resizing it constantly 2) test running unit tests in several threads 3) test checking protected area in ReservedHeapSpace class
Reviewed-by: stefank, zgu
2013-11-08 16:48:21 +01:00
Fredrik Arvidsson
e731a6d078
8026808: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java failed with unexpected exit value
...
Fixes a bug with vmArgs when using JDKToolLauncher
Reviewed-by: sla, dholmes
2013-10-23 10:24:28 +02:00
Fredrik Arvidsson
44c3da1ed0
8026199: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java Compilation failed
...
Fixed a compilation failure due to changed method name
Reviewed-by: sla, jbachorik
2013-10-11 13:48:02 +02:00
Fredrik Arvidsson
d3094c0e8c
6313383: SA: Update jmap to support HPROF binary format "JAVA PROFILE 1.0.2"
...
Adds support for large(>4G) heap dumps in hprof format. Adds tests and updates testlibrary.
Reviewed-by: sla, allwin
2013-10-04 13:44:49 +02:00
Igor Veresov
51a9303c03
Merge
2013-10-03 16:38:21 +04:00
Igor Ignatyev
74b0d053ee
8024678: Java source files in hotspot/test/testlibrary should not use @author tag in JavaDoc
...
Reviewed-by: twisti
2013-09-28 12:32:09 +04:00
Christian Tornqvist
18550f7774
8024492: [TESTBUG] Test library class Platform.java needs to include methods for missing OS's and architectures
...
Added methods for 32bit, arm, ppc, x64 and x86
Reviewed-by: zgu, hseigel, mseledtsov
2013-09-25 17:47:51 +02:00
Christian Tornqvist
81505a6a57
8024677: [TESTBUG] Move tests for classes in /testlibrary
...
Moved the tests to /testlibrary_tests and updated TEST.groups
Reviewed-by: dholmes, sla
2013-09-25 17:47:22 +02:00
Niclas Adlertz
afef481831
Merge
2013-09-19 18:01:39 +02:00
Erik Helin
2cab7ea037
8024718: Metaspace performance counters and memory pools should report the same data
...
Reviewed-by: stefank, dholmes, coleenp
2013-09-17 20:59:07 +02:00
Christian Tornqvist
0051ace82a
8014905: [TESTBUG] Some hotspot tests should be updated to divide test jdk and compile jdk
...
Change JDKToolFinder to look in compile.jdk if the executable cannot be found in test.jdk
Reviewed-by: dholmes, hseigel
2013-09-17 16:55:53 +02:00
Thomas Schatzl
b4e927d2a9
Merge
2013-09-16 09:41:03 +02:00
Stefan Karlsson
860b5dcec7
8024650: Don't adjust MaxMetaspaceSize up to MetaspaceSize
...
Reviewed-by: jwilhelm, brutisso, tschatzl
2013-09-13 22:22:14 +02:00
Thomas Schatzl
962008f22b
8010722: assert: failed: heap size is too big for compressed oops
...
Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation.
Reviewed-by: stefank, dholmes
2013-09-11 16:25:02 +02:00
Igor Ignatyev
c73d393947
8012447: Java CTW implementation
...
Reviewed-by: vlivanov, kvn, twisti
2013-09-05 16:38:04 +04:00
Chris Plummer
a8f6ab1f52
8020829: JT_HS: 2 runtime NMT tests fail on platforms if NMT detail is not supported
...
Make tests query a new WhiteBox API to see if NMT detail is supported, and behave properly if it is not supported.
Reviewed-by: dholmes, coleenp
2013-08-23 12:36:32 -07:00
Rickard Bäckman
4cb52fc49d
Merge
2013-08-22 18:37:14 +02:00
Igor Ignatyev
caa3d02130
8022832: Add WB APIs for OSR compilation
...
Reviewed-by: kvn
2013-08-14 23:50:23 +04:00
Erik Helin
3ea9481c2f
8014659: NPG: performance counters for compressed klass space
...
Reviewed-by: mgerdin, coleenp, hseigel, jmasa, ctornqvi
2013-08-07 16:47:32 +02:00
Harold Seigel
82c3d36026
Merge
2013-08-05 08:55:06 -07:00
Harold Seigel
1d5b67ee67
7073961: [TESTBUG] closed/runtime/4845371/DBB.java failed on solaris 10 X65
...
Added a x86 64-bit Solaris shared library and rewrote test in Java
Reviewed-by: dholmes, ctornqvi
2013-08-04 16:30:53 -04:00
Mikhailo Seledtsov
fd111e0d53
8020614: OutputAnalyzer.shouldHaveExitValue() should print stdout/stderr output
...
OutputAnalyzer.shouldHaveExitValue() should print stdout/stderr output
Reviewed-by: kvn, ctornqvi, dholmes
2013-08-01 22:15:40 +02:00
Mikhailo Seledtsov
e1219b994d
8015324: Create tests for CDS feature
...
Wrote tests for use of CDS with ObjectAlignmentInBytes CL option
Reviewed-by: coleenp, ctornqvi, hseigel
2013-06-13 22:00:06 +02:00
Mikael Vidstedt
de93893f4e
8013726: runtime/memory/ReserveMemory.java fails due to 'assert(bytes % os::vm_allocation_granularity() == 0) failed: reserve block size'
...
Fix regression test to work on all platforms
Reviewed-by: ctornqvi, dholmes
2013-05-21 09:43:23 -07:00
Coleen Phillimore
7a409b13e0
8005056: NPG: Crash after redefining java.lang.Object
...
Need to walk array class vtables replacing old methods too if j.l.o redefined
Reviewed-by: sspitsyn, dcubed, ctornqvi
2013-05-13 15:37:08 -04:00
Thomas Schatzl
9b9b515fb8
8006088: Incompatible heap size flags accepted by VM
...
Make processing of minimum, initial and maximum heap size more intiutive by removing previous limitations on allowed values, and make error reporting consistent. Further, fix errors in ergonomic heap sizing.
Reviewed-by: johnc, jwilhelm, tamao
2013-05-06 17:19:42 +02:00
Mikael Vidstedt
9e8a3585b0
8012015: Use PROT_NONE when reserving memory
...
Reserved memory had PROT_READ+PROT_WRITE access on Linux/bsd, now changed to PROT_NONE.
Reviewed-by: dholmes, ctornqvi
2013-04-29 11:03:49 -07:00
Alejandro Murillo
d60d7014ed
Merge
2013-04-19 09:58:05 -07:00
David Katleman
738e12d844
Merge
2013-04-17 12:38:58 -07:00
David Katleman
fd2735329e
Merge
2013-04-15 14:19:58 -07:00
David Katleman
6e2f758312
8012048: JDK8 b85 source with GPL header errors
...
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:08 -07:00
Bharadwaj Yadavalli
c660647bfa
Merge
2013-04-11 17:16:39 -07:00
Igor Ignatyev
33e3f6b59b
8011971: WB API doesn't accept j.l.reflect.Constructor
...
Reviewed-by: kvn, vlivanov
2013-04-16 10:04:01 -07:00
Igor Ignatyev
ca90185607
8007288: Additional WB API for compiler's testing
...
Reviewed-by: kvn, vlivanov
2013-04-09 09:54:17 -07:00
Daniel D. Daugherty
78339229bb
Merge
2013-04-05 10:38:08 -07:00
Mikael Gerdin
c17d80e53d
Merge
2013-04-04 19:07:32 +02:00
Leonid Mesnik
a4300aa98b
8009763: Add WB test for String.intern()
...
Add convenience method in StringTable, add WhiteBox method and simple sanity test
Reviewed-by: mgerdin, zgu
2013-04-02 11:28:33 +02:00
Christian Tornqvist
c435269587
8009125: Add NMT tests for Virtual Memory operations
...
Tests added for Reserve/Commit/Uncommit/Unreserve operations
Reviewed-by: zgu, mgerdin
2013-04-03 21:41:33 +02:00
Erik Helin
d67e393dd6
8009408: gc/metaspace/ClassMetaspaceSizeInJmapHeap.java fails with "exit code 1"
...
Reviewed-by: brutisso, sla, ctornqvi
2013-03-23 09:16:37 +01:00
Mikael Gerdin
1d468be4b1
8006753: fix failed for JDK-8002415 White box testing API for HotSpot
...
Modify WhiteBoxAPI to use interface classes from test/testlibrary instead, add ClassFileInstaller to resolve the boot class path issue
Reviewed-by: ctornqvi, dsamersoff, coleenp, kvn
2013-02-19 18:45:49 +01:00
Christian Tornqvist
25189c1a6a
8006413: Add utility classes for writing better multiprocess tests in jtreg
...
Add a few utility classes to test/testlibrary to support multi process testing in jtreg tests. Added a test case for one of the utility classes. Also reviewed by Vitaly Davidovich
Reviewed-by: brutisso, dholmes, vlivanov, nloodin, mgerdin
2013-01-25 10:14:22 +01:00