Commit Graph

1490 Commits

Author SHA1 Message Date
Roland Westrelin
3b3dd985de 8063086: Math.pow yields different results upon repeated calls
C2 treats x^2 as a special case and computes x * x while the interpreter and c1 don't have special case code for X^2.

Reviewed-by: kvn
2015-01-07 16:40:02 +01:00
Dean Long
c041b882e3 8068746: Exclude hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java from nightly runs
Add @ignore to PoolsIndependenceTest.java

Reviewed-by: kvn
2015-01-09 17:43:02 -05:00
Dean Long
7002708d14 Merge 2015-01-09 13:28:02 -05:00
Thomas Schatzl
afb458ef0e 8048179: Early reclaim of large objects that are referenced by a few objects
Push the remembered sets of large objects with few referenced into the dirty card queue at the beginning of the evacuation so that they may end up with zero remembered set entries at the end of the collection, and are potentially reclaimed. Also improve timing measurements of the early reclaim mechanism, and shorten flag names.

Reviewed-by: brutisso, jmasa, dfazunen
2015-01-07 15:15:37 +01:00
Bengt Rutisson
b8f42f53da 8067868: Add GCOld as a JTreg test
Reviewed-by: kbarrett, dfazunen, ehelin
2015-01-07 15:02:00 +01:00
Bengt Rutisson
5203f2c751 8067676: Add applicable closed gc jtreg tests to run in JPRT
Reviewed-by: ehelin
2015-01-07 10:19:00 +01:00
George Triantafillou
f7241915b4 8068540: [TESTBUG] Exclude failing nightly tests
Reviewed-by: ctornqvi, coleenp
2015-01-06 16:44:53 -08:00
Coleen Phillimore
2b871d6987 6583051: crash when adding non-static methods to java.lang.Object class
Stop the JVM if java.lang.Object is incorrectly defined rather than crashing.

Reviewed-by: ctornqvi, dholmes
2015-01-05 22:50:59 -05:00
Goetz Lindenmaier
1c18aef92c 8064457: Introduce compressed oops mode disjoint base and improve compressed heap handling
Introduce compressed oops mode disjoint base and improve compressed heap handling.

Reviewed-by: kvn, coleenp
2015-01-05 12:07:37 -05:00
Jesper Wilhelmsson
8575f889ee Merge 2015-01-05 15:00:30 +01:00
Yumin Qi
13548bcc63 Merge 2014-12-23 19:04:23 -08:00
Vladimir Kozlov
0936c21af6 Merge 2014-12-23 16:42:48 -08:00
Jesper Wilhelmsson
a2b3cf3583 Merge 2014-12-23 14:03:15 +01:00
Vladimir Kozlov
832167be7f 8067985: merging hs-comp to hs blocked by some tests not updated in 8054892
Reviewed-by: iveresov
2014-12-22 14:35:40 -08:00
Vladimir Kozlov
8bd2d4db6f Merge 2014-12-22 10:41:57 -08:00
Jesper Wilhelmsson
79439ff560 8067947: Regression test for JDK-6522873
Added a regression test that will fail if we allow extra characters after flag names

Reviewed-by: ctornqvi, tschatzl
2014-12-22 17:33:29 +01:00
Yumin Qi
ef9d3aa2a7 Merge 2014-12-19 22:52:02 -08:00
Goetz Lindenmaier
e176c66ae5 8067823: CheckCompileThresholdScaling.java throws RuntimeException
Reviewed-by: kvn, iignatyev
2014-12-19 16:42:16 +01:00
Jesper Wilhelmsson
1584f4cfc2 Merge 2014-12-18 16:15:49 +01:00
Jesper Wilhelmsson
dfc952b138 Merge 2014-12-18 16:15:49 +01:00
Jiangli Zhou
b0ad035af4 8059510: Compact symbol table layout inside shared archive
Use separate compact table for shared symbols.

Reviewed-by: iklam, gziemski, shade, sla, jrose
2014-12-17 23:34:52 -05:00
Bengt Rutisson
d418f56e60 8067873: gc/TestSmallHeap.java does not compile
Reviewed-by: mgerdin, jwilhelm
2014-12-18 13:37:02 +01:00
Max Ockner
51bda75a8f 8064319: Need to enable -XX:+TraceExceptions in release builds
"-XX:+TraceExceptions" is now supported in product builds.

Reviewed-by: sla, ccheung, coleenp
2014-12-16 19:00:24 -05:00
Roland Westrelin
5494b45a7a 8067647: [TESTBUG] compiler/rangechecks/TestRangeCheckSmearing.java uses wrong path to Whitebox API
Whitebox test library was moved

Reviewed-by: kvn
2014-12-16 20:09:29 +01:00
Roland Westrelin
2e82794bfa 6700100: optimize inline_native_clone() for small objects with exact klass
Optimize small instance clones as loads/stores

Reviewed-by: kvn, iveresov
2014-12-16 13:49:36 +01:00
Filipp Zhinkin
add1e857d7 8050486: compiler/rtm/ tests fail due to monitor deflation at safepoint synchronization
Reviewed-by: kvn, iignatyev
2014-12-30 11:09:42 +03:00
Dmitrij Pochepko
ea23edb88a 8059625: JEP-JDK-8043304: Test task: DTrace- tests for segmented codecache feature
Reviewed-by: sspitsyn, twisti, fzhinkin, iignatyev
2014-12-25 15:57:38 +03:00
Pavel Chistyakov
583d750b3d 8066497: Update c.o.j.t.ByteCodeLoader to be able really reload given class
Reviewed-by: drchase, fzhinkin, iignatyev
2014-12-26 14:47:35 +03:00
Filipp Zhinkin
f70b5b2e9c 8059623: JEP-JDK-8043304: Test task: command line options tests
Reviewed-by: twisti, thartmann, goetz, iignatyev
2014-12-26 14:33:23 +03:00
Filipp Zhinkin
80613b8656 8068183: Add isTieredSupported method to c.o.j.t.Platforms
Reviewed-by: kvn, iignatyev
2014-12-24 19:32:13 +03:00
Evgeniya Stepanova
2e085fa4b3 8066864: remove ctw-test from testlibrary/
Reviewed-by: kvn, iignatyev
2014-12-23 12:40:13 +03:00
Tatiana Pivovarova
c9213782f3 8067173: remove Utils::fileAsList
Reviewed-by: kvn, iignatyev
2014-12-16 17:26:42 +03:00
Pavel Chistyakov
5ed29142e5 8066896: Update c.o.j.t.InfiniteLoop to skip zero timeout
Reviewed-by: kvn, iignatyev
2014-12-23 16:36:44 +03:00
Tatiana Pivovarova
df2b7b1934 8062012: test/compiler/ciReplay/TestSA.sh should be updated to work w/ modular image build
Reviewed-by: kvn, fzhinkin, iignatyev
2014-12-19 14:12:22 +03:00
Evgeniya Stepanova
29f7c15af9 8054892: Improve compiler's CLI tests error reporting
Reviewed-by: roland, twisti
2014-12-16 14:52:57 +03:00
Igor Ignatyev
e71ea0c5a9 8028595: WhiteBox API for stress testing of TieredCompilation
Reviewed-by: kvn
2014-12-16 17:56:24 +03:00
Erik Helin
ccc800dedb 8067452: Rename hotspot_all in hotspot/test/TEST.groups
Reviewed-by: dholmes, ctornqvi, iignatyev
2014-12-16 12:52:04 +01:00
Jesper Wilhelmsson
3e9edcd457 Merge 2014-12-16 02:14:03 +01:00
Dmitrij Pochepko
57ac8bbd17 8065279: Remove testlibrary_tests from compact profile in jtreg
Reviewed-by: kvn
2014-12-16 02:14:11 +03:00
Tatiana Pivovarova
561c9140d8 8067211: rewrite Utils::fileAsString
Reviewed-by: kvn
2014-12-16 02:13:13 +03:00
Filipp Zhinkin
df6c67eeeb 8066143: [TESTBUG] New tests in gc/survivorAlignment/ fails
Reviewed-by: jmasa
2014-12-15 18:11:51 +04:00
Yumin Qi
e4961abb71 Merge 2014-12-12 20:49:14 -08:00
Pavel Chistyakov
ca033e9cde 8066473: Port timeout utils from jdk test library into hotspot
Reviewed-by: kvn, iignatyev
2014-12-13 01:24:10 +03:00
Pavel Punegov
c39c3b01be 8059575: JEP-JDK-8043304: Test task: Tiered Compilation level transition tests
Reviewed-by: iveresov, thartmann
2014-12-13 01:24:07 +03:00
Dmitrij Pochepko
e42d9168db 8059613: JEP-JDK-8043304: Test task: JMX- tests
Reviewed-by: thartmann, twisti
2014-12-13 00:13:05 +03:00
Dmitrij Pochepko
3b00992919 8066440: Various changes in testlibrary for JDK-8059613
Reviewed-by: thartmann, twisti
2014-12-13 00:54:22 +03:00
Filipp Zhinkin
fb36c6cbbe 8066862: TestMutuallyExclusivePlatformPredicates fails on all platforms
Reviewed-by: iignatyev, kvn
2014-12-12 21:37:37 +03:00
Igor Ignatyev
e3b0d6d069 Merge 2014-12-12 21:32:43 +03:00
Albert Noll
7613da167b Merge 2014-12-12 08:40:19 -08:00
Tobias Hartmann
4d7b50bd51 8067337: Remove Whitebox API from hotspot repository
Remove Whitebox API from hotspot repository after it was moved to top level repository.

Reviewed-by: iignatyev
2014-12-12 13:13:01 +01:00
Tobias Hartmann
bf022cf7dc 8066433: Move Whitebox test library to top level repository
Moved Whitebox test library to top level repository.

Reviewed-by: iignatyev, sla, mr
2014-12-12 09:37:38 +01:00
Max Ockner
1d76295d70 8047290: Make Mutex::_no_safepoint_check_flag locks verify that this lock never checks for safepoint
Ensure consistent safepoint checking in Mutex/Monitor locking methods.

Reviewed-by: dholmes, dcubed, coleenp
2014-12-11 21:34:43 -05:00
Albert Noll
a9e4d723c1 Merge 2014-12-11 16:22:47 -08:00
Jesper Wilhelmsson
da4a88d5f9 Merge 2014-12-11 20:39:25 +01:00
Jesper Wilhelmsson
ac1c0ee5d2 Merge 2015-02-23 18:40:04 +01:00
Bengt Rutisson
7bde8bebfb 8067115: Add jtreg gc tests to Hotspot JPRT jobs
Reviewed-by: tschatzl, jwilhelm, ehelin
2014-12-11 07:32:24 +01:00
Roland Westrelin
0dbf9d7161 8067144: SIGSEGV with +TraceDeoptimization in Deoptimization::print_objects
-XX:+TraceDeoptimization tries to print realloc'ed objects even when there are none

Reviewed-by: kvn
2014-12-10 16:45:55 +01:00
Michail Chernov
56db4f28c9 8064909: FragmentMetaspace.java got OutOfMemoryError
Increased heap size to prevent "java.lang.OutOfMemoryError: Java heap space" exception

Reviewed-by: jmasa, dfazunen, jwilhelm
2014-12-10 13:58:30 +00:00
Igor Veresov
f4a9c05895 Merge 2014-12-09 21:33:51 +00:00
Igor Veresov
5af5b25f98 8066900: Array Out Of Bounds Exception causes variable corruption
Fix FP registers save/restore during exception handling

Reviewed-by: kvn, vlivanov
2014-12-09 12:25:38 -08:00
Roland Westrelin
caa8dcea64 8066103: C2's range check smearing allows out of bound array accesses
Range check smearing uncorrectly adjust first range check in a list of range checks to cover all of them

Reviewed-by: jrose, kvn, iveresov
2014-12-09 18:49:13 +01:00
Tatiana Pivovarova
79ed4de1e1 8065134: Need WhiteBox::allocateCodeBlob(long, int) method to be implemented
Reviewed-by: kvn, dholmes, iignatyev
2014-12-09 17:31:40 +03:00
Bengt Rutisson
eec8524e84 8067438: Add test to verify minimal heap size
Reviewed-by: dfazunen, ehelin
2014-12-17 09:47:14 +01:00
Jesper Wilhelmsson
b14eca8aac Merge 2014-12-08 18:52:03 +01:00
Tatiana Pivovarova
a7ebb442cf 8066250: compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java fails product
Reviewed-by: kvn, thartmann
2014-12-08 18:21:02 +03:00
Yumin Qi
bb30bd7e0a Merge 2014-12-08 00:15:55 -08:00
Chris Plummer
8bb3ef2ca0 8066508: JTReg tests timeout on slow devices when run using JPRT
Fixed by increasing timeoutFactor from 1 to 4 as is done already in jdk/test/Makefile.

Reviewed-by: dholmes, dcubed
2014-12-05 15:41:51 -08:00
Calvin Cheung
701b666284 8065050: vm crashes during CDS dump when very small SharedMiscDataSize is specified
Define minimum required sizes for the ro, rw, and md regions and make sure the specified sizes are not less than the minimum sizes

Reviewed-by: jiangli, dholmes, mseledtsov
2014-12-05 12:24:10 -08:00
Ioi Lam
ea256a978f 8066670: PrintSharedArchiveAndExit does not exit the VM when the archive is invalid
In FileMapInfo::fail_continue do not set UseSharedSpaces = false

Reviewed-by: dholmes, ccheung
2014-12-04 15:20:09 -08:00
Igor Ignatyev
36ab0d5c9a 8066713: ignore compiler/types/correctness
Add @ignore to compiler/types/correctness tests

Reviewed-by: kvn
2014-12-04 14:14:09 -08:00
David Chase
0b7c6dc57c Merge 2014-12-04 11:35:09 -05:00
Kevin Walls
5c410f0bb5 8061785: [TEST_BUG] serviceability/sa/jmap-hashcode/Test8028623.java has utf8 character corrupted by earlier merge
Reviewed-by: sla, dsamersoff
2014-12-04 12:43:45 +00:00
Roland Westrelin
349669a9de Merge 2014-12-04 11:22:05 +00:00
Jesper Wilhelmsson
9b430f2262 Merge 2014-12-04 10:40:19 +01:00
Tobias Hartmann
f9806ff009 8066448: SmallCodeCacheStartup.java exits with exit code 1
Check for VirtualMachineError in case VM initialization fails.

Reviewed-by: kvn
2014-12-04 09:52:15 +01:00
Yumin Qi
9767fa7cb2 Merge 2014-12-03 20:32:33 -08:00
Kevin Walls
4169c68769 8039995: Test serviceability/sa/jmap-hashcode/Test8028623.java fails on some Linux/Mac machines
Reviewed-by: dsamersoff, allwin, sla
2014-12-03 20:40:00 +00:00
Daniel D. Daugherty
fbf10d39fa Merge 2015-02-06 10:40:04 -08:00
Staffan Larsen
483815ed11 8072455: Use jtreg's requiredVersion tag in hotspot/test/TEST.ROOT
Reviewed-by: dholmes, ctornqvi
2015-02-05 12:54:34 +01:00
Thomas Stuefe
de0f1ccb86 8072575: Add missing test for 8065895
Reviewed-by: dholmes, gziemski
2015-02-04 21:33:22 -05:00
Mikael Auno
5b89870233 8072472: serviceability/dcmd/framework/* should be quarantined
Reviewed-by: jbachorik
2015-02-04 16:09:49 +01:00
Igor Ignatyev
fd0dba3fc7 8066290: Port JDK-8066191 into hotspot
Reviewed-by: kvn
2014-12-02 12:37:01 +03:00
Igor Ignatyev
3a9c14c70a 8064669: compiler/whitebox/AllocationCodeBlobTest.java crashes / asserts
Reviewed-by: kvn, anoll
2014-12-02 12:36:03 +03:00
Erik Helin
cbe8efabfe 8059066: CardTableModRefBS might commit the same page twice
Reviewed-by: tschatzl, kbarrett, jmasa
2014-12-02 09:53:30 +01:00
Igor Ignatyev
768b1d81a0 Merge 2014-12-01 22:41:16 +03:00
Tatiana Pivovarova
0fccf46ae4 8066141: compiler/whitebox/GetNMethodTest.java: java.lang.RuntimeException: blob_type[MethodProfiled] for 2 level isn't MethodNonProfiled
Reviewed-by: iveresov, iignatyev
2014-12-01 22:38:29 +03:00
Jesper Wilhelmsson
e7a218b4b6 Merge 2015-03-16 18:13:35 +01:00
Andrey Zakharov
9272128a46 8061715: gc/g1/TestShrinkAuxiliaryData15.java fails with java.lang.RuntimeException: heap decommit failed - after > before
Added WhiteBox methods to count regions and exact aux data sizes

Reviewed-by: tschatzl, jwilhelm, mgerdin
2015-03-16 17:51:28 +03:00
Michail Chernov
41455f2437 8026047: [TESTBUG] add regression test for DisableExplicitGC flag
Reviewed-by: jwilhelm, brutisso
2015-03-13 17:47:34 +04:00
Jesper Wilhelmsson
4fafece403 Merge 2014-12-01 12:11:11 +01:00
Roland Westrelin
686e5a0a6f 8064703: crash running specjvm98's javac following 8060252
Uncommon trap between arraycopy and initialization may leave array initialized

Reviewed-by: kvn, vlivanov, goetz
2014-12-01 11:59:56 +01:00
Igor Ignatyev
0ca96a4047 Merge 2014-11-28 16:59:12 +00:00
Filipp Zhinkin
23b769e30e 8058846: c.o.j.t.Platform::isX86 and isX64 may simultaneously return true
Reviewed-by: iveresov, iignatyev
2014-11-28 19:49:16 +03:00
Tatiana Pivovarova
4e55928faf 8064953: Asserts.assert* should print values
Reviewed-by: sla, dholmes, iignatyev
2014-11-28 19:42:10 +03:00
Jaroslav Bachorik
6c1cf6ba45 8065783: DCMD parser fails to recognize one character argument when it's positioned last
Reviewed-by: sla, egahlin, fparain
2014-11-28 16:33:57 +01:00
Thomas Schatzl
77f5cb9219 Merge 2014-11-28 08:53:48 +00:00
Leonid Mesnik
c8a147b8c7 8065579: WB method to start G1 concurrent mark cycle should be introduced
Add a WhiteBox callback to the VM to start a concurrent mark cycle in G1.

Reviewed-by: tschatzl, sjohanss
2014-11-28 09:33:48 +01:00
Bengt Rutisson
d8635f58cd 8066133: Fix missing reivew changes for JDK-8065972
Reviewed-by: mgerdin, stefank
2014-11-28 08:20:52 +01:00
Bengt Rutisson
0ecc753586 8065972: Remove support for ParNew+SerialOld and DefNew+CMS
Reviewed-by: mgerdin, stefank
2014-11-27 21:02:13 +01:00
Evgeniya Stepanova
e635ae96cb 8065865: gc/TestSoftReferencesBehaviorOnOOME.java: Error. Can't find source file: TestSoftReference.java
Reviewed-by: sla
2014-11-27 14:52:01 +04:00
David Chase
bd885cddf0 Merge 2014-11-26 20:38:10 -05:00
Yumin Qi
d620b54c63 8053995: Add method to WhiteBox to get vm pagesize
Unsafe is not recommended and may deprecated in future. Added a WhiteBox API to get VM page size.

Reviewed-by: dholmes, ccheung, mseledtsov
2014-11-26 10:32:21 -08:00
Jesper Wilhelmsson
3c3e60d5be Merge 2014-11-26 18:01:10 +01:00
Filipp Zhinkin
5e21021117 8037968: Add tests on alignment of objects copied to survivor space
Reviewed-by: jmasa, dfazunen
2014-11-26 14:17:06 +04:00
Roland Westrelin
15dcd41e87 6898462: The escape analysis with G1 cause crash assertion src/share/vm/runtime/vframeArray.cpp:94
OOM during reallocation of scalar replaced objects in deoptimization causes crashes

Reviewed-by: kvn, jrose
2014-11-25 17:33:59 +01:00
Niclas Adlertz
53f42d325b Merge 2014-12-05 15:16:01 +01:00
Roland Westrelin
1976f161a5 Merge 2014-12-04 14:11:11 +00:00
Roland Westrelin
07537703cc 8048170: Test closed/java/text/Normalizer/ConformanceTest.java failed
PhaseIdealLoop::split_if_with_blocks_post() shoulnd't reorder range checks adjusted by range check smearing

Reviewed-by: kvn, jrose
2014-12-04 14:34:11 +01:00
Staffan Larsen
c44953a395 Merge 2014-11-24 09:57:02 +01:00
Alejandro Murillo
ee49c27e76 Merge 2014-11-21 08:00:31 -08:00
Tatiana Pivovarova
585ca822b8 8064696: compiler/startup/SmallCodeCacheStartup.java doesn't check exit code
Reviewed-by: kvn, anoll, iignatyev
2014-11-21 17:28:29 +03:00
Igor Ignatyev
bf5546e48d 8059550: JEP-JDK-8043304: Test task: segment overflow w/ empty others
Reviewed-by: kvn, thartmann, iignatyev
2014-11-21 17:27:11 +03:00
Tobias Hartmann
5ef6d4e99d 8050079: crash while compiling java.lang.ref.Finalizer::runFinalizer
Ignore non-instance Klasses in the subclass hierarchy.

Reviewed-by: kvn, iignatyev, jrose
2014-11-20 11:06:26 +01:00
Coleen Phillimore
4151db8bfd 8042235: redefining method used by multiple MethodHandles crashes VM
Note all MemberNames created on internal list for adjusting method entries.

Reviewed-by: sspitsyn, dcubed, lfoltan
2014-11-19 13:02:11 -05:00
Andrey Zakharov
5b5a52cd58 8059661: Test SoftReference and OOM behavior
Reviewed-by: tschatzl
2014-11-19 19:22:49 +04:00
Evgeniya Stepanova
b83ddbef42 8062537: [TESTBUG] Conflicting GC combinations in hotspot tests
Reviewed-by: brutisso
2014-11-19 17:43:19 +03:00
Zoltan Majo
68b0d32b05 8062854: move compiler jtreg test to corresponding subfolders and use those in TEST.groups
Move all test from <bug_id> directories to <functional_dir_name>/<bug_id>; update TEST.groups to execute more tests

Reviewed-by: drchase, kvn
2014-11-18 19:44:45 +01:00
Ioi Lam
ef64d5393d 8064701: Some CDS optimizations should be disabled if bootclasspath is modified by JVMTI
Added API to track bootclasspath modification

Reviewed-by: jiangli, dholmes, minqi
2014-11-18 03:38:50 -08:00
Igor Ignatyev
f81bd8ff29 8059732: improve hotspot_*test targets
Reviewed-by: kvn, dholmes
2014-11-17 12:57:49 +03:00
Andrey Zakharov
da1287a38f 8064716: TestHumongousShrinkHeap.java can not be run with -XX:+ExplicitGCInvokesConcurrent
8062957: Heap is not shrunk when deallocating under memory pressure

Added explicit -XX:-ExplicitGCInvokesConcurrent to invocations

Reviewed-by: brutisso, tschatzl
2014-11-14 17:36:56 +04:00
David Chase
f454e5e02c Merge 2014-11-13 11:35:15 -05:00
Staffan Larsen
c217bdda86 Merge 2014-11-17 09:36:40 +01:00
Max Ockner
54d2060d42 8060449: Obsolete command line flags accept arbitrary appendix
Proper error messages for newly obsolete command line flags.

Reviewed-by: lfoltan, dcubed, coleenp
2014-11-14 13:09:53 -05:00
Jesper Wilhelmsson
c72d5c48e2 Merge 2014-11-13 12:29:09 +01:00
Roland Westrelin
4bc2edad15 8054478: C2: Incorrectly compiled char[] array access crashes JVM
Dead backbranch in main loop results in erroneous array access

Reviewed-by: kvn, iveresov
2014-11-13 09:19:46 +01:00
David Chase
54b5c3864e Merge 2014-11-21 21:08:48 -05:00
Coleen Phillimore
629b0a66ee Merge 2014-11-11 18:00:06 +00:00
Coleen Phillimore
d6de951947 8062870: src/share/vm/services/mallocTracker.hpp:64 assert(_count > 0) failed: Negative counter
Signed bitfield size y can only have (1 << y)-1 values.

Reviewed-by: shade, dholmes, jrose, ctornqvi, gtriantafill
2014-11-11 09:59:50 -05:00
Aleksey Shipilev
21527b2ff2 8015272: Make @Contended within the same group to use the same oop map
Reviewed-by: coleenp, dholmes
2014-11-11 15:07:09 +03:00
Tobias Hartmann
00aa20db4a 8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations'
Always use MDO if valid and always compile trivial methods with C1 if available.

Reviewed-by: kvn, iveresov
2014-11-11 11:05:41 +01:00
Igor Ignatyev
bdac822811 8059624: Test task: WhiteBox API for testing segmented codecache feature
Reviewed-by: kvn, thartmann
2014-11-10 19:04:38 +03:00
Tatiana Pivovarova
80830d4932 8062742: compiler/EliminateAutoBox/UnsignedLoads.java fails with client vm
Reviewed-by: kvn, rbackman, anoll, vlivanov, iignatyev
2014-11-08 16:00:28 +03:00
Tatiana Pivovarova
dda16f6ccd 8062011: JT_HS/compiler/7068051 uses jre/lib/javaws.jar
Reviewed-by: kvn, iignatyev
2014-11-08 16:00:27 +03:00
Yumin Qi
1768fe1eb9 8062247: [TESTBUG] Allow WhiteBox test to access JVM offsets
Reviewed-by: coleenp, iklam, mseledtsov
2014-11-07 12:48:09 -08:00
Staffan Larsen
bcb6a1586a Merge 2014-11-06 19:59:32 +00:00
George Triantafillou
b4138cce10 8061969: [TESTBUG] MallocSiteHashOverflow.java should be enabled for 32-bit platforms
Reviewed-by: ctornqvi, coleenp
2014-11-05 08:22:17 -08:00
Christian Tornqvist
76971f377b 8058251: assert(_count > 0) failed: Negative counter when running runtime/NMT/MallocTrackingVerify.java
Fixed an issue when overflowing the MallocSite hash table bucket

Reviewed-by: coleenp, gtriantafill
2014-11-05 13:20:09 -08:00
Christian Tornqvist
d934df8a84 8061733: [TESTBUG] Exclude tests that have issues with Jigsaw M2 changes
[TESTBUG] Exclude tests that have issues with Jigsaw M2 changes

Reviewed-by: lfoltan, gtriantafill
2014-11-05 13:18:51 -08:00
Jaroslav Bachorik
f52a43892a 8061616: HotspotDiagnosticMXBean.getVMOption() throws IllegalArgumentException for flags of type double
Reviewed-by: mchung, sla
2014-11-03 11:19:43 +01:00
Daniel D. Daugherty
2730e1ad50 Merge 2014-10-31 10:15:29 -07:00
Jesper Wilhelmsson
1486e4bf7d Merge 2014-10-30 01:01:37 +01:00
Alex Schenkman
b301b207b3 8062135: serviceability/threads/TestFalseDeadLock.java should be quarantined
Reviewed-by: sla
2014-10-28 12:28:58 +01:00
John Coomes
894e9e8f87 8060467: CMS: small OldPLABSize and -XX:-ResizePLAB cause assert(ResizePLAB || n_blks == OldPLABSize) failed: Error
Reviewed-by: tschatzl, jmasa, kbarrett
2014-11-07 15:34:33 -08:00
Erik Helin
0e54928686 8061467: Bad page size passed to setup_large_pages() on Solaris
Reviewed-by: tschatzl, mgerdin
2014-11-05 16:39:10 +01:00
Jesper Wilhelmsson
b59b80b068 Merge 2014-11-03 15:53:48 +01:00
Bengt Rutisson
4601eb634a 8061308: Remove iCMS
Reviewed-by: mgerdin, jmasa
2014-10-31 09:10:51 +01:00
Jesper Wilhelmsson
76db8ade45 Merge 2014-10-27 19:15:23 +00:00
Igor Veresov
5870a5b77b Merge 2014-10-30 09:50:16 -10:00
Tobias Hartmann
fe1762fbd6 8061817: Whitebox.deoptimizeMethod() does not deoptimize all OSR versions of method
Fixed Whitebox.deoptimizeMethod() to deoptimize all OSR versions of the method.

Reviewed-by: kvn, iignatyev
2014-10-30 13:03:30 +01:00
Nils Eliasson
897d6c5c9b 8061250: serviceability/dcmd/compiler/CompilerQueueTest.java failed
Fixed logging to avoid parsing mistake and added test case.

Reviewed-by: kvn, twisti
2014-10-28 20:16:08 +01:00
Tobias Hartmann
1c866d8433 8062250: [TESTBUG] compiler/codecache/CheckSegmentedCodeCache.java fails after CodeCacheMinimumFreeSpace removal
Adapted calculation of minimum code cache size after CodeCacheMinimumFreeSpace was removed by JDK-8046809.

Reviewed-by: kvn, anoll
2014-10-28 16:44:39 +01:00
Tobias Hartmann
1e7b7a410e 8061983: [TESTBUG] compiler/whitebox/MakeMethodNotCompilableTest.java fails with "must not be in queue"
Added a method checkNotCompiled(boolean isOsr) to either check if the method is OSR compiled or to check if it is non-OSR compiled.

Reviewed-by: kvn
2014-10-28 09:17:36 +01:00
Igor Veresov
1af7144df1 Merge 2014-10-27 20:03:57 -10:00
Daniel D. Daugherty
ee1de3ce2f Merge 2014-10-27 15:09:23 -07:00
Andrey Zakharov
b9c70becab 8059614: [TESTBUG] Test for UseNUMA enable UseNUMAInterleaving
Tests that UseNUMAInterleaving enabled for all collectors by ergonomics, on all platforms when UseNUMA feature is enabled.

Reviewed-by: jmasa, dfazunen
2014-10-27 07:52:49 -07:00
Alejandro Murillo
ea60f1eddd Merge 2014-10-27 07:49:54 -07:00
Boris Molodenkov
f55d90353f 8057135: [TESTBUG] Need a test to cover JDK-8050167
Reviewed-by: ctornqvi, coleenp
2014-10-24 12:32:53 +04:00
Chris Plummer
5306f2430a 6191224: (reflect) Misleading detail string in IllegalArgumentException thrown by Array.get<Type>
The test case shows that an exception is thrown with the message "Argument is not an array", when in fact the argument is an array, but an array of a primitive type is actually what was expected. Fixed by differentiating between failing because an array was expected and failing because an array of a primitive type was expected.

Reviewed-by: dholmes, ctornqvi, lfoltan
2014-10-23 14:43:08 -07:00
Calvin Cheung
1aa3da1067 8038268: VM Crashes in MetaspaceShared::generate_vtable_methods while creating CDS archive with limiting SharedMiscCodeSize
Estimate the minimum required size for the misc code region and check if the specified misc code region size meets the minimum size requirement

Reviewed-by: jiangli, dholmes
2014-10-23 10:08:02 -07:00
Karen Kinnear
397e42b775 Merge 2014-10-22 22:37:06 +00:00
Karen Kinnear
0e1283a811 8043275: Fix interface initialization for default methods
Initialize interfaces that declare concrete instance methods.

Reviewed-by: kamg, coleenp, psandoz
2014-10-22 15:24:37 -07:00
Andreas Eriksson
ea48bceb5e 8057043: Type annotations not retained during class redefine / retransform
Reviewed-by: coleenp, sspitsyn, jfranck
2014-10-22 13:59:56 +02:00
Bengt Rutisson
4b60638d85 8064702: Remove the CMS foreground collector
Reviewed-by: kbarrett, ysr
2014-11-18 10:23:26 +01:00
Sergei Kovalev
8152a3ea35 8044186: Introduce a reproducible random generator
Reviewed-by: kvn, iveresov, iignatyev
2014-11-02 18:43:38 +03:00
Vladimir Kozlov
74def215cd 8054492: Casting can result in redundant null checks in generated code
Add C2 intrinsic for Class.cast() method and force inline it too.

Reviewed-by: jrose, roland, drchase, iignatyev
2014-10-31 16:51:57 -07:00
Daniel D. Daugherty
31986657eb Merge 2014-10-17 06:58:57 -07:00
Jiangli Zhou
cc264643ac 8060256: The loop in Arguments::parse() can be enhanced
Add continue statement for matching cases.

Reviewed-by: dholmes, bdelsart
2014-10-16 14:11:53 -04:00
Daniel D. Daugherty
f7f1cca26e Merge 2014-10-16 17:36:47 +00:00
Jesper Wilhelmsson
1570e4c406 Merge 2014-10-16 15:59:39 +00:00
George Triantafillou
b79e1193cd 8058606: [TESTBUG] Detailed Native Memory Tracking (NMT) data is not verified as output at VM exit
Reviewed-by: coleenp, hseigel
2014-10-15 05:55:44 -07:00
Zoltan Majo
ed26c7e640 8059604: Add CompileThresholdScaling flag to control when methods are first compiled (with and withour TieredCompilation)
This patch adds a new flag (CompileThresholdScaling) to control when methods are first compiled

Reviewed-by: anoll, iveresov, kvn
2014-10-15 14:00:41 +02:00
Marcus Larsson
d10dd28393 8060116: After JDK-8047976 gc/g1/TestSummarizeRSetStatsThreads fails
Also reviewed by: sangheon.kim@oracle.com

Reviewed-by: brutisso
2014-10-14 19:55:54 +02:00
Jesper Wilhelmsson
1934c66969 Merge 2014-10-13 16:05:46 +02:00
Tobias Hartmann
38e46e728d 8046268: compiler/whitebox/ tests fail : must be osr_compiled
Added code to 'warm up' the methods before triggering OSR compilation by executing them a limited number of times. Like this, the profile information marks the loop exit as taken and we don't add an uncommon trap.

Reviewed-by: kvn, dlong, iignatyev
2014-10-13 12:30:37 +02:00
Coleen Phillimore
c5dbe0cf46 Merge 2014-10-10 21:47:04 +00:00
Coleen Phillimore
3a86f9cd27 8059100: SIGSEGV VirtualMemoryTracker::remove_released_region
Disallow increasing native memory tracking level

Reviewed-by: hseigel, ctornqvi, gtriantafill
2014-10-10 19:36:12 +00:00
Albert Noll
e210688db9 8059847: complement JDK-8055286 and JDK-8056964 changes
Extend scan_flag_and_value() to process flag of type double. Add regression test compiler/oracle/CheckCompileCommandOption.java.

Reviewed-by: kvn, anoll
2014-10-10 14:48:30 +02:00
Sangheon Kim
3f18eda414 8058801: G1TraceReclaimDeadHumongousObjectsAtYoungGC only prints humongous object liveness output when there is at least one candidate humongous object
If G1TraceReclaimDeadHumongousObjectsAtYoungGC is enabled, always print humongous object liveness output.

Reviewed-by: tschatzl
2014-10-10 12:15:51 +02:00
Tobias Hartmann
4c1c76ae4f 8059559: SIGSEGV at CodeHeap::allocate(unsigned int, bool)
Create the non-profiled code heap if TieredStopAtLevel=0 is set because we compile method handle intrinsics.

Reviewed-by: kvn
2014-10-06 07:58:50 +02:00
Igor Veresov
8327c8c62e Merge 2014-10-03 11:14:58 -07:00
Jesper Wilhelmsson
4a82f3067a Merge 2014-10-03 13:00:21 +02:00
Marcus Larsson
08dd794b92 8059651: Tests specify -XX:+UseG1GC and -XX:ParallelGCThreads=0
Reviewed-by: jwilhelm, brutisso
2014-10-03 10:05:11 +02:00
Igor Veresov
0f0d955738 Merge 2014-10-03 01:10:39 +00:00
Jesper Wilhelmsson
07d76f58c8 Merge 2014-10-03 00:21:49 +02:00
Igor Veresov
5a0ca33566 Merge 2014-10-02 12:31:03 -07:00
Marcus Larsson
628fcb087d 8059527: Disallow ParallelGCThreads=0 for G1
Reviewed-by: ehelin, brutisso
2014-10-02 11:22:02 +02:00
Vladimir Kozlov
d124a839ce 8059299: assert(adr_type != NULL) failed: expecting TypeKlassPtr
Use top() for dead paths when initializing Phi node of exceptions klasses in Parse::catch_inline_exceptions().

Reviewed-by: jrose, vlivanov
2014-10-02 11:36:44 -07:00
Ioi Lam
235ae5eb62 Merge 2014-10-01 15:24:34 -07:00
Vladimir Ivanov
5a5f718b6f 8059556: C2: crash while inlining MethodHandle invocation w/ null receiver
Reviewed-by: kvn, jrose
2014-10-01 12:34:45 -07:00
Vladimir Ivanov
0a751b424f 8058828: Wrong ciConstant type for arrays from ConstantPool::_resolved_reference
Reviewed-by: kvn, jrose
2014-10-01 12:34:38 -07:00
Erik Helin
6f4355a3a6 8049599: MetaspaceGC::_capacity_until_GC can overflow
Reviewed-by: jmasa, stefank
2014-10-01 16:09:01 +02:00
Tobias Hartmann
ea755702aa 8059468: Fix PrintCodeCache output changed by JDK-8059137
Change output of PrintCodeCache to print "CodeCache" instead of "Code Cache" and change name of non-method code heap to non-nmethod code heap.

Reviewed-by: vlivanov, anoll
2014-09-30 15:44:43 +02:00
Nils Eliasson
609974cfdd 8058891: serviceability/dcmd/CodelistTest.java - fails on all platforms
Fix can not reflect MethodHandles

Reviewed-by: kvn, drchase
2014-09-30 10:22:58 +02:00
Evgeniya Stepanova
a73a5247a5 8038098: [TESTBUG] remove explicit set build flavor from hotspot/test/compiler/* tests
Reviewed-by: iignatyev, vlivanov, kvn, fzhinkin
2014-09-29 09:32:15 -07:00
Evgeniya Stepanova
dc7da7467b 8025606: [TESTBUG] Move ctw-tests to /testlibrary_tests
Reviewed-by: iignatyev, vlivanov, kvn
2014-09-29 09:29:24 -07:00
Andrey Zakharov
c01e7966b6 8043766: CMM Testing: 8u40 Decommit auxiliary data structures
Check that native memory is returned to the system when decommiting memory within the heap with G1.

Reviewed-by: tschatzl, jwilhelm
2014-09-29 09:59:23 +02:00
Jesper Wilhelmsson
261735f6fa 8047976: Ergonomics for GC thread counts should update the flags
Ergonomics updates flags for number of GC threads

Reviewed-by: tschatzl, jwilhelm
2014-09-27 15:11:41 +02:00
Ioi Lam
4c5840ada6 Merge 2014-09-26 17:55:09 -07:00
Coleen Phillimore
ae9681a5cf 8058927: ATG throws ClassNotFoundException
ClassLoader for array klass set to null and not the class loader of the component type.

Reviewed-by: dcubed, ctornqvi
2014-09-26 12:50:30 -04:00
Jesper Wilhelmsson
b15f3b438d Merge 2014-09-26 06:07:48 +00:00
Niclas Adlertz
a15b864ec9 Merge 2014-09-25 23:37:41 +02:00
Coleen Phillimore
31b9cf6251 8058818: Allocation of more then 1G of memory using Unsafe.allocateMemory is still causing a fatal error on 32bit platforms
The assert was firing for NMT_Off and minimal too even though the size isn't used.

Reviewed-by: gtriantafill, dholmes
2014-09-25 07:52:32 -04:00
Ioi Lam
4458c0663b Merge 2014-09-24 09:48:15 -07:00
Staffan Larsen
ade3cd1920 8058936: hotspot/test/Makefile should use jtreg script from $JT_HOME/bin/jreg (instead of $JT_HOME/win32/bin/jtreg)
Reviewed-by: dholmes, stefank
2014-09-24 09:49:47 +02:00
David Holmes
6892c04d57 8058919: Add sanity test for minimal VM in test/Makefile
Reviewed-by: twisti, kvn, coleenp
2014-09-23 21:33:58 -04:00
Igor Veresov
f85f7d2832 8059002: 8058744 needs a test case
Added a test case the UnsafeRawOp intrinsics

Reviewed-by: kvn
2014-09-23 17:24:34 -07:00
Jesper Wilhelmsson
f9b921bd25 Merge 2014-09-22 16:22:21 +02:00
Tobias Hartmann
b9eae7f74f 8058712: [TESTBUG] serviceability/dcmd/CodeCacheTest.java fails with java.lang.Exception
The test is changed to check the output according to the number of available code segments.

Reviewed-by: kvn
2014-09-21 16:13:39 +02:00
Coleen Phillimore
38190eccc4 8058843: TEST.groups has runtime/runtime/7158988/FieldMonitor.java
Remove a runtime

Reviewed-by: ctornqvi, sspitsyn, kvn
2014-09-19 21:13:25 -04:00
Ioi Lam
a2e41921c1 Merge 2014-09-19 13:47:19 -07:00
Niclas Adlertz
37c8ef911c Merge 2014-09-19 17:14:13 +02:00
Nils Eliasson
53bec16184 8058479: serviceability/dcmd/CodeCacheTest.java fails
Don't parse really large hex values into a long

Reviewed-by: kvn, anoll
2014-09-19 10:31:03 +02:00
Niclas Adlertz
3ae1e0225a Merge 2014-09-18 18:40:37 +00:00
Jesper Wilhelmsson
e97944b0b1 Merge 2014-09-18 19:41:50 +02:00
Niclas Adlertz
0ef1f8fd6f Merge 2014-09-18 19:30:59 +02:00
Zoltan Majo
e39f822e38 8050407: Add jtreg compiler tests to Hotspot JPRT jobs
Select useful jtreg test. Group tests into four sets (3 sets with open tests, 1 set with closed tests) so that execution time of each set is < 10 min on solaris_sparcv9 (slowest platform).

Reviewed-by: kvn, anoll, roland
2014-09-18 12:23:20 +02:00
Christian Tornqvist
4d8eb788f4 8058369: [TESTBUG] runtime/CompressedOops/UseCompressedOops.java Exception java.lang.RuntimeException: 'Zero based' missing from stdout/stderr
Solaris and OSX places the heap in unpredictable places, some of the test must be excluded on these platforms

Reviewed-by: hseigel, coleenp
2014-09-17 06:55:12 -07:00
Roland Westrelin
2ca3c40687 8058636: test case for 8057758
Missing test case in push for 8057758

Reviewed-by: kvn, iveresov
2014-09-17 14:56:12 +02:00
Tobias Hartmann
964c442938 Merge 2014-09-17 06:05:41 +00:00
Tobias Hartmann
cd01de591a 8015774: Add support for multiple code heaps
Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types.

Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla
2014-09-17 08:00:07 +02:00
Boris Molodenkov
652c27e15d 8057165: [TESTBUG] Need a test to cover JDK-8054883
Reviewed-by: kvn, iveresov, iignatyev
2014-09-16 21:29:30 +04:00
Stefan Karlsson
970f6603c1 Merge 2014-09-16 09:31:42 +00:00
Thomas Schatzl
adf66602a0 8052172: Evacuation failure handling in G1 does not evacuate all objects if -XX:-G1DeferredRSUpdate is set
Remove -XX:-G1DeferredRSUpdate functionality as it is racy. During evacuation failure handling, threads where evacuation failure handling occurred may try to add remembered sets to regions which remembered sets are currently being scanned. The iterator to handle the remembered set scan does not support addition of entries during scan and so may skip valid references.

Reviewed-by: iveresov, brutisso, mgerdin
2014-09-16 10:28:15 +02:00
Stefan Karlsson
cdc16edaa5 8058475: TestCMSClassUnloadingEnabledHWM.java fails with '.*CMS Initial Mark.*' missing from stdout/stderr
Reviewed-by: mgerdin, tschatzl, brutisso
2014-09-16 10:13:45 +02:00
George Triantafillou
d7f661e576 8058504: [TESTBUG] Temporarily disable failing test runtime/NMT/MallocTrackingVerify.java
Reviewed-by: ctornqvi, hseigel
2014-09-15 14:28:15 -07:00
Ioi Lam
9fe35127c2 Merge 2014-09-12 14:05:28 -07:00
Niclas Adlertz
d348978bc1 Merge 2014-09-12 09:17:58 +02:00
Christian Tornqvist
9e6d432562 8022865: [TESTBUG] Compressed Oops testing needs to be revised
Rewrote compressed oops tests

Reviewed-by: kvn, coleenp, mseledtsov
2014-09-11 17:54:22 -07:00
Coleen Phillimore
310192415e 8055145: [TESTBUG] runtime/7158988/FieldMonitor.java fails with VMDisconnectedException
Exclude this test on JPRT and make it trivially pass if it gets a disconnected exception (which seems rare)

Reviewed-by: gtriantafill, sspitsyn, ctornqvi
2014-09-11 10:46:32 -04:00
Jon Masamitsu
25727c12c2 Merge 2014-09-10 23:14:13 +00:00
Nils Eliasson
6062c2db15 8054889: Compiler team's implementation task
Adding three new diagnostic commands for compiler

Reviewed-by: anoll, kvn, drchase
2014-09-10 13:27:33 +02:00
George Triantafillou
287db624e4 8054836: [TESTBUG] Test is needed to verify correctness of malloc tracking
Reviewed-by: ctornqvi, lfoltan
2014-09-09 09:48:42 -07:00
Ivan Gerasimov
b5c0f09885 8057745: TEST_BUG: runtime/SharedArchiveFile/ArchiveDoesNotExist.java fails with openjdk build
Reviewed-by: dholmes, mseledtsov
2014-09-08 23:49:39 +04:00
Stefan Karlsson
1e20d1e9f1 8057918: Update out-dated ignore tags in GC jtreg tests
Reviewed-by: ehelin, tschatzl
2014-09-09 13:55:38 +02:00
Stefan Johansson
174af2ea34 8057752: WhiteBox extension support for testing
Refactored parts of whitebox.cpp to enable registration of whitebox methods defined outside this file.

Reviewed-by: mikael, ctornqvi, jmasa
2014-09-08 15:24:10 +02:00
Vladimir Kozlov
98f413fa1f Merge 2014-09-04 22:59:17 -07:00
Christian Tornqvist
c81071a7c7 8057147: [TESTBUG] Platform.isDebugBuild() doesn't work on all build types
Check java.version for debug string as well

Reviewed-by: gtriantafill, hseigel, sla, acorn, dcubed
2014-09-03 17:30:23 -04:00
Jon Masamitsu
2ad3d66d79 Merge 2014-08-29 08:14:19 -07:00
Jon Masamitsu
a85209f8a5 Merge 2014-08-28 11:25:09 -07:00
Rickard Bäckman
2b5065f487 Merge 2014-08-28 18:31:05 +02:00
Dmitry Fazunenko
6f13f6587d 8050464: G1 string deduplication tests hang/timeout and leave running processes consuming all resources
Reviewed-by: jmasa
2014-08-28 18:38:31 +04:00
Ioi Lam
541640ed22 Merge 2014-09-05 15:53:02 -07:00
Zhengyu Gu
b20fa155a6 Merge 2014-09-04 14:58:58 -04:00
Zhengyu Gu
95216ecffe 8055289: Internal Error: mallocTracker.cpp:146 fatal error: Should not use malloc for big memory block, use virtual memory instead
Return NULL if memory allocation size is bigger than MAX_MALLOC_SIZE when NMT is on

Reviewed-by: coleenp, gtriantafill
2014-09-04 14:50:31 -04:00
Staffan Larsen
f7f89e4a54 Merge 2014-09-04 08:48:53 +02:00
Coleen Phillimore
3c70d99eda 8055008: Clean up code that saves the previous versions of redefined classes
Use scratch_class to find EMCP methods for breakpoints if the old methods are still running.

Reviewed-by: dcubed, sspitsyn
2014-09-03 19:13:18 -04:00
Thomas Schatzl
b89a9d94b5 8056043: Heap does not shrink within the heap after JDK-8038423
Enable shrinking within the heap by removing some code added for JDK-8054818. Enable the test case that checks that again too.

Reviewed-by: jwilhelm, jmasa
2014-08-27 08:59:05 +02:00
Christian Tornqvist
3a78ac3c1b 8041727: [TESTBUG] runtime/jsig/Test8017498.sh fails with Test8017498.sh: 50: [: x/usr/bin/gcc: unexpected operator
Fixed shell script issues

Reviewed-by: dcubed, gtriantafill
2014-08-26 13:07:57 -07:00
Leonid Mesnik
40b25893d0 8055953: [TESTBUG] Fix for 8055098 does not contain unit test
Add missing unit test.

Reviewed-by: tschatzl
2014-08-26 14:15:42 +02:00
Tobias Hartmann
9ae2646f0f Merge 2014-08-25 07:44:58 +00:00