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
Nils Eliasson
cdd2105184
8040244: compiler/whitebox/IsMethodCompilableTest.java fails
...
Prevent from running with Xcomp
Reviewed-by: kvn, twisti
2014-06-09 10:32:49 +02:00
Vladimir Ivanov
ea0470002e
8033626: assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place
...
Reviewed-by: kvn, roland
2014-06-10 10:00:59 +00:00
Albert Noll
f35c3e76a4
Merge
2014-05-30 19:21:42 +00:00
Tobias Hartmann
1ed4c83948
8021775: compiler/8009761/Test8009761.java "Failed: init recursive calls: 51. After deopt 50"
...
Reimplemented the test using the Whitebox API to deterministically trigger compilation and deoptimization. Now allowing number of recursive calls to vary by 1.
Reviewed-by: twisti, roland, iignatyev
2014-05-30 09:26:48 +02:00
Albert Noll
a3b9ebba8d
8011646: SEGV in compiled code with loop predication
...
Remove control edge of load node to ensure that castPP removal sets the control edge correctly
Reviewed-by: kvn, roland
2014-05-30 06:50:38 +02:00
Igor Ignatyev
cd910ffebb
8043899: compiler/5091921/Test7005594.java fails if specified -Xmx is less than 1600m
...
Reviewed-by: kvn, twisti, vlivanov
2014-05-28 14:42:00 +04:00
Filipp Zhinkin
e7419662ba
8038924: Test bit-instructions fails with unexpected exit value on sparc
...
Reviewed-by: kvn, iignatyev
2014-05-26 19:05:01 +04:00
Roland Westrelin
a7d8aec5fb
8042557: compiler/uncommontrap/TestSpecTrapClassUnloading.java fails with: GC triggered before VM initialization completed
...
Larger heap size, bug fix when trying to exhaust memory
Reviewed-by: vlivanov, twisti, kvn
2014-05-26 10:48:58 +02:00
Christian Thalinger
67ad89efd5
Merge
2014-05-22 16:26:05 -07:00
Chuck Rasbold
1bf7f2b9a6
8043354: 8043354: Make is_return_allocated() respect allocated objects than can method-escape
...
In bcEscapeAnalyzer update the _allocated_escapes flag if a var escapes the method.
Reviewed-by: kvn
2014-05-21 10:54:59 -07:00
Igor Ignatyev
1af450a3cb
8032498: compiler/ciReplay tests fail with StatusError: failed to clean up files after test..
...
Reviewed-by: kvn
2014-05-19 23:52:23 +04:00
Igor Ignatyev
3e18a6f16d
Merge
2014-05-02 09:30:17 +00:00
Igor Ignatyev
fd25edc683
8042214: add @ignore tag to all excluded jtreg tests in test/compiler
...
Reviewed-by: kvn, ctornqvi
2014-05-02 13:20:42 +04:00
Albert Noll
4865736713
Merge
2014-05-01 21:30:54 -07:00
Severin Gehwolf
a92fee550e
8041992: Fix of JDK-8034775 neglects to account for non-JIT VMs
...
Allow 0 compiler threads if no JIT is used.
Reviewed-by: kvn, dholmes
2014-05-02 06:24:39 +02:00
Shrinivas Joshi
d3e5e9eb8d
8042281: compiler/7184394/TestAESMain.java fails with: javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes
...
Added missing -DmsgSize=640 to test's run commands.
Reviewed-by: kvn
2014-05-01 17:57:29 -07:00
Shrinivas Joshi
c0f886ec65
8035936: SIGBUS in StubRoutines::aesencryptBlock, solaris-sparc
...
Fix the arbitrary alignment issue in SPARC AES crypto stub routines.
Reviewed-by: kvn, iveresov
2014-04-30 14:14:01 -07:00
David Chase
cd35f69721
8039407: Regression test needed for JDK-8015396
...
Converted bug demo into regression test
Reviewed-by: kvn
2014-04-28 15:09:39 -04:00
Roland Westrelin
633a96c2e3
8041481: JVM crashes with collect_args_for_profiling
...
Method handle call to c1 intrinsic tries to profile popped argument
Reviewed-by: kvn, twisti
2014-04-25 09:22:16 +02:00
Igor Ignatyev
54479bee2c
Merge
2014-04-24 10:32:49 +00:00
Igor Ignatyev
0943a93646
8041497: Compilation of compiler/rtm/cli/TestUseRTMDeoptOption* tests failed
...
Reviewed-by: kvn, roland
2014-04-24 14:02:48 +04:00
Roland Westrelin
7b1f15e51e
8039960: Unexpected exit from test compiler/profiling/spectrapredefineclass/Launcher.java
...
The test case doesn't need to change the heap size to reproduce the failure.
Reviewed-by: twisti, kvn
2014-04-24 11:05:07 +02:00
Richard Reingruber
728ea561aa
8038048: assert(null_obj->escape_state() == PointsToNode::NoEscape,etc) runThese -full
...
Use correct set_escape_state() method.
Reviewed-by: kvn, iignatyev
2014-04-16 14:49:03 -07:00
Roland Westrelin
3a724605fc
Merge
2014-04-15 02:27:34 -07:00
Filipp Zhinkin
17ad17c6ec
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
...
Reviewed-by: kvn, iignatyev
2014-04-15 12:21:24 +04:00
Pavel Punegov
2b5f33db1e
8038418: New tests development for type profiling and speculation
...
Reviewed-by: roland, iignatyev
2014-04-11 18:46:35 +04:00
Filipp Zhinkin
b3c9d243d3
8039496: Add sanity tests on RTM-related command line options
...
Reviewed-by: kvn, iignatyev
2014-04-11 00:35:28 +04:00
Filipp Zhinkin
746fe025b6
8037860: Add tests to cover Intel RTM instructions support
...
Reviewed-by: kvn, iignatyev
2014-04-11 00:35:23 +04:00
Filipp Zhinkin
75990f8013
8039499: Add all common classes used by tests on RTM support to testlibrary
...
Reviewed-by: kvn, iignatyev
2014-04-11 00:35:11 +04:00
Anton Ivanov
2b032b10e1
8038953: Add sanity tests for BMI1 and LZCNT instructions
...
Reviewed-by: kvn, iignatyev
2014-04-11 00:34:51 +04:00
Roland Westrelin
7da7a9c72a
8038636: speculative traps break when classes are redefined
...
Remove speculative traps that point to methods that are redefined
Reviewed-by: kvn, twisti
2014-04-08 09:51:25 +02:00
Igor Veresov
6428c0a397
8039043: Implicit null check is in the wrong place in C1 -UseCompressedOops
...
Null check is placed in a wrong place when storing a null to an object field on x64 with compressed oops off
Reviewed-by: roland, vlivanov, kvn
2014-04-02 11:24:51 -07:00
Roland Westrelin
f5adc57f94
8032410: compiler/uncommontrap/TestStackBangRbp.java times out on Solaris-Sparc V9
...
Make compiled code bang the stack by the worst case size of the interpreter frame at deoptimization points.
Reviewed-by: twisti, kvn
2014-04-01 09:36:49 +02:00
Igor Ignatyev
f5d6f0ceb8
8038393: [TESTBUG] ciReplay/* tests fail after 8034775
...
Reviewed-by: kvn
2014-03-29 14:54:48 +04:00
Filipp Zhinkin
45dd523fc6
8038193: Add command line option tests for BMI options
...
Reviewed-by: kvn, iignatyev
2014-03-27 17:29:41 +04:00
Igor Ignatyev
d9187e9799
8038240: new WB API to get nmethod
...
Reviewed-by: morris, kvn
2014-03-27 11:17:26 +04:00
Poonam Bajaj
1516f610a1
6653795: C2 intrinsic for Unsafe.getAddress performs pointer sign extension on 32-bit systems
...
Native pointers less than 64 bits wide should be extended as an unsigned number.
Reviewed-by: kvn, kevinw
2014-03-24 08:43:10 -07:00
Filipp Zhinkin
8167043964
8035857: Add tests to verify correctness of operations with BMI1 and LZCNT instructions
...
Reviewed-by: iveresov, kvn, iignatyev
2014-03-22 00:26:48 +04:00
Bharadwaj Yadavalli
52f97b0ee1
8036576: jtreg failed on Test6792161 timed out
...
Increase time out value of test since debug VM executes additional code
Reviewed-by: kvn
2014-03-17 11:33:21 -04:00
Igor Veresov
768beb9a23
8031321: Support Intel bit manipulation instructions
...
Add support for BMI1 instructions
Reviewed-by: kvn, roland
2014-03-12 11:24:26 -07:00
Roland Westrelin
e021d60c5a
Merge
2014-03-06 02:37:44 -08:00
Roland Westrelin
d5ff84f8b3
8032633: Enable type speculation by default
...
Enable type speculation
Reviewed-by: kvn
2014-03-06 11:11:04 +01:00
Igor Ignatyev
8439d7fa51
8027124: [TESTBUG] NonTieredLevelsTest: java.lang.RuntimeException: private TestCase$Helper(java.lang.Object) must be osr_compiled
...
Reviewed-by: kvn, roland
2014-03-06 12:47:45 +04:00
Igor Ignatyev
4f2175f088
8027257: [TESTBUG] compiler/ciReplay/TestVM.sh : Error: Could not find or load main class negative_test
...
Reviewed-by: roland, kvn
2014-03-06 12:46:04 +04:00
Albert Noll
a09c80205a
Merge
2014-03-05 01:26:52 -08:00
Albert Noll
9e39a2797d
8036091: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
...
Start test with -XX:-TieredCompilation so that one compiler thread works
Reviewed-by: kvn, twisti
2014-03-05 10:20:30 +01:00
Albert Noll
796f0c989b
Merge
2014-03-04 21:15:33 -08:00
Albert Noll
9150b93093
8036092: [TESTBUG] compiler/uncommontrap/TestSpecTrapClassUnloading.java fails with: Unrecognized VM option 'UseTypeSpeculation'
...
Add -XX:+IgnoreUnrecognizedVMOptions to @main/othervm to make the test pass on Client VM
Reviewed-by: kvn, roland
2014-03-05 06:08:19 +01:00
Vladimir Ivanov
fc6e8666a1
8036100: Default method returns true for a while, and then returns false
...
Reviewed-by: kvn, jrose
2014-03-04 02:33:10 -08:00
Vladimir Ivanov
3ba019c8b2
8035828: Turn on @Stable support in VM
...
Reviewed-by: jrose, twisti
2014-03-04 02:20:41 -08:00
Nils Eliasson
0b6a5f744a
8007270: Make IsMethodCompilable test work with tiered
...
Only c2 compiles counts toward cutoff
Reviewed-by: kvn, roland
2014-01-28 15:05:46 +01:00
Roland Westrelin
58c97205d0
8032011: nsk/stress/jck60/jck60022 crashes in src\share\vm\runtime\synchronizer.cpp:239
...
Biased locking's revoke_bias locks monitor in compiled frame with eliminated lock
Reviewed-by: kvn, iveresov
2014-02-27 09:37:16 +01:00
Albert Noll
39b5a040cd
8032642: [TESTBUG] Fix testbugs in compiler/startup/.*
...
Fixed issues with these tests
Reviewed-by: kvn, twisti
2014-02-26 07:44:59 +01:00
Roland Westrelin
493557fc90
8031752: Failed speculative optimizations should be reattempted when root of compilation is different
...
Support for speculative traps that keep track of the root of the compilation in which a trap occurs.
Reviewed-by: kvn, twisti
2014-02-25 18:16:24 +01:00
Albert Noll
a609fe84bb
8034775: Failing to initialize VM when running with negative value for -XX:CICompilerCount
...
Ensure appropriate min. number of compiler threads (1 for non-tiered, and 2 for tiered)
Reviewed-by: kvn
2014-02-25 13:52:37 +01:00
Rickard Bäckman
0b85ee832e
8027754: Enable loop optimizations for loops with MathExact inside
...
Reviewed-by: kvn, iveresov
2014-01-23 12:08:28 +01:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00
Harold Seigel
b7100718e8
Merge
2014-01-29 19:54:44 -05:00
Stefan Sarne
4a7bc8eccd
8032662: test/compiler/ciReplay/TestSA.sh should report ulimit issues
...
Reviewed-by: kvn, iignatyev
2014-01-27 10:57:52 +01:00
Albert Noll
3e1a99cabe
Merge
2014-01-26 23:01:57 -08:00
Albert Noll
62f89da665
8009738: compiler/6826736/Test.java times out on big machines
...
Added -Xmx256m -XX:ParallelGCThreads=4 to the test @run command. Verified that 256m is enough to trigger old 6826736 bug.
Reviewed-by: kvn
2014-01-27 07:54:25 +01:00
Roland Westrelin
c19a7e0fa3
8027422: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed
...
Type methods shouldn't always operate on speculative part
Reviewed-by: kvn, twisti
2014-01-24 09:31:53 +01:00
Vladimir Ivanov
91573b8695
8031695: CHA ignores default methods during analysis leading to incorrect code generation
...
Reviewed-by: jrose, acorn, hseigel, lfoltan
2014-01-23 01:23:23 +04:00
Igor Veresov
0c43978be6
8031743: C2: loadI2L_immI broken for negative memory values
...
Restrict loadI2L_imm optimizations to positive values of mask
Reviewed-by: kvn, dlong
2014-01-21 20:05:28 -08:00
Igor Veresov
2275de8d6b
8032207: C2: assert(VerifyOops || MachNode::size(ra_) <= (3+1)*4) failed: bad fixed size
...
Fix the sizing of loadUS2L_immI16 and loadI2L_immI
Reviewed-by: kvn, azeemj
2014-01-17 18:09:08 -08:00
Shrinivas Joshi
d4c9d3889b
8002074: Support for AES on SPARC
...
Add intrinsics/stub routines support for single-block and multi-block (as used by Cipher Block Chaining mode) AES encryption and decryption operations on the SPARC platform.
Reviewed-by: kvn, roland
2014-01-14 17:46:48 -08:00
Roland Westrelin
cb7814987c
8029873: compiler/uncommontrap/TestStackBangRbp.java crashes with SIGSEGV
...
May end up in uncommon trap blob/deopt blob with unguarded stack
Reviewed-by: kvn, twisti
2014-01-08 09:49:31 +01:00
Roland Westrelin
417b5f07b7
8027571: fatal error: meet not symmetric
...
Meet of one constant array and one exact array not symmetric.
Reviewed-by: kvn
2014-01-07 16:02:10 +01:00
Roland Westrelin
7c32ed31d2
8028536: Test cases to cover type system fixes pushed with 8024070
...
Extra test cases for type speculation
Reviewed-by: kvn
2014-01-07 12:38:22 +01:00
Mikael Vidstedt
a0da47fd66
8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
...
Copyright year updated for files modified during 2013
Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Igor Ignatyev
55ff73a553
8026941
: [TESTBUG] java.lang.ClassNotFoundException: java.lang.invoke.InvokeGeneric
...
Reviewed-by: kvn, vlivanov
2013-12-13 00:34:09 +04:00
Igor Ignatyev
6780ffeaa6
8029153: [TESTBUG] test/compiler/7141637/SpreadNullArg.java fails because it expects NullPointerException
...
Reviewed-by: twisti
2013-12-11 01:09:04 +04:00
Igor Ignatyev
5e69eb1595
8028122: [TESTBUG] compiler/regalloc/C1ObjectSpillInLogicOp.java
...
Reviewed-by: kvn, twisti
2013-12-11 01:04:34 +04:00
Christian Thalinger
e71c8df213
8029366: ShouldNotReachHere error when creating an array with component type of void
...
Reviewed-by: kvn
2013-12-06 16:43:56 -08:00
Anton Ivanov
b6d0b72ec0
8028587: New tests development for intrisics for basic operators - add, neg, inc, dec, sub, mul
...
Reviewed-by: twisti
2013-12-31 19:26:57 +04:00
Albert Noll
2eb5e0e89d
8028052: compiler/startup/SmallCodeCacheStartup.java fails there is no 'no space to run compiler' in the output
...
Weaken test so that configurations that have no C1 compiler pass
Reviewed-by: iveresov
2013-12-20 10:31:14 +01:00
Albert Noll
066ad17893
8030783: Provide regression test for 8026478: -XX:+VerifyAdapterSharing is broken
...
Added simple regression test
Reviewed-by: iveresov
2013-12-20 10:29:44 +01:00
Rickard Bäckman
c5b9d5ccd3
8028624: [TESTBUG] compiler/intrinsics/mathexact/DecExactLTest executes DecExactITest
...
Reviewed-by: kvn, twisti
2013-11-22 15:26:37 +01:00
Rickard Bäckman
57e01f1502
8028997: mathexact intrinsics are unstable
...
Reviewed-by: iveresov, kvn
2013-11-22 14:14:26 +01:00
David Chase
78f1afbf45
8016839: JSR292: AME instead of IAE when calling a method
...
Catch missing-because-illegal case for itable entries and use an exception-throwing method instead of null.
Reviewed-by: acorn, jrose, coleenp
2013-11-26 18:16:04 -05:00
Markus Grönlund
1bb792465e
Merge
2013-11-22 20:26:36 +01:00
Roland Westrelin
319bfa3852
8028308: nsk regression, assert(obj->is_oop()) failed: not an oop
...
Rbp not restored when stack overflow is thrown from deopt/uncommon trap blobs
Reviewed-by: kvn, iveresov
2013-11-20 12:46:08 +01:00
Markus Grönlund
689cc9ddb7
Merge
2013-11-15 21:39:27 +01:00
Yumin Qi
7496b461e3
8025632: Remove all references to MagicLambdaImpl from Hotspot
...
MagicLambdaImpl was removed from jdk side, this should be done in vm side too
Reviewed-by: coleenp, hseigel, rdurbin
2013-11-13 16:24:33 -08:00
Roland Westrelin
3fbc683322
8027572: assert(r != 0) failed: invalid
...
Null classes should be expected in profiles with conflicts
Reviewed-by: kvn, iveresov
2013-11-13 13:45:50 +01:00
Roland Westrelin
a5b4fba397
Merge
2013-11-13 01:50:14 -08:00
Roland Westrelin
44f0952afe
8027631: "unexpected profiling mismatch" error with new type profiling
...
Inlined method handle calls can call methods with different signatures
Reviewed-by: kvn, iveresov
2013-11-13 09:45:58 +01:00
Rickard Bäckman
9c845933bd
8028207: assert(_outcnt==1) failed: not unique in compile.cpp
...
Reviewed-by: iveresov, kvn
2013-11-12 14:52:48 +01:00
Rickard Bäckman
0ef4539a9f
8028198: SIGSEGV in PhaseIdealLoop::build_loop_late_post
...
Reviewed-by: iveresov, kvn
2013-11-12 13:47:57 +01:00
Mikael Vidstedt
e80dce6a4d
8026775: nsk/jvmti/RedefineClasses/StressRedefine crashes due to EXCEPTION_ACCESS_VIOLATION
...
Uncommon trap blob did not bang all the stack shadow pages
Reviewed-by: kvn, twisti, iveresov, jrose
2013-11-06 06:51:24 -08:00
Igor Veresov
c78419253b
Merge
2013-11-05 02:29:41 -08:00
Igor Veresov
7899a729a9
8027751: C1 crashes in Weblogic with G1 enabled
...
Keep T_OBJECT operands in registers for logical operations on x64
Reviewed-by: kvn, roland
2013-11-05 00:59:30 -08:00
Roland Westrelin
c8757a5edd
8027445: SIGSEGV at TestFloatingDecimal.testAppendToDouble()I
...
String.equals() intrinsic shouldn't use integer length input in pointer arithmetic without an i2l.
Reviewed-by: kvn, twisti
2013-11-04 21:59:54 +01:00
Rickard Bäckman
897e6d41f6
8027622: java.time.Instant.create failing since hs25-b56
...
Reviewed-by: kvn, iveresov
2013-11-04 10:44:46 +01:00
Igor Veresov
e43ac25584
8026735: Stream tests throw java.lang.IncompatibleClassChangeError
...
Put a band-aid to disable CHA-based inlining for interfaces with default methods in C1
Reviewed-by: kvn, twisti
2013-10-30 22:55:11 -07:00
Rickard Bäckman
612252d7a2
8027444: mathExact: assert(i < _max) failed: oob: i=1, _max=1
...
Reviewed-by: duke
2013-10-30 13:14:09 +01:00
Rickard Bäckman
4d9e812aa2
8027353: Exact intrinsics: assert(n != NULL) failed: must not be null
...
Reviewed-by: kvn, roland
2013-10-28 08:34:10 +01:00
Albert Noll
87fe2fdf42
8026949: -Xint flag prints wrong warning: Initialization of C1 thread failed (no space to run compilers)
...
Exit compiler threads early during startup so that wrong error message is not printed
Reviewed-by: iveresov, twisti
2013-10-25 22:57:13 +02:00
Rickard Bäckman
615376fb9b
8026844: Various Math functions needs intrinsification
...
Reviewed-by: kvn, twisti
2013-10-18 10:41:56 +02:00
Roland Westrelin
1b5bd82335
8024070: C2 needs some form of type speculation
...
Record unused type profile information with type system, propagate and use it.
Reviewed-by: kvn, twisti
2013-10-23 12:40:23 +02:00
Igor Ignatyev
1fbfd1734c
8026865: [TESTBUG] 'compiler/print/PrintInlining.java' should specify -XX:+UnlockDiagnosticVMOptions
...
Reviewed-by: twisti, iveresov
2013-10-21 09:21:41 +04:00
Igor Ignatyev
50b8567c55
8023318: compiler/whitebox tests timeout with enabled TieredCompilation
...
Reviewed-by: kvn, twisti
2013-10-19 21:54:46 +04:00
Igor Ignatyev
fce1adef81
8026414: [TESTBUG] Tests for Tiered/NonTiered levels
...
Reviewed-by: twisti, iveresov
2013-10-19 21:54:44 +04:00
Rickard Bäckman
0e8081e57b
8025657: compiler/intrinsics/mathexact/ConstantTest.java fails on assert in lcm.cpp on solaris x64
...
Reviewed-by: kvn, twisti
2013-10-11 12:06:14 +02:00
David Chase
b1d7228bff
8026124: JSR-292 bug: java.nio.file.Path.toString cores dump
...
Catch problem case, assert it matches valid input, new test
Reviewed-by: jrose, twisti, kvn
2013-10-12 17:26:41 -04:00
Albert Noll
aef0d74e96
8023014: CodeSweeperSweepNoFlushTest.java fails with HS crash
...
Ensure ensure correct initialization of compiler runtime
Reviewed-by: kvn, twisti
2013-10-10 15:44:12 +02:00
Albert Noll
4f459e644f
8025656: compiler/8013496/Test8013496.sh fails on assert
...
Ensure the thread is in correct state; rewrote test in Java
Reviewed-by: kvn, twisti
2013-10-04 09:19:13 +02:00
David Chase
02f6818d8f
8025260: Methodhandles/JSR292: NullPointerException (NPE) thrown instead of AbstractMethodError (AME)
...
Copied null-checks from templateInterpreter_CPU into methodHandles_CPU
Reviewed-by: jrose, twisti
2013-09-27 13:36:25 -04:00
Igor Ignatyev
30874d35f1
8023452: TestCase$Helper(java.lang.Object) must be osr_compiled
...
Reviewed-by: kvn
2013-09-28 12:32:10 +04:00