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
Vladimir Kozlov
43fbbe98b7
Merge
2013-05-02 18:50:05 -07:00
Mikael Gerdin
94677d4faf
Merge
2013-05-02 16:41:09 -07:00
Mikael Gerdin
67b238b12d
Merge
2013-05-02 19:28:59 +02:00
Bharadwaj Yadavalli
f631e3d253
8013418: assert(i == total_args_passed) in AdapterHandlerLibrary::get_adapter since 8-b87
...
Do not treat static methods as miranda methods.
Reviewed-by: dholmes, acorn
2013-05-01 08:07:59 -07: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
Mikael Gerdin
fa84ba4ba9
Merge
2013-04-29 09:31:59 +02:00
John Cuthbertson
fefd60fcfd
8011898: gc/TestVerifyBeforeGCDuringStartup.java: java.lang.RuntimeException: '[Verifying' missing from stdout/stderr: [Error: Could not find or load main class]
...
System.getProperty("test.java.opts") can return NULL, which gets converted to to the empty string, and the child java command then interprets that as the name of the main class.
Reviewed-by: jmasa, brutisso
2013-04-26 10:57:57 -07:00
Igor Ignatyev
25dd2eda88
8012322: Tiered: CompilationPolicy::can_be_compiled(CompLevel_all) mistakenly return false
...
Reviewed-by: kvn, vlivanov
2013-04-26 07:21:41 -07:00
Igor Ignatyev
0a434e425b
8011675: adding compilation level to replay data
...
Reviewed-by: kvn, vlivanov
2013-04-25 11:09:24 -07:00
Igor Ignatyev
5733943877
8012337: Change Whitebox implementation to make absence of method in Whitebox.class not fatal
...
Reviewed-by: kvn, vlivanov
2013-04-25 11:04:36 -07:00
Roland Westrelin
20b5d3aa4f
8012037: Test8009761.java "Failed: init recursive calls: 7224. After deopt 58824"
...
Test shouldn't be run with a modified CompileThreshold
Reviewed-by: kvn
2013-05-03 09:32:50 +02:00
Albert Noll
34f8be0bc9
8013496: Code cache management command line options work only in special order. Another order of arguments does not deliver the second parameter to the jvm
...
Moved check that ReservedCodeCacheSize >= InitialCodeCacheSize to Arguments::check_vm_args_consistency(). As a result, the ordering in which the two parameters are given to the VM is not relevant. Added a regression test.
Reviewed-by: kvn, twisti
2013-05-31 06:41:50 +02:00
Roland Westrelin
2e5f473752
8015585: Missing regression test for 8011771
...
Missing regression test
Reviewed-by: kvn
2013-05-30 11:21:01 +02:00
Roland Westrelin
bad6728ea4
8011901: Unsafe.getAndAddLong(obj, off, delta) does not work properly with long deltas
...
Instruct xaddL_no_res shouldn't allow 64 bit constants.
Reviewed-by: kvn
2013-04-16 17:06:39 +02: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
Mikael Gerdin
0393fa9b49
Merge
2013-04-11 16:35:34 +02: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
David Chase
25c31f3742
6443505: Ideal() function for CmpLTMask
...
Repair wrong code generation, added new matching rule
Reviewed-by: kvn, twisti
2013-04-12 19:14:47 -07:00
Christian Thalinger
4ac4649aab
8011678: test/Makefile should pick up JT_HOME environment variable
...
Reviewed-by: kvn
2013-04-12 15:43:07 -07:00
Mikael Gerdin
0edccc9e61
8010196: NPG: Internal Error: Metaspace allocation lock -- possible deadlock
...
Refactor the CLD dependency list into a separate class. Use an ObjectLocker to synchronize additions to the CLD dependency list.
Reviewed-by: stefank, coleenp
2013-04-10 13:27:35 +02:00
Roland Westrelin
c99c99aa36
8011706: specjvm2008 test xml.transform gets array bound exception with c1
...
Loop invariant code motion may move load before store to the same field
Reviewed-by: kvn
2013-04-10 09:52:49 +02:00
Igor Ignatyev
ca90185607
8007288: Additional WB API for compiler's testing
...
Reviewed-by: kvn, vlivanov
2013-04-09 09:54:17 -07:00
Leonid Mesnik
6f3fdce7b3
8009808: TEST-BUG : test case is using bash style tests. Default shell for jtreg is bourne. thus failure
...
Rewrite test to use Java only instead of shell script
Reviewed-by: mgerdin, brutisso
2013-04-09 15:32:45 +02:00
David Chase
12be356d81
8010913: compiler/6863420 often exceeds timeout
...
Add longer timeout for jtreg, add internal timeout thread to prevent spurious timeouts
Reviewed-by: twisti, kvn
2013-04-08 07:40:08 -07:00
Daniel D. Daugherty
78339229bb
Merge
2013-04-05 10:38:08 -07:00
Bharadwaj Yadavalli
4b9150eaf7
Merge
2013-04-04 17:01:34 -07:00
Mikael Gerdin
c17d80e53d
Merge
2013-04-04 19:07:32 +02:00
Roland Westrelin
02a014996b
8010399: Test8009761.java "Failed: init recursive calls: 5498. After deopt 5494"
...
Test from 8009761 shouldn't be run with -Xcomp
Reviewed-by: kvn
2013-04-04 09:33:24 +02:00
Mikael Gerdin
0a963fd1b7
Merge
2013-04-03 09:19:02 +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
Gary Collins
4970095c03
Merge
2013-03-28 15:42:11 -07:00
Daniel D. Daugherty
2484584e6d
Merge
2013-03-29 08:38:00 -07:00
Gary Collins
c2a873f014
8009152: A number of jtreg tests need review/improvement
...
Added a new test_env.txt file to capture common shell variable. Added concept of COMPILEJAVA for use when TESTJAVA is a JRE. If COMPILEJAVA not set then TESTJAVA will be the default with assumption it is a JDK.
Reviewed-by: kvn, brutisso, coleenp
2013-03-27 09:49:51 -07:00
Harold Seigel
366b7e1c5e
8010833: Test7116786.java is failing on most configs after fix for 8010667
...
Update test to recognize that non-zero pad bytes for lookupswitch/tablewsitch opcodes are now valid.
Reviewed-by: dcubed, twisti, kvn, coleenp, dholmes
2013-03-27 11:41:51 -04:00
Bharadwaj Yadavalli
0e9d409036
8009552: test/vm/verifier/TestStaticIF.java failing with hs25.0-b
...
Remove support for verification of class files with version 52 and above from type inference verifier.
Reviewed-by: acorn, hseigel
2013-03-25 09:36:15 -07:00
Christian Tornqvist
ca4e4e41da
Merge
2013-03-24 09:21:37 +01:00
Christian Tornqvist
c458eb3fd6
8008454: test/runtime/NMT/PrintNMTStatistics is broken
...
Added @run tag so that it actually runs the test, also fixed broken command line and incorrect parsing. Also reviewed by gerard.ziemski@oracle.com
Reviewed-by: mgerdin, zgu
2013-03-24 09:11:55 +01:00
Daniel D. Daugherty
05b3bc59c3
Merge
2013-03-23 22:35:02 -07: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
John Cuthbertson
9c89e6d28a
8010463: G1: Crashes with -UseTLAB and heap verification
...
Some parts of the G1 heap can only be walked during a safepoint. Skip verifying these parts of the heap when verifying during JVM startup.
Reviewed-by: brutisso, tschatzl
2013-03-29 13:49:37 -07:00
Erik Helin
cf6d13410c
8010818: NPG: Remove metaspace memory pools
...
Reviewed-by: mgerdin, stefank
2013-03-27 10:55:37 +01:00
Stefan Karlsson
bed324d7f9
Merge
2013-03-25 11:00:19 +01:00
Erik Helin
902be4665b
8000754: NPG: Implement a MemoryPool MXBean for Metaspace
...
Reviewed-by: jmasa, stefank
2013-03-22 16:10:01 +01:00
Ioi Lam
ba67f14480
8010389: After fix for 7107135 a failed dlopen() call results in a VM crash
...
Call dlerror() in VM thread as necessary.
Reviewed-by: coleenp, dholmes
2013-03-21 20:46:46 -07:00
Christian Tornqvist
b7d738913e
8007982: some runtime/CommandLine/ tests fail on 32-bit platforms
...
Changed tests to use platform independent flags
Reviewed-by: collins, hseigel, zgu
2013-03-20 20:40:57 +01:00
Christian Tornqvist
3277de9dad
8010084: Race in runtime/NMT/BaselineWithParameter.java
...
Added a waitFor() on the process
Reviewed-by: mgerdin, sla, zgu
2013-03-20 08:17:55 +01:00
Ron Durbin
f4bcfd04ca
7030610: runtime/6878713/Test6878713.sh fails Error. failed to clean up files after test
...
7123945: runtime/6878713/Test6878713.sh require about 2G of native memory, swaps and times out
Add new diagnostic option -XX:MallocMaxTestWords=NNN and fix Test6878713.sh.
Reviewed-by: dcubed, coleenp, dholmes, iklam
2013-03-19 11:33:11 -07:00
Igor Ignatyev
51c733dfb1
8008211: Some of WB tests on compiler fail
...
Reviewed-by: kvn, vlivanov
2013-03-18 04:29:08 -07:00
Morris Meyer
5b2fed9809
Merge
2013-03-14 16:16:05 -07:00
Aleksey Shipilev
2f5e08742a
8008965: @Contended fails with classes having static fields
...
Disable @Contended support for static fields
Reviewed-by: coleenp, kvn
2013-03-11 14:00:09 -04:00
Daniel D. Daugherty
f73c8f1408
Merge
2013-03-08 17:14:22 -08:00
Ioi Lam
5116181e1f
7107135: Stack guard pages are no more protected after loading a shared library with executable stack
...
Detect the execstack attribute of the loaded library and attempt to fix the stack guard using Safepoint op.
Reviewed-by: dholmes, zgu
2013-03-05 13:55:56 -08:00
Bill Pittore
715db0beb3
Merge
2013-03-01 14:06:47 -05:00
Vladimir Ivanov
528aec3f18
Merge
2013-02-28 15:31:03 -08:00
Bengt Rutisson
02472faab5
Merge
2013-02-28 09:01:08 +01:00
Gary Collins
093d1163e4
7115383: TEST_BUG: some jtreg tests fail because they explicitly specify -server option
...
Small changes to hotspot tests to remove "-server" and replace with ${TESTVMOPTS}
Reviewed-by: kvn
2013-02-27 20:36:14 -08:00
David Chase
899bcf76ae
8007776: Test6852078.java timeouts
...
If more than 100 seconds and more than 100 iterations have both passed, then exit is allowed.
Reviewed-by: kvn
2013-02-26 15:38:24 -08:00
Roland Westrelin
c84424d4af
8007722: C2: "assert(tp->base() != Type::AnyPtr) failed: not a bare pointer" at machnode.cpp:376
...
GetAndSetP's MachNode should capture bottom type.
Reviewed-by: kvn
2013-02-26 12:18:30 +01:00
Roland Westrelin
fe92862089
8007294: ReduceFieldZeroing doesn't check for dependent load and can lead to incorrect execution
...
InitializeNode::can_capture_store() must check that the captured store doesn't overwrite a memory location that is loaded before the store.
Reviewed-by: kvn
2013-02-25 14:13:04 +01:00
Serguei Spitsyn
f85789e68a
Merge
2013-02-22 10:16:51 -08:00
Vladimir Ivanov
1a03134bc8
Merge
2013-02-21 06:29:43 -08:00
Bengt Rutisson
88ec03b622
Merge
2013-02-21 13:13:22 +01:00
John Cuthbertson
1d1641be2f
8008188: Add regression test for 8005875
...
Add regression test for crash seen in 8005875. Test is run with G1 and PGCT=0 and issues "jcmd <pid> Thread.print" against itself. Without the fix for 8005875 the test will crash.
Reviewed-by: brutisso
2013-02-20 12:52:13 -08:00
Filipp Zhinkin
bfe250c236
8006628: NEED_TEST for JDK-8002870
...
Regression test for 8000311. Verifies that PLABStats works with zero parallel GC threads.
Reviewed-by: jmasa, johnc
2013-02-19 16:22:28 -08: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
Vladimir Kozlov
656949d014
8004867: VM crashing with assert "share/vm/opto/node.hpp:357 - assert(i < _max) failed: oob"
...
Added few checks and early bailout from Superword optimization to avoid such cases in a future.
Reviewed-by: roland, twisti
2013-02-18 16:47:15 -08:00
David Chase
8d2496d7de
7102300: performance warnings cause results diff failure in Test6890943
...
Strip lines matching the performance warning from the output before diff.
Reviewed-by: kvn
2013-02-18 15:08:39 -08:00
David Chase
d867a3f9a8
8008180
: Several tests in compiler/5091921 need more time to run
...
Added an explicit timeouts.
Reviewed-by: kvn, twisti
2013-02-18 14:29:16 -08:00
Dmitry Samersoff
dd9a6fc8eb
Merge
2013-02-15 10:29:23 -08:00
Bharadwaj Yadavalli
ff4bbcd501
8007736: VerifyError for static method in interface
...
Reviewed-by: dholmes, acorn
2013-02-14 14:33:35 -05:00
Vladimir Ivanov
8952875c84
Merge
2013-02-14 05:36:59 -08:00
Bengt Rutisson
c2f4ba73be
8006398: Add regression tests for deprectated GCs
...
Reviewed-by: ehelin, jwilhelm, jmasa
2013-02-14 09:11:43 +01:00
Igor Ignatyev
034705ee13
8006683: Add WhiteBox API to testing of compiler
...
Reviewed-by: kvn, vlivanov
2013-02-13 08:29:04 -08:00
Roland Westrelin
05b1c69fc0
8009761: Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
...
Deoptimization doesn't set up callee frames so that they restore caller frames correctly.
Reviewed-by: kvn
2013-03-13 09:44:45 +01:00
Jon Masamitsu
ddbf6ad621
8012111: Remove warning about CMS generation shrinking
...
Reviewed-by: johnc, brutisso, stefank
2013-04-22 22:00:03 -07:00
Mikael Gerdin
dcedbaa149
Merge
2013-04-22 10:10:09 +02:00
Kevin Walls
4e6c27cef0
7109087: gc/7072527/TestFullGCCount.java fails when GC is set in command-line
...
Reviewed-by: mgerdin
2013-04-18 17:02:20 +01:00
Krystal Mo
851ae93451
8002169: TEST_BUG: compiler/7009359/Test7009359.java sometimes times out
...
Make the test less prone to timeout by reducing the amount of iteration and allowing main to be compiled
Reviewed-by: jrose
2013-02-12 07:39:42 -08:00
Coleen Phillimore
faea95b8d3
8007320: NPG: move method annotations
...
Allocate method annotations and attach to ConstMethod if present
Reviewed-by: dcubed, jiangli, sspitsyn, iklam
2013-02-11 14:06:22 -05:00
John Cuthbertson
90d010120f
8011343: Add new flag for verifying the heap during startup
...
Perform verification during VM startup under control of new flag and within a VMOperation.
Reviewed-by: stefank, jmasa, brutisso
2013-04-05 10:20:04 -07:00
Serguei Spitsyn
6ff685b4c8
Merge
2013-02-08 09:14:06 -08:00
Christian Tornqvist
92053d4fb2
8007434: Write tests for 8006298
...
Four tests written for 8006298
Reviewed-by: mgerdin, coleenp
2013-02-08 10:42:24 +01:00
Vladimir Ivanov
268a4d605c
Merge
2013-02-07 12:23:51 -08:00
Erik Helin
919ef8e0df
8004924: NPG: jmap -heap output should contain ClassMetaspaceSize value
...
Reviewed-by: stefank, mgerdin
2013-02-06 07:48:02 +01:00
Coleen Phillimore
6101f88a80
Merge
2013-02-04 22:59:45 -08:00
Volker Simonis
37d83019d0
8007475: Memory stomp with UseMallocOnly
...
Fix off-by-one error
Reviewed-by: coleenp, hseigel
2013-02-04 13:14:12 -05:00
Harold Seigel
1831def9cc
8000968: NPG: UseCompressedKlassPointers asserts with ObjectAlignmentInBytes for > 32G CompressedOops
...
Pick a base that works for both CompressedOpps alignment and CompressedKlassPtrs alignment.
Reviewed-by: kvn, roland
2013-02-04 08:26:02 -05:00
Christian Tornqvist
898965f458
8000363: runtime/7158988/FieldMonitor.java fails with exception
...
Removed unnecessary shell script in the test.
Reviewed-by: coleenp, sla
2013-02-02 20:13:27 +01:00
Christian Tornqvist
8734c66d55
8005013: Add NMT tests
...
Add tests for the Native Memory Tracking feature, includes regression tests for 8005936 and 8004802
Reviewed-by: zgu, coleenp
2013-02-02 16:34:10 +01:00
David Chase
89b8658977
8006500: compiler/8004741/Test8004741.java fails intermediately
...
Rewrote the test to be more reliable, add test for invalid size exception
Reviewed-by: kvn
2013-01-25 16:09:14 -08: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
Krystal Mo
c06a8276fe
Merge
2013-01-24 09:06:16 -08:00
Vladimir Kozlov
9e0c61f822
6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86
...
Use SSE4.2 and AVX2 instructions for encodeArray intrinsic.
Reviewed-by: roland
2013-01-22 15:34:16 -08:00
Mikael Gerdin
ad7544b47c
8004147: test/Makefile jtreg_tests target does not work with cygwin
...
Reviewed-by: ctornqvi, brutisso
2013-01-22 13:42:39 +01:00
David Chase
c803a77fa8
8006204: please JTREGify test/compiler/7190310/Test7190310.java
...
Add proper jtreg annotations in the preceding comment, including an explicit timeout.
Reviewed-by: kvn, twisti
2013-01-16 14:55:18 -08:00
Alejandro Murillo
54489e4ba1
Merge
2013-01-11 01:43:09 -08:00
Vladimir Kozlov
38c81fb411
8005419: Improve intrinsics code performance on x86 by using AVX2
...
Use 256bit vpxor,vptest instructions in String.compareTo() and equals() intrinsics.
Reviewed-by: twisti
2013-01-08 11:30:51 -08:00
David Katleman
614dd26d3d
Merge
2012-12-26 14:23:50 -08:00
Jesper Wilhelmsson
917282a86d
Merge
2012-12-21 16:33:22 +01:00
David Katleman
5dc630b150
8004982: JDK8 source with GPL header errors
...
Reviewed-by: ohair
2012-12-20 16:24:51 -08:00
Erik Helin
5bac85fc66
8004691: Add a jtreg test that exercises the ExecuteInternalVMTests flag
...
Reviewed-by: stefank, brutisso, kvn, ctornqvi
2012-12-20 05:31:40 +01:00
Vladimir Kozlov
e508acf372
8004741: Missing compiled exception handle table entry for multidimensional array allocation
...
Added missing exception path for multidimensional array allocation and use Throwable type instead of OutOfMemoryError for allocation's exception.
Reviewed-by: twisti
2012-12-19 19:21:15 -08:00
Vladimir Kozlov
960d969ade
8004835: Improve AES intrinsics on x86
...
Enable AES intrinsics on non-AVX cpus, group together aes instructions in crypto stubs.
Reviewed-by: roland, twisti
2012-12-19 15:40:35 -08:00
Richard Reingruber
ba0d2572eb
8005033: clear high word for integer pop count on SPARC
...
Reviewed-by: kvn, twisti
2012-12-19 14:44:00 -08:00
Roland Westrelin
d8921b191a
Merge
2012-12-07 01:09:03 -08:00
Stefan Karlsson
98abf6fb1c
8004199: Change the ASM package for Test8003720
...
Reviewed-by: kvn, jrose
2012-11-29 23:02:52 +01:00
Stefan Karlsson
3c2f3a321a
8003720: NPG: Method in interpreter stack frame can be deallocated
...
Pass down a closure during root scanning to keep the class of the method alive.
Reviewed-by: coleenp, jcoomes
2012-11-27 10:13:20 +01:00
David Chase
fea11c53eb
7146636: compiler/6865265/StackOverflowBug.java fails due to changed stack minimum
...
Increase the stack size in the run parameters.
Reviewed-by: kvn
2012-11-16 15:49:46 -08:00
Vladimir Kozlov
1ebf7b9116
8002069: Assert failed in C2: assert(field->edge_count() > 0) failed: sanity
...
Added missed type check of initializing store in ConnectionGraph::find_init_values().
Reviewed-by: roland, twisti, vlivanov
2012-11-06 15:16:32 -08:00
Lana Steuck
da89e5624c
Merge
2012-10-30 13:56:59 -07:00
Vladimir Kozlov
b8abfa016c
Merge
2012-10-26 12:06:55 -07:00
Lana Steuck
69720b975c
Merge
2012-10-25 20:07:39 -07:00
Tom Deneau
6d94ef1ee7
7184394: add intrinsics to use AES instructions
...
Use new x86 AES instructions for AESCrypt.
Reviewed-by: twisti, kvn, roland
2012-10-24 14:33:22 -07:00
Vladimir Kozlov
a9c2b6a900
8001183: incorrect results of char vectors right shift operaiton
...
Do vector right shift operation for small int types only after loads
Reviewed-by: jrose, dlong
2012-10-23 13:06:37 -07:00
Vladimir Ivanov
7f87237400
8000805: JMM issue: short loads are non-atomic
...
Perform transforms during IGVN phase when Load has a single user.
Reviewed-by: jrose, kvn, twisti
2012-10-22 11:44:30 -07:00
Abhijit Saha
19fc2d4d88
Merge
2012-10-18 21:58:55 -07:00
Abhijit Saha
402fd01231
Merge
2012-10-11 15:29:16 -07:00
Abhijit Saha
2f3ac59e81
Merge
2012-10-10 14:28:08 -07:00
Mikael Vidstedt
769dd50182
7197424: update copyright year to match last edit in jdk8 hotspot repository
...
Update copyright year to 2012 for relevant files
Reviewed-by: dholmes, coleenp
2012-10-09 10:09:34 -07:00
Mark Wielaard
ec0a9ee8a6
8000622: Forgot to hg add and check in test for JDK-7170638
...
Add the test
Reviewed-by: coleenp, kamg
2012-10-09 02:42:16 -04:00
Rickard Bäckman
25e07fb041
Merge
2012-10-09 07:41:27 +02:00
David Holmes
363fac131c
7199186: runtime/7194254/Test7194254.java fails - wrong test name on @run
...
Reviewed-by: kvn, twisti
2012-10-04 19:52:09 -04:00
Vladimir Kozlov
8d8d00ff00
7199742: A lot of C2 OSR compilations of the same method's bci
...
Don't clone head of OSR loop.
Reviewed-by: jrose, twisti
2012-10-02 14:49:21 -07:00
Vladimir Kozlov
e8332c76e9
7201026: add vector for shift count
...
Add generation of vectors for scalar shift count.
Reviewed-by: roland, twisti, dlong
2012-10-02 12:25:13 -07:00
Kevin Walls
80d5f4b66d
7200145: runtime/7196045/Test7196045.java fails with No class provided for `main'
...
Reviewed-by: dholmes, dsamersoff
2012-09-30 23:24:12 +01:00
Vladimir Kozlov
fbd1f6e3be
Merge
2012-09-28 10:16:29 -07:00
Abhijit Saha
989c8e0201
7199488: [TEST] runtime/7158800/InternTest.java failed due to false-positive on PID match
...
Reviewed-by: coleenp
2012-09-26 09:54:11 -07:00
Vladimir Kozlov
973fdc81a1
7200264: 7192963 changes disabled shift vectors
...
Replaced is_vector_use() call with explicit check for vector shift's count.
Reviewed-by: twisti, roland, dlong, vlivanov
2012-09-25 15:48:17 -07:00
Kevin Walls
1c502686ea
7196045: Possible JVM deadlock in ThreadTimesClosure when using HotspotInternal non-public API
...
Reviewed-by: sspitsyn, dholmes
2012-09-19 15:24:32 +01:00
Dmytro Sheyko
48255b9ff3
7194254: jstack reports wrong thread priorities
...
Reviewed-by: dholmes, sla, fparain
2012-09-17 07:36:31 -04:00
Abhijit Saha
38b305878c
Merge
2012-09-07 18:18:55 -07:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Pavel Punegov
373b8ccd27
7191926: Remove MKS dependency in Hotspot regression tests
...
Add case for CYGWIN in .sh files.
Reviewed-by: coleenp, kvn
2012-08-29 14:49:05 -04:00
Kevin Walls
b296b69382
7195151: Multiplatform tescase for 6929067
...
Reviewed-by: kamg, kvn
2012-10-15 16:48:48 +01:00
Christian Thalinger
2509329d59
Merge
2012-08-24 11:48:32 -07:00
Vladimir Kozlov
cbfca3259c
7192963: assert(_in[req-1] == this) failed: Must pass arg count to 'new'
...
Fixed Pack node generation. Not vectorize shift instructions if count is not the same for all shifts and if count is vector.
Reviewed-by: twisti
2012-08-22 11:55:40 -07:00
Vladimir Kozlov
04c6a7ce10
7190310: Inlining WeakReference.get(), and hoisting $referent may lead to non-terminating loops
...
In C2 add software membar after load from Reference.referent field to prevent commoning of loads across safepoint since GC can change its value. In C1 always generate Reference.get() intrinsic.
Reviewed-by: roland, twisti, dholmes, johnc
2012-08-20 09:58:58 -07:00
Vladimir Kozlov
e3c3c8527e
6340864: Implement vectorization optimizations in hotspot-server
...
Added asm encoding and mach nodes for vector arithmetic instructions on x86.
Reviewed-by: roland
2012-08-20 09:07:21 -07:00
Keith McGuigan
dbe25e46f3
7116786: RFE: Detailed information on VerifyErrors
...
Provide additional detail in VerifyError messages
Reviewed-by: sspitsyn, acorn
2012-08-06 15:54:45 -04:00
Abhijit Saha
4c3a0cd840
Merge
2012-08-02 14:29:12 -07:00
Coleen Phillimore
d52b3a7eb7
7129723: MAC: Some regression tests need to recognize Mac OS X platform
...
Add Darwin like Linux to shell scripts
Reviewed-by: kvn, kamg, dholmes
2012-08-01 16:52:43 -04:00
Abhijit Saha
5a456b0991
7185550: TEST: runtime/7020373/Test7020373.sh fails because there is no test/runtime/7020373/testcase.jar
...
Reviewed-by: coleenp
2012-07-23 14:28:38 -07:00
Abhijit Saha
bba3260a52
7053586: TEST: runtime/7020373/Test7020373.sh fails on 64-bit platforms
...
Reviewed-by: kamg
2012-07-17 22:16:17 -07:00
Frederic Parain
c0a96ff2a4
7183754: Test runtime/6294277/Test6294277.sh runs wrong JVM
...
Reviewed-by: kamg, coleenp, ctornqvi
2012-07-16 04:06:44 -07:00
Vladimir Kozlov
59bb4ea7cc
Merge
2012-07-12 14:19:15 -07:00
Frederic Parain
13c689d9c3
6294277: java -Xdebug crashes on SourceDebugExtension attribute larger than 64K
...
Reviewed-by: sspitsyn, dholmes, coleenp, kamg
2012-07-09 01:28:37 -07:00
Roland Westrelin
3511594d3c
7177917: Failed test java/lang/Math/PowTests.java
...
When c2 intrinsifies pow/exp, it should never inline the java implementations.
Reviewed-by: kvn
2012-07-02 09:58:06 +02:00
Alejandro Murillo
fad2bafa7b
Merge
2012-06-29 17:04:39 -07:00
Vladimir Kozlov
3a84f5407b
Merge
2012-06-28 10:35:28 -07:00
Staffan Larsen
39dfe6d047
7178703: Fix handling of quoted arguments and better error messages in dcmd
...
Reviewed-by: coleenp, mgronlun, rbackman
2012-06-28 11:37:28 +02:00
Lana Steuck
b126348850
Merge
2012-06-26 10:27:11 -07:00
Vladimir Kozlov
8c4cefaa96
7179138: Incorrect result with String concatenation optimization
...
Check for and skip diamond shaped NULL check code for the result of toString()
Reviewed-by: twisti, roland
2012-06-26 09:06:16 -07:00
Staffan Larsen
cafacdf6dc
Merge
2012-06-18 11:33:17 +02:00
Roland Westrelin
118f552a6e
7174363: Arrays.copyOfRange leads to VM crash with -Xcomp -server if executed by testing framework
...
Arrays.copyOfRange(original, from, to) with from > original.length tries to do a copy with a negative length.
Reviewed-by: kvn, twisti
2012-06-18 09:52:31 +02:00
Coleen Phillimore
90c19a9907
7177307: fix fo CR7158800 doesn't contain Test7158800.sh
...
Forgot to hg add it
Reviewed-by: pbk, kamg, dlong, kvn, fparain
2012-06-15 07:51:37 -04:00
Vladimir Kozlov
d1191bb4f4
7119644: Increase superword's vector size up to 256 bits
...
Increase vector size up to 256-bits for YMM AVX registers on x86.
Reviewed-by: never, twisti, roland
2012-06-15 01:25:19 -07:00
Coleen Phillimore
55b09e7016
7158800: Improve storage of symbol tables
...
Use an alternate version of hashing algorithm for symbol string tables and after a certain bucket size to improve performance
Reviewed-by: pbk, kamg, dlong, kvn, fparain
2012-06-13 19:52:59 -04:00
Vlaidmir Ivanov
e67db1b150
7169782: C2: SIGSEGV in LShiftLNode::Ideal(PhaseGVN*, bool)
...
Keep intermediate node alive till the end of the graph construction using dummy hook node trick
Reviewed-by: kvn, twisti
2012-06-12 09:47:23 -07:00
Keith McGuigan
c39971d4f1
7158804: Improve config file parsing
...
Check buffer length when reading
Reviewed-by: dholmes, dcubed
2012-06-08 12:49:12 -04:00