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
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
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
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
a7ebb442cf
8066250: compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java fails product
...
Reviewed-by: kvn, thartmann
2014-12-08 18:21:02 +03: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
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
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
Roland Westrelin
349669a9de
Merge
2014-12-04 11:22:05 +00: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
Igor Ignatyev
3a9c14c70a
8064669: compiler/whitebox/AllocationCodeBlobTest.java crashes / asserts
...
Reviewed-by: kvn, anoll
2014-12-02 12:36:03 +03: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
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
Bengt Rutisson
0ecc753586
8065972: Remove support for ParNew+SerialOld and DefNew+CMS
...
Reviewed-by: mgerdin, stefank
2014-11-27 21:02:13 +01:00
David Chase
bd885cddf0
Merge
2014-11-26 20:38:10 -05:00
Jesper Wilhelmsson
3c3e60d5be
Merge
2014-11-26 18:01:10 +01: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
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
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
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
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
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
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
Dmitrij Pochepko
f1db529ce7
8043674: Update compiler/intrinsic/bmi tests to run it on all platforms
...
Reviewed-by: kvn, iignatyev, fzhinkin
2014-10-25 19:06:23 +04:00
Vladimir Ivanov
916697af2c
8036748: assert(_base == Int) failed: Not an Int w/ -XX:+TraceIterativeGVN
...
Reviewed-by: kvn, roland
2014-10-24 09:14:41 -07:00
Vladimir Ivanov
83181efbeb
8058847: C2: EliminateAutoBox regression after 8042786
...
Reviewed-by: kvn, roland
2014-10-24 09:13:12 -07:00
Albert Noll
6520320d1a
8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full
...
Use separate sweeper thread; enables more aggressive sweeping.
Reviewed-by: kvn, jrose
2014-10-24 14:25:46 +02:00
Tobias Hartmann
2597d484c6
8061486: [TESTBUG] compiler/whitebox/ tests fail : must be osr_compiled (reappeared in nightlies)
...
Call warmup code from OSR triggering method to make sure no non-OSR compilation is triggered in the loop.
Reviewed-by: kvn
2014-10-24 08:35:29 +02:00
Tobias Hartmann
7d0337349b
8060479: [TESTBUG] compiler/codecache/CheckSegmentedCodeCache.java test fails with product build
...
Added check for product build and compute minimum code cache size accordingly.
Reviewed-by: kvn, iignatyev
2014-10-24 08:27:39 +02:00
Vladimir Kozlov
da37592acb
8061563: Typo in test/compiler/exceptions/CatchInlineExceptions.java
...
Fix typo
Reviewed-by: iveresov
2014-10-21 12:37:48 -07:00
Tobias Hartmann
415f2cd075
8060454: [TESTBUG] Whitebox tests fail with -XX:CompileThreshold=100
...
Move the call to 'waitAndDeoptimize' from the warmup methods to the osr triggering methods to make sure that no non-osr compilation is in the queue after warmup.
Reviewed-by: kvn
2014-10-17 10:04:45 +02: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
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
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
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
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
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
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
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
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
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
Filipp Zhinkin
dc2c903e43
8055904: Develop tests for new command-line options related to SHA intrinsics
...
Reviewed-by: kvn, iignatyev
2014-09-03 15:29:57 +04:00
Filipp Zhinkin
8381452775
8055903: Develop sanity tests on SPARC's SHA instructions support
...
Reviewed-by: kvn, iignatyev
2014-09-03 15:26:06 +04:00
Filipp Zhinkin
9f825ac4cb
8056091: Move compiler/intrinsics/mathexact/sanity/Verifier to compiler/testlibrary and extend its functionality
...
Reviewed-by: kvn, iignatyev
2014-09-03 15:24:26 +04:00
Roland Westrelin
fa27000f3c
8055910: closed/java/util/Collections/CheckedCollections.java failed with ClassCastException not thrown
...
Missing subtype check for Arrays.copyOf intrinsic
Reviewed-by: kvn, iveresov
2014-08-29 16:32:29 +02:00
Vladimir Kozlov
b9e949183d
8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
...
Add new C2 intrinsic for BigInteger::multiplyToLen() on x86 in 64-bit VM.
Reviewed-by: roland
2014-09-02 12:48:45 -07:00
Tobias Hartmann
9ae2646f0f
Merge
2014-08-25 07:44:58 +00:00
Tobias Hartmann
a7727ecf87
8055751: TestAnonymousClassUnloading.java needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot
...
Copy additional Whitebox class file to JTwork (required by JDK-8011397).
Reviewed-by: kvn
2014-08-25 07:08:53 +02:00
Tobias Hartmann
f7af76db24
8055657: Test compiler/classUnloading/methodUnloading/TestMethodUnloading.java does not work with non-default GC
...
Remove the '-XX:+UseParallelGC' parameter from the test because it is conflicting with other GC settings.
Reviewed-by: kvn
2014-08-25 07:04:09 +02:00
Vladimir Kozlov
f813683519
8055069: TSX and RTM should be deprecated more strongly until hardware is corrected
...
Require to specify UnlockExperimentalVMOptions flag together with UseRTMLocking flag on un-patched systems where CPUID allows it but is unsupported otherwise.
Reviewed-by: iveresov, fzhinkin
2014-08-22 12:03:49 -07:00
Roland Westrelin
400f0f7a8f
8055153: nsk/stress/jck60/jck60014 crashes on sparc
...
Missing control for LoadRange and LoadKlass nodes created during arraycopy node expansion
Reviewed-by: kvn, iveresov
2014-08-19 17:23:38 +02:00
Tobias Hartmann
8b9a829836
8048879: "unexpected yanked node" opto/postaloc.cpp:139
...
MemBarAcquireNode prevents deletion of dead LoadNNode. Added condition to 'has_special_unique_user' to trigger deletion.
Reviewed-by: kvn, iveresov
2014-08-19 07:36:11 +02:00
Vladimir Kozlov
b86cece468
Merge
2014-08-15 12:27:50 -07:00
Tobias Hartmann
d50dfdb399
8054402: "klass->is_loader_alive(_is_alive)) failed: must be alive" for anonymous classes
...
Because anonymous classes are not in the system dictionary, we have to set 'unloading_occurred' based on 'CLDG::do_unloading()'. Added jtreg test.
Reviewed-by: kvn, coleenp
2014-08-14 09:15:39 +02:00
Roland Westrelin
fa334043fe
8054224: Recursive method that was compiled by C1 is unable to catch StackOverflowError
...
Do not update exception cache if exception is replaced when thrown
Reviewed-by: kvn, iveresov
2014-08-11 15:09:04 +02:00
Andrey Zakharov
dd95f0a0c2
8011397: JTREG needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot
...
Reviewed-by: kvn, iignatyev, mgerdin
2014-08-11 17:12:41 +04:00
Tobias Hartmann
a67aa1e3df
8043284: Optimize signed integer comparison
...
Folding of BoolNode if input add/sub of CmpI overflows and we can prove that compared value is not in the two resulting ranges. Added test for CmpI and CmpU optimizations.
Reviewed-by: kvn, rbackman, roland
2014-08-11 13:01:37 +02:00
Roland Westrelin
355f6eb4ae
8046698: assert(false) failed: only Initialize or AddP expected macro.cpp:943
...
PhiNode inserted between AllocateNode and Initialization node confuses allocation elimination
Reviewed-by: kvn
2014-08-02 07:06:08 +02:00
Igor Ignatyev
eaabce8778
8054410: compiler/7068051/Test7068051.java fails with FileNotFoundException: f3oo.jar
...
Reviewed-by: kvn
2014-08-06 21:21:25 +04:00
Tobias Hartmann
1213845b36
8029443: 'assert(klass->is_loader_alive(_is_alive)) failed: must be alive' during VM_CollectForMetadataAllocation
...
Added missing metadata relocation to 'loadConP_no_oop_cheap' on Sparc if the pointer is referring to a Klass. Added jtreg test.
Reviewed-by: kvn, roland
2014-08-06 08:47:40 +02:00
Igor Ignatyev
0521e7ed8f
8051484
: Test compiler/6932496/Test6932496.java failed to compile after JDK-8011044: 1.5 is no longer supported
...
Reviewed-by: kvn, roland
2014-08-03 12:04:36 +04:00
Igor Ignatyev
ebcdde4222
8051896: jtreg tests don't use $TESTJAVAOPTS
...
Reviewed-by: kvn, ctornqvi
2014-08-03 12:04:17 +04:00
Filipp Zhinkin
e8d1955b5e
8051344: JVM crashed in Compile::start() during method parsing w/ UseRTMDeopt turned on
...
Call rtm_deopt() only if there were no compilation bailouts before.
Reviewed-by: kvn
2014-07-28 15:06:38 -07:00
Igor Ignatyev
d6a4f1737d
8031978: compiler/ciReplay/TestVM_no_comp_level.sh fails with "TEST [CHECK :: REPLAY DATA GENERATION] FAILED:
...
Reviewed-by: kvn
2014-07-19 00:34:40 +04:00
Igor Ignatyev
e6b1dd586f
8032449: Get rid of JMX in test/compiler
...
Reviewed-by: kvn
2014-07-19 00:34:20 +04:00
Anton Ivanov
4f7af5c597
8049348: compiler/intrinsics/bmi/verifycode tests on lzcnt and tzcnt use incorrect assumption about REXB prefix usage
...
Reviewed-by: kvn
2014-07-19 00:33:37 +04:00
Filipp Zhinkin
1f29a205e2
6848902: [TESTBUG] The compiler/6589834/Test_ia32.java timed out
...
Reviewed-by: kvn, iignatyev
2014-07-19 00:32:23 +04:00
Filipp Zhinkin
057a0edf66
8050144: Remove '-client' from compiler/8004051/Test8004051.java's options
...
Reviewed-by: kvn
2014-07-19 00:30:54 +04:00
Pavel Punegov
66ce40ebe8
8048882: Some regression tests are not robust with VM output
...
Reviewed-by: kvn, iignatyev
2014-07-19 00:29:20 +04:00
Vladimir Ivanov
3dd313825d
8043546: C1 optimizes @Stable instance fields with default values
...
Reviewed-by: kvn, jrose
2014-07-14 03:25:40 -07:00
Vladimir Kozlov
009f0fb913
Merge
2014-07-11 14:32:02 -07:00
Roland Westrelin
c0deb9e08a
8040237: nsk/jvmti/RetransformClasses/retransform001 crashed the VM on all platforms when run with with -server -Xcomp
...
Class redefinition may cause speculative trap clean up code to dereference dead method
Reviewed-by: kvn, coleenp
2014-07-10 15:12:48 +02:00
Joe Darcy
4f7e4160a0
8048620: Remove unneeded/obsolete -source/-target options in hotspot tests
...
Reviewed-by: dholmes, hseigel
2014-07-07 12:08:07 -04:00
Roland Westrelin
b5b9945659
Merge
2014-07-03 09:41:29 -07:00
Igor Ignatyev
0231fb818f
8047996: Quarantine compiler/whitebox tests
...
Reviewed-by: vlivanov
2014-07-01 13:09:40 +04:00
Staffan Larsen
a3765464cb
8047973: Quarantine compiler/ciReplay/*
...
Reviewed-by: vlivanov
2014-06-30 10:04:05 +02:00
Tobias Hartmann
b4d4c8a392
8048003: test/compiler/8009761/Test8009761.java failed with: java.lang.RuntimeException: static java.lang.Object Test8009761.m3(boolean,boolean) not compiled
...
Compile m3 with C1 if C2 is not available.
Reviewed-by: twisti, anoll
2014-06-30 08:28:29 +02:00
Vladimir Kozlov
b571b4214a
8046516: Segmentation fault in JVM (easily reproducible)
...
Place new nodes on the previous loop exit in reorg_offsets().
Reviewed-by: roland
2014-06-12 10:15:43 -07:00
James Cheng
395560c428
8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
...
Add C2 SHA intrinsics on SPARC
Reviewed-by: kvn, roland
2014-06-11 11:05:10 -07:00
Tobias Hartmann
83fc2acbd7
8044538: assert(which != imm_operand) failed: instruction is not a movq reg, imm64
...
Fixed internal_word_Relocation::target() to not retrieve target address from code if relocation points into the constant section. Added test.
Reviewed-by: kvn, twisti, dlong
2014-06-11 09:16:19 +02:00