Commit Graph

40 Commits

Author SHA1 Message Date
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