Commit Graph

754 Commits

Author SHA1 Message Date
Igor Veresov
d94fef24b5 Merge 2013-10-17 10:58:45 -07:00
Lois Foltan
21627fb02f 8024804: Crash when InterfaceMethodref resolves to Object.registerNatives
Added check for NULL prior to continuation of method look up to avoid runtime crash during look up of Object's superclass' methods.

Reviewed-by: coleenp, hseigel
2013-10-16 14:32:05 -04:00
Stefan Karlsson
9f6e8976d0 Merge 2013-10-15 07:10:09 -07:00
Mikael Gerdin
3b3afe75fb Merge 2013-10-15 04:29:21 -07:00
Per Lidén
c6e227a3e6 8024634: gc/startup_warnings tests can fail due to unrelated warnings
Reviewed-by: brutisso, jwilhelm, tamao
2013-10-15 11:44:47 +02:00
Per Lidén
908dd54639 8023158: hotspot/test/gc/7168848/HumongousAlloc.java fails 14 full gcs, expect 0 full gcs
Reviewed-by: brutisso, tschatzl
2013-10-15 11:38:47 +02:00
Thomas Schatzl
fa38a2edca 8026186: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Compilation failed
After a method rename in JDK-8014905 the mentioned test did not compile any more. Fix the uses of the affected method.

Reviewed-by: jwilhelm, mgerdin, jmasa
2013-10-15 11:18:42 +02:00
Rickard Bäckman
615376fb9b 8026844: Various Math functions needs intrinsification
Reviewed-by: kvn, twisti
2013-10-18 10:41:56 +02:00
Roland Westrelin
1b5bd82335 8024070: C2 needs some form of type speculation
Record unused type profile information with type system, propagate and use it.

Reviewed-by: kvn, twisti
2013-10-23 12:40:23 +02:00
Igor Ignatyev
1fbfd1734c 8026865: [TESTBUG] 'compiler/print/PrintInlining.java' should specify -XX:+UnlockDiagnosticVMOptions
Reviewed-by: twisti, iveresov
2013-10-21 09:21:41 +04:00
Igor Veresov
9bf565afeb Merge 2013-10-19 22:22:05 -07:00
Igor Ignatyev
50b8567c55 8023318: compiler/whitebox tests timeout with enabled TieredCompilation
Reviewed-by: kvn, twisti
2013-10-19 21:54:46 +04:00
Igor Ignatyev
fce1adef81 8026414: [TESTBUG] Tests for Tiered/NonTiered levels
Reviewed-by: twisti, iveresov
2013-10-19 21:54:44 +04:00
Stefan Johansson
3e9df3ecf1 8025661: Ill-formed -Xminf and -Xmaxf options values interpreted as 0
Using strtod() instead of atof() when parsing -Xminf and -Xmaxf.

Reviewed-by: brutisso, pliden
2013-10-14 14:21:34 +02:00
Calvin Cheung
b6b00269d9 Merge 2013-10-11 18:23:44 -07:00
John Coomes
e61cbf8d69 Merge 2013-10-11 08:27:21 -07: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
Rickard Bäckman
0e8081e57b 8025657: compiler/intrinsics/mathexact/ConstantTest.java fails on assert in lcm.cpp on solaris x64
Reviewed-by: kvn, twisti
2013-10-11 12:06:14 +02:00
David Chase
b1d7228bff 8026124: JSR-292 bug: java.nio.file.Path.toString cores dump
Catch problem case, assert it matches valid input, new test

Reviewed-by: jrose, twisti, kvn
2013-10-12 17:26:41 -04:00
Igor Veresov
db9a439624 Merge 2013-10-13 13:22:24 -07:00
Albert Noll
aef0d74e96 8023014: CodeSweeperSweepNoFlushTest.java fails with HS crash
Ensure ensure correct initialization of compiler runtime

Reviewed-by: kvn, twisti
2013-10-10 15:44:12 +02:00
Igor Veresov
f2e6d682a1 Merge 2013-10-08 07:08:27 -07:00
Mikhailo Seledtsov
2b82651ec0 8023796: [TESTBUG] Add -XX:-TransmitErrorReport to runtime/6888954/vmerrors.sh
Added -XX:-TransmitErrorReport to the test

Reviewed-by: stefank, ctornqvi
2013-10-06 16:13:50 +02:00
John Coomes
875078a4e0 Merge 2013-10-04 13:37:25 -07: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
Stefan Karlsson
3b34e78d20 8024838: Significant slowdown due to transparent huge pages
Don't turn on transparent huge pages (-XX:+UseTransparentHugePages) unless explicitly specified on the command line. This has the effect that large pages are never turned on Linux unless the user has explicitly enabled any of the large pages flags: -XX:+UseLargePages, -XX:+UseTransparentHugePages, -XX:+UseHugeTLBFS, and -XX:+UseSHM.

Reviewed-by: jwilhelm, tschatzl, brutisso
2013-10-05 10:14:58 +02:00
Calvin Cheung
48a315bb52 Merge 2013-10-04 21:00:43 -07:00
Igor Veresov
51a9303c03 Merge 2013-10-03 16:38:21 +04:00
Albert Noll
4f459e644f 8025656: compiler/8013496/Test8013496.sh fails on assert
Ensure the thread is in correct state; rewrote test in Java

Reviewed-by: kvn, twisti
2013-10-04 09:19:13 +02:00
Erik Helin
ac15ca0d6a Merge 2013-10-02 18:24:58 +02:00
Mikhailo Seledtsov
a97a2ad3c6 8025671: Test name changed, test list not updated. Test6878713.sh
Removed the obsolete test from the test group file

Reviewed-by: sla, ctornqvi, dholmes
2013-10-02 15:17:20 +02:00
Mikael Gerdin
9204842093 8012525: gc/metaspace/G1AddMetaspaceDependency.java Test fails a safepoint timeout assertion or hangs
Reviewed-by: brutisso, tschatzl
2013-10-02 14:33:32 +02:00
Thomas Schatzl
f144f37f49 8025441: G1: assert "assert(thread < _num_vtimes) failed: just checking" fails when G1ConcRefinementThreads > ParallelGCThreads
The initialization for the remembered set summary data structures used the wrong thread count, i.e. number of worker threads instead of number of refinement threads.

Reviewed-by: brutisso
2013-09-30 12:43:59 +02:00
Erik Helin
2722c5d966 8025226: TestPerfCountersAndMemoryPools.java fails with -Xmixed or -Xcomp
Reviewed-by: brutisso, mgerdin
2013-09-30 11:39:07 +02:00
David Chase
02f6818d8f 8025260: Methodhandles/JSR292: NullPointerException (NPE) thrown instead of AbstractMethodError (AME)
Copied null-checks from templateInterpreter_CPU into methodHandles_CPU

Reviewed-by: jrose, twisti
2013-09-27 13:36:25 -04:00
Zhengyu Gu
bfafab7b47 Merge 2013-09-27 10:08:56 -04:00
Igor Ignatyev
30874d35f1 8023452: TestCase$Helper(java.lang.Object) must be osr_compiled
Reviewed-by: kvn
2013-09-28 12:32:10 +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
Niclas Adlertz
562ce20154 Merge 2013-09-27 12:43:51 -07:00
Rickard Bäckman
441f1d74cf 8024924: Intrinsify java.lang.Math.addExact
Reviewed-by: kvn, twisti
2013-09-27 08:39:19 +02:00
Niclas Adlertz
3554ed5490 Merge 2013-09-26 08:48:15 +02: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
Vladimir Kozlov
0ccb2841ea 8022585: VM crashes when ran with -XX:+PrintInlining
Use adr_at() to access inline info structures in growableArray. Add ability to specify print inlining per method.

Reviewed-by: twisti
2013-09-24 16:08:00 -07:00
Thomas Schatzl
9149bde0f3 Merge 2013-09-27 11:18:26 +02:00
Thomas Schatzl
bd9ffce267 8014078: G1: improve remembered set summary information by providing per region type information
Add memory consumption breakdown on a per region type in the G1 remembered set summary statistics. This simplifies remembered set memory consumption analysis.

Reviewed-by: brutisso
2013-09-26 12:49:45 +02:00
Daniel D. Daugherty
156b06d897 Merge 2013-09-20 12:58:35 -07:00
Niclas Adlertz
afef481831 Merge 2013-09-19 18:01:39 +02:00
Harold Seigel
a1f3a95880 8024517: runtime/CDSCompressedKPtrs/XShareAuto.java failed with RuntimeException
Make sure CDS is off by default when running server compiler.

Reviewed-by: dholmes, coleenp
2013-09-19 11:04:23 -04:00
Thomas Schatzl
0a1b832ae0 Merge 2013-09-19 09:34:20 +02:00
Thomas Schatzl
9005953c71 Merge 2013-09-19 09:26:08 +02:00
Bertrand Delsart
765632873a Merge 2013-09-18 21:47:51 -07:00
Thomas Schatzl
3111ab9115 Merge 2013-09-18 15:59:41 +02:00
Thomas Schatzl
3e4a59f797 8024662: gc/arguments/TestUseCompressedOopsErgo.java does not compile
Fix compilation error and use of an outdated VM option in the test

Reviewed-by: stefank, jwilhelm
2013-09-18 10:02:19 +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
Mikhailo Seledtsov
876967ae1f 7149464: [TESTBUG] Test runtime/7020373/Test7020373.sh failed to clean up files after test
Re-wrote in Java, this also eliminated temporary result file; set upper limit on malloc'd memory

Reviewed-by: dcubed, dholmes, ccheung
2013-09-17 20:20:03 +02:00
Mikhailo Seledtsov
a19b450d56 8016029: test runtime/6878713/Test6878713.sh failed
Rewrote test in Java; updated the test condition to reflect latest changes in the source

Reviewed-by: dholmes, ctornqvi
2013-09-17 20:09:32 +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
Jesper Wilhelmsson
e6c8a775ed 8024884: Test name changed, test list not updated
Updated the test list with the new test name.

Reviewed-by: brutisso, ehelin
2013-09-17 14:02:53 +02:00
Thomas Schatzl
05929860a5 Merge 2013-09-16 13:32:44 +02:00
Thomas Schatzl
3184042cd1 8024396: VM crashing with assert(!UseLargePages || UseParallelOldGC || use_large_pages) failed: Wrong alignment to use large pages
Loosen wrong assert for UseParallelOldGC to UseParallelGC

Reviewed-by: stefank, brutisso
2013-09-16 10:20:45 +02:00
Thomas Schatzl
b4e927d2a9 Merge 2013-09-16 09:41:03 +02:00
David Holmes
7b2ffab30e 8024505: [TESTBUG] update test groups for additional tests that can't run on the minimal VM
Reviewed-by: coleenp, hseigel
2013-09-13 21:36:27 -04:00
Zhengyu Gu
9e8f860fec Merge 2013-09-13 10:34:15 -04: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
Dmitry Samersoff
eaa4cfd4a7 8024056: runtime/InitialThreadOverflow/testme.sh fails
On some macines gcc not able to link cxx program

Reviewed-by: dholmes
2013-09-11 14:30:17 +04:00
Thomas Schatzl
87a98b7267 8021823: G1: Concurrent marking crashes with -XX:ObjectAlignmentInBytes>=32 in 64bit VMs
Correctly calculate the initialization value for the shift between object start and bitmap bit in the G1 mark bitmaps.

Reviewed-by: tonyp
2013-09-11 10:19:16 +02:00
Niclas Adlertz
19d50345e1 Merge 2013-09-09 19:53:28 +02:00
Igor Ignatyev
c73d393947 8012447: Java CTW implementation
Reviewed-by: vlivanov, kvn, twisti
2013-09-05 16:38:04 +04:00
Niclas Adlertz
a0a141a9d9 Merge 2013-09-05 10:39:10 +02:00
Rickard Bäckman
44a46005b8 Merge 2013-09-02 13:13:45 +02:00
Harold Seigel
a320f6a566 8023381: VM fails to initialize in runtime/CDSCompressedKPtrs/XShareAuto.java runtime/SharedArchiveFile/CdsSameObjectAlignment.java
Improve handling when CDS archive cannot be mapped

Reviewed-by: kvn, dholmes, mseledtsov
2013-09-01 10:37:01 -04:00
Daniel D. Daugherty
379674be8f Merge 2013-08-30 07:04:42 -07:00
Dmitry Samersoff
98c327bc7d 8009062: poor performance of JNI AttachCurrentThread after fix for 7017193
Don't re-evaluate stack bounds for main thread before install guard page

Reviewed-by: coleenp, dholmes, dlong
2013-08-29 21:48:23 +04:00
David Holmes
e5e78099db Merge 2013-08-29 00:22:13 -04:00
David Holmes
da2eb3d512 Merge 2013-08-28 21:42:14 -04:00
David Holmes
bdaf52c564 8023900: [TESTBUG] Initial compact profile test groups need adjusting
Reviewed-by: dcubed, mchung, hseigel
2013-08-28 19:25:18 -04:00
Jiangli Zhou
e66c07633c Merge 2013-08-28 12:01:04 -07:00
Bill Pittore
67ca3cb452 8023580: Add jtreg test for 8004051 and 8005722
Tests checks an assertion dealing with the number of args passed in registers

Reviewed-by: mseledtsov, kvn
2013-08-28 14:44:46 -04:00
David Holmes
e60f7b3406 8006164: [TESTBUG] compact profile hotspot test issues
Define profile-based test groups.

Reviewed-by: dcubed, mchung
2013-08-27 22:05:53 -04:00
Yumin Qi
137cb8d4ee Merge 2013-08-27 07:54:05 -07:00
Calvin Cheung
4415ae47cd 8020675: invalid jar file in the bootclasspath could lead to jvm fatal error
Removed offending EXCEPTION_MARK calls and code cleanup

Reviewed-by: dholmes, iklam, coleenp, mseledtsov
2013-08-26 14:11:26 -07:00
Aleksey Shipilev
9f4ed448a0 8023638: Add the regression test for 8006997
Add the relevant test and proofread the VM messages as well

Reviewed-by: coleenp, mseledtsov, dcubed
2013-08-26 17:42:03 +04:00
Vladimir Ivanov
4b7e40084c 8022595: JSR292: deadlock during class loading of MethodHandles, MethodHandleImpl & MethodHandleNatives
Reviewed-by: kvn, coleenp, dholmes
2013-08-26 17:41:05 +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
Daniel D. Daugherty
3b29cc06ea Merge 2013-08-23 10:39:15 -07:00
Rickard Bäckman
4cb52fc49d Merge 2013-08-22 18:37:14 +02:00
Harold Seigel
2df9b70f5e 7121403: [TESTBUG] runtime/7051189/Xchecksig.sh fails on 64bit solaris
8023393: Need to suppress info message if -Xcheck:jni used with libjsig.dylab on Mac OSX

Rewrite 7051189 test in Java, port Linux fix for 7051189 to Mac OSX.

Reviewed-by: coleenp, dholmes, mseledtsov, ccheung
2013-08-22 11:52:27 -04:00
Vladimir Kozlov
dac98bcc0d 8023472: C2 optimization breaks with G1
Set control edge for previous value load in G1 pre-barrier

Reviewed-by: twisti
2013-08-23 18:04:35 -07:00
Kevin Walls
6d662d543e Merge 2013-08-19 22:28:52 -07:00
Kevin Walls
a40e2a9236 8022655: ClassDump ignored jarStream setting
Reviewed-by: minqi, sla
2013-08-19 14:28:58 +01:00
Daniel D. Daugherty
2c28ff340a Merge 2013-08-16 10:06:58 -07:00
Harold Seigel
4d91f4e69d 8003424: Enable Class Data Sharing for CompressedOops
8016729: ObjectAlignmentInBytes=16 now forces the use of heap based compressed oops
8005933: The -Xshare:auto option is ignored for -server

Move klass metaspace above the heap and support CDS with compressed klass ptrs.

Reviewed-by: coleenp, kvn, mgerdin, tschatzl, stefank
2013-08-15 20:04:10 -04:00
Rickard Bäckman
8db7a08b50 Merge 2013-08-15 15:26:16 +02:00
Ron Durbin
9d372e7801 8005073: [TESTBUG] remove crufty '_g' support from HS tests
Remove crufty '_g' support from HS tests

Reviewed-by: dcubed, sla
2013-08-14 15:12:00 -07:00
Coleen Phillimore
a25f924de6 8009728: nsk/jvmti/AttachOnDemand/attach030 crashes on Win32
ActiveMethodOopsCache was used to keep track of old versions of some methods that are cached in Universe but is buggy with permgen removal and not needed anymore

Reviewed-by: sspitsyn, dcubed, mseledtsov
2013-08-12 17:24:54 -04:00
Erik Helin
30f059b5fc 8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: coleenp, mgerdin, hseigel
2013-08-12 17:37:02 +02:00
Igor Ignatyev
ed4b026105 8019915: whitebox testClearMethodStateTest fails with tiered on sparc
'compileonly' directive has beens added to each 'compiler/whitebox' test

Reviewed-by: kvn
2013-08-10 10:01:12 +04:00
Daniel D. Daugherty
15aa5e3a57 Merge 2013-08-09 13:19:00 -07:00
Yumin Qi
418cc392cc 8019583: [TESTBUG] runtime/7107135 always passes
If java test return none zero, the value will be override by 'if' statement, the exit value will always '0' and pass. Fix by recording the result in a variable.

Reviewed-by: coleenp, dholmes, iklam
2013-08-08 15:19:12 -07:00
Rickard Bäckman
3a7c3cc018 Merge 2013-08-08 23:49:04 +02:00
Rickard Bäckman
9c2ac55d23 Merge 2013-08-19 09:33:29 +02:00
Igor Ignatyev
caa3d02130 8022832: Add WB APIs for OSR compilation
Reviewed-by: kvn
2013-08-14 23:50:23 +04:00
Igor Ignatyev
f9cf9e88b8 8016456: ciReplay test assumes TIERED compilation is available
Reviewed-by: vlivanov, kvn, dholmes
2013-08-16 17:34:37 +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
Christian Thalinger
7107241178 8022029: GetUnsafeObjectG1PreBarrier fails on 32-bit with: Unrecognized VM option 'ObjectAlignmentInBytes=32'
Reviewed-by: kvn
2013-08-05 15:03:40 -07:00
Harold Seigel
82c3d36026 Merge 2013-08-05 08:55:06 -07:00
Rickard Bäckman
ae3b577a0e Merge 2013-08-05 17:15:35 +02: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
Christian Tornqvist
d31cb702e1 Merge 2013-08-02 22:34:43 +02:00
Christian Tornqvist
cab1b96d23 8009585: test/runtime/7196045 times out
Test/runtime/7196045 times out

Reviewed-by: dholmes, mseledtsov
2013-08-02 18:12:10 +02:00
Daniel D. Daugherty
8119c54cae Merge 2013-08-02 08:32:05 -07:00
Tao Mao
6f445df42a Merge 2013-08-01 17:17:52 -07:00
Albert Noll
4ca00ef5a6 8020531: Test compiler/codecache/CheckUpperLimit.java fails when memory limited
Removed part of the test that required the VM to start up with -XX:ReservedCodeCacheSize=2048m

Reviewed-by: kvn, rbackman
2013-08-01 16:01:32 -07:00
Christian Tornqvist
6596ca7512 8009407: runtime/8000968/Test8000968.sh has incorrect check for proper config
Runtime/8000968/Test8000968.sh has incorrect check for proper config

Reviewed-by: coleenp, mseledtsov, sspitsyn, hseigel
2013-08-01 22:25:11 +02: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
Bengt Rutisson
a1e1caf8ba 8021879: G1: G1HeapRegionSize flag value not updated correctly
Reviewed-by: tschatzl, jmasa
2013-08-01 09:35:04 +02:00
Bengt Rutisson
5a10114616 8021967: Deprecate -XX:DefaultMaxRAMFraction
Reviewed-by: tschatzl, jmasa, kvn, tamao
2013-08-01 07:03:07 +02:00
Calvin Cheung
7e63c7bb0f 8021296: [TESTBUG] Test8017498.sh fails to find "gcc" and fails to compile on some Linux releases
Added checking for gcc and simplified the sig_handler() in the test case

Reviewed-by: dcubed, coleenp, minqi, dlong
2013-07-30 14:14:25 -07:00
Christian Thalinger
5555a381fb 8016474: Crash in sun.reflect.UnsafeObjectFieldAccessorImpl.get
C1's GetUnsafeObject G1 pre-barrier uses the wrong type to read the klass pointer.

Reviewed-by: iveresov, kvn
2013-07-29 16:32:38 -07:00
Tao Mao
5ce100bbd1 Merge 2013-07-26 13:34:22 -07:00
Morris Meyer
80b04bb48e Merge 2013-07-24 13:54:03 -07:00
Thomas Schatzl
93e5db7033 8020123: Test gc/g1/TestPrintRegionRememberedSetInfo.java fails with "test result: Error. No action after @build"
Remove the @build tag and replace it by a @run tag so that the test gets executed

Reviewed-by: brutisso, mgerdin
2013-07-24 10:07:37 +02:00
Calvin Cheung
3102612ca2 8020791: [TESTBUG] runtime/jsig/Test8017498.sh failed to compile native code
Added -DLINUX to the gcc command and improved the .sh script

Reviewed-by: dcubed, dholmes, minqi
2013-07-19 14:54:54 -07:00
Morris Meyer
30902b737d Merge 2013-07-19 13:59:25 -07:00
Daniel D. Daugherty
c421e7a0d3 Merge 2013-07-18 12:05:32 -07:00
Calvin Cheung
ef70244a9a 8017498: JVM crashes when native code calls sigaction(sig) where sig>=0x20
Added (sig < MAXSIGNUM) check in jsig.c

Reviewed-by: dholmes, acorn
2013-07-17 12:22:57 -07:00
David Katleman
6043666187 Merge 2013-07-16 15:15:43 -07:00
Vladimir Kozlov
665bf36b6f 8020433: Crash when using -XX:+RestoreMXCSROnJNICalls
Remove StubRoutines::x86::_mxcsr_std and use StubRoutines::_mxcsr_std

Reviewed-by: jrose
2013-07-15 10:28:32 -07:00
Morris Meyer
bb62cf25ed Merge 2013-07-15 06:27:46 -07:00
Vladimir Kozlov
1338c067aa 8007898: Incorrect optimization of Memory Barriers in Matcher::post_store_load_barrier()
Generate one "fat" membar instead of set of barriers for volitile store

Reviewed-by: roland
2013-07-12 14:03:10 -07:00
Vladimir Kozlov
2d3b117249 8020215: Different execution plan when using JIT vs interpreter
Fix bytecode analyzer

Reviewed-by: twisti
2013-07-12 14:01:37 -07:00
David Katleman
d939aea838 8020414: JDK8 b98 source with GPL header errors
Reviewed-by: darcy, lancea, iris
2013-07-11 14:07:26 -07:00
Roland Westrelin
d9ae342dff Merge 2013-07-11 01:11:52 -07:00
Christian Thalinger
fa834be249 Merge 2013-07-09 22:00:04 -07:00
Niclas Adlertz
5de04505c1 8019625: Test compiler/8005956/PolynomialRoot.java timeouts on Solaris SPARCs
Disable the test for SPARC and reduce the number of test iterations

Reviewed-by: kvn
2013-07-09 17:20:32 +02:00
Albert Noll
1bc320c73a 8015635: Crash when specifying very large code cache size
Limit the size of the code cache to at most 2G when arguments are checked; added regression test

Reviewed-by: kvn, twisti
2013-07-09 11:48:05 +02:00
Frederic Parain
7f314c6d87 Merge 2013-07-05 08:09:40 -07:00
Daniel D. Daugherty
765f5cd4e7 8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test

Reviewed-by: dsamersoff, zgu, hseigel, coleenp
2013-07-04 21:10:17 -07:00
Roland Westrelin
bc15de549e Merge 2013-07-04 03:41:57 -07:00
Roland Westrelin
6864f9f8a8 Merge 2013-07-04 01:42:34 -07:00
Bertrand Delsart
06ecbc8ba4 Merge 2013-07-04 01:03:26 -07:00
David Chase
9a359984c2 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
Add intrinsics using new instruction to interpreter, C1, C2, for suitable x86; add test

Reviewed-by: kvn, twisti
2013-07-02 20:42:12 -04:00
Jiangli Zhou
bf2a400ca2 8006023: Embedded Builds fail management test because of requirement for UsePerfData being enabled
Added -XX:+UsePerfData to Test7196045.java.

Reviewed-by: dholmes, collins
2013-07-01 19:44:37 -04:00
Filipp Zhinkin
68c516f654 8006629: NEED_TEST: need test for JDK-8001071
Added regression test

Reviewed-by: kvn, coleenp
2013-07-01 12:22:34 -07:00
Tao Mao
7109e85e43 8017611: Auto corrector for mistyped vm options
The auto corrector for mistyped vm options fuzzy-matches existing flags based on string similarity (Dice's coefficient).

Reviewed-by: kvn, dsamersoff, hseigel, johnc
2013-06-28 20:18:04 -07:00
Vladimir Kozlov
579c7ac5ab Merge 2013-06-27 11:12:19 -07:00
Erik Helin
604a75ff30 8013590: NPG: Add a memory pool MXBean for Metaspace
Reviewed-by: jmasa, mgerdin
2013-06-26 16:58:37 +02:00
Jon Masamitsu
ca3a1be3fe 8014851: UseAdaptiveGCBoundary is broken
Reviewed-by: tschatzl, brutisso
2013-06-25 15:17:11 -07:00
Niclas Adlertz
2b66900257 8017510: Add a regression test for 8005956
Regression test for 8005956

Reviewed-by: kvn, twisti
2013-06-26 00:40:13 +02:00
Staffan Larsen
055cce652b 8016304: ThreadMXBean.getDeadlockedThreads reports bogus deadlocks on JDK 8
Reviewed-by: dcubed, mgronlun
2013-06-17 18:35:44 +02:00
Frederic Parain
0f4447e6dd Merge 2013-07-15 00:23:48 -07:00
Peter Allwin
221308625d 7162400: Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand
Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand

Reviewed-by: dcubed, dholmes, sspitsyn, mgerdin, ctornqvi, dsamersoff
2013-07-12 18:43:27 +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
Christian Tornqvist
e72f763439 8016065: Write regression test for 7167142
Regression tests written for both test cases (.hotspotrc and .hotspot_compiler). Also reviewed by mikhailo.seledtsov@oracle.com

Reviewed-by: zgu, coleenp
2013-06-13 21:57:56 +02:00
Vladimir Kozlov
e62cfbfd5f Merge 2013-06-06 11:02:25 -07:00
Nils Loodin
b46e7f76d5 Merge 2013-06-05 09:47:27 -07:00
Serguei Spitsyn
e609456b0e 8015803: Test8015436.java fails 'can not access a member of class Test8015436 with modifiers "public static"'
Newly added test has an issue: the main class must be public

Reviewed-by: kvn, jbachorik, coleenp
2013-06-04 01:06:50 -07:00
Vladimir Kozlov
56e8f83652 Merge 2013-06-03 14:02:05 -07:00
Mikhailo Seledtsov
6a7e90e362 6726963: multi_allocate() call does not CHECK_NULL and causes crash in fastdebug bits
Using CHECK_NULL when calling multi_allocate() from the corresponding reflection code; added test for this condition

Reviewed-by: dholmes, minqi
2013-05-31 20:24:58 +02:00
Joel Borggren-Franck
6d51346158 8014709: Constructor.getAnnotatedReturnType() returns empty AnnotatedType
Reviewed-by: stefank, rbackman
2013-05-31 13:02:24 +02:00
Serguei Spitsyn
a246da16d1 8015436: compiler/ciReplay/TestSA.sh fails with assert() index is out of bounds
The InstanceKlass _initial_method_idnum value must be adjusted if overpass methods are added.

Reviewed-by: twisti, kvn
2013-05-30 11:46:39 -07:00
Aleksey Shipilev
0793ab7e65 8015493: runtime/contended/OopMaps.java fails with OutOfMemory
Limit the memory footprint to dodge OutOfMemory errors.

Reviewed-by: dcubed, ctornqvi, iignatyev
2013-05-28 19:54:18 +04:00
Thomas Schatzl
54964edefa 8013895: G1: G1SummarizeRSetStats output on Linux needs improvemen
Fixed the output of G1SummarizeRSetStats: too small datatype for the number of concurrently processed cards, added concurrent remembered set thread time retrieval for Linux and Windows (BSD uses os::elapsedTime() now), and other cleanup. The information presented during VM operation is now relative to the previous output, not always cumulative if G1SummarizeRSetStatsPeriod > 0. At VM exit, the code prints a cumulative summary.

Reviewed-by: johnc, jwilhelm
2013-05-28 09:32:06 +02:00
Aleksey Shipilev
375e12feb9 8015270: @Contended: fix multiple issues in the layout code
Field count handling fixed, has_nonstatic_fields invariant fixed, oop map overrun fixed; new asserts

Reviewed-by: kvn, dcubed, coleenp
2013-05-27 12:49:08 -07:00
Daniel D. Daugherty
85761dd2b8 Merge 2013-05-24 10:21:12 -07:00
Christian Thalinger
262aacf9e5 Merge 2013-05-23 15:30:16 -07:00
Christian Tornqvist
bd53fa8370 8009576: Test returns ClassNotFoundException
Small classpath fix and move tests into open

Reviewed-by: mgerdin, zgu
2013-05-23 17:39:32 +02:00
Vladimir Kozlov
47a5d851ad 8010927: Kitchensink crashed with SIGSEGV, Problematic frame: v ~StubRoutines::checkcast_arraycopy
Changed gen_write_ref_array_post_barrier() code on x64 to pass start address and number of copied oop elements. In generate_checkcast_copy() skip post barrier code if no elements are copied.

Reviewed-by: roland
2013-05-22 18:25:43 -07: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
Aleksey Shipilev
7efa591bee 8014871: Move @Contended regression tests to the same place
Move the missing test to appropriate location.

Reviewed-by: dholmes, sla
2013-05-20 15:43:50 +04:00
Daniel D. Daugherty
9a6dfe1c55 Merge 2013-05-17 11:36:43 -07:00
Jesper Wilhelmsson
df1556095b Merge 2013-05-17 08:00:01 +02:00
Jesper Wilhelmsson
262b1413c1 Merge 2013-05-17 06:01:10 +02:00
Aleksey Shipilev
efe96b1343 8014509: @Contended: explicit default value behaves differently from the implicit value
Treat the empty string as the default value tag

Reviewed-by: kvn, twisti
2013-05-17 01:58:32 +04:00
Thomas Schatzl
b8276670c2 8014765: VM exits if MaxTenuringThreshold is set below the default InitialTenuringThreshold, and InitialTenuringThreshold is not set
The VM exits when the condition in the subject line applies. The fix sets InitialTenuringThreshold to MaxTenuringThreshold if it is larger than MaxTenuringThreshold and InitialTenuringThreshold has not been set (is default).

Reviewed-by: jwilhelm, jmasa, brutisso, johnc
2013-05-16 23:51:51 +02:00
Aleksey Shipilev
2fd72e202f 8012939: @Contended doesn't work correctly with inheritance
Fix instance_size miscalculation.

Reviewed-by: jrose, kvn
2013-05-17 01:43:48 +04:00
Christian Thalinger
c6c7f3439e Merge 2013-05-16 13:47:55 -07:00
John Cuthbertson
5838d847a1 8010738: G1: Output for full GCs with +PrintGCDetails should contain perm gen size/meta data change info
Include metaspace information (used, allocated, reserved) in the PrintGCDetails output for full GCs.

Reviewed-by: poonam, jmasa, brutisso
2013-05-16 09:24:26 -07:00
Mikhailo Seledtsov
bb4af57bdd 8014511: runtime/RedefineObject/TestRedefineObject.java has incorrect classname in @run tag
Corrected the class name

Reviewed-by: coleenp, ctornqvi, hseigel
2013-05-16 17:54:11 +02:00
Mikhailo Seledtsov
172cc0a06e 8008169: test/runtime/7158804/Test7158804.sh has bad copyright header
Re-wrote test in Java in addition to fixing the Copyright notice. Also reviewed by leonid.mesnik@oracle.com

Reviewed-by: coleenp, ctornqvi
2013-05-16 15:31:00 +02:00
Thomas Schatzl
5ebe77bb6b 8014240: G1: Add remembered set size information to output of G1PrintRegionLivenessInfo
Improve the output of G1PrintRegionLivenessInfo by adding a per-region remembered set size information column

Reviewed-by: jwilhelm, johnc
2013-05-16 13:02:33 +02:00
Igor Ignatyev
bf1380cc77 8014068: TEST_BUG: compiler/ciReplay/TestSA.sh fails on Windows: core wasn't generated
Reviewed-by: kvn
2013-05-15 22:44:52 +04:00
Thomas Schatzl
9ce9586188 8014489: tests/gc/arguments/Test(Serial|CMS|Parallel|G1)HeapSizeFlags jtreg tests invoke wrong class
Some jtreg tests reference unknown classes in the @run and @build lines. This change fixes them.

Reviewed-by: stefank, ehelin
2013-05-14 17:08:31 +02:00
Harold Seigel
3aa20631a9 8014138: Add VM option to facilitate the writing of CDS tests
Added the -XX:SharedArchiveFile option.

Reviewed-by: coleenp, ccheung, acorn, dcubed, zgu
2013-05-14 09:17:52 -04:00
Christian Thalinger
2c7c39072c Merge 2013-05-13 12:43:10 -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
9cfde1acc3 8014058: Regression tests for 8006088
The patch for 8006088 misses regression tests after a merge error, this CR provides them.

Reviewed-by: jwilhelm, tamao, jmasa
2013-05-13 09:45:33 +02:00
Jesper Wilhelmsson
3d6c526864 Merge 2013-05-09 12:23:43 +02:00
Jon Masamitsu
bbff951f67 8013184: CMS: Call reset_after_compaction() only if a compaction has been done
Reviewed-by: mgerdin, johnc, tschatzl
2013-05-08 17:12:52 -07:00
Jon Masamitsu
973d0400c4 8013032: CMS: assert(used() == used_after_gc && used_after_gc <= capacity()) failed: used: 0 used_after_gc: 292080 capacity: 1431699456
Reviewed-by: tschatzl, mgerdin, johnc
2013-05-08 16:28:03 -07:00
Vladimir Kozlov
b4977e887a 6934604: enable parts of EliminateAutoBox by default
Resurrected autobox elimination code and enabled part of it by default.

Reviewed-by: roland, twisti
2013-05-08 15:08:01 -07:00
Christian Tornqvist
601071bc6d 8009577: Test test/closed/runtime/classunload broken
Fixed tests to use new way of utilizing the WB API, fixed issue with where custom classloader got the classes from

Reviewed-by: collins, mgerdin, zgu
2013-05-07 21:36:59 +02:00
Bengt Rutisson
a8ad116e49 8013872: G1: HeapRegionSeq::shrink_by() has invalid assert
Refactored shrink_by() to only use region counts and not byte sizes

Reviewed-by: johnc, tschatzl
2013-05-06 21:30:34 +02: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
Zhengyu Gu
c2330eb6b1 8013120: NMT: Kitchensink crashes with assert(next_region == NULL || !next_region->is_committed_region()) failed: Sanity check
Fixed NMT to deal with releasing virtual memory region when there are still committed regions within it

Reviewed-by: acorn, coleenp
2013-05-06 11:15:13 -04:00
Jesper Wilhelmsson
0c4933f5b0 Merge 2013-05-06 13:03:46 +02:00
Bengt Rutisson
36c195270d 8013791: G1: G1CollectorPolicy::initialize_flags() may set min_alignment > max_alignment
Make sure max alignemnt is at least as large as min alignment

Reviewed-by: johnc, jmasa, tschatzl
2013-05-06 09:16:14 +02:00
Vladimir Kozlov
1763afaec5 Merge 2013-05-03 15:35:30 -07:00