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
Chris Plummer
d78d0c4fa4
8140189: [TESTBUG] Get rid of "@library /../../test/lib" in jtreg tests
...
Use new external.lib.roots property in TEST.ROOT so /../../test/lib is not needed.
Reviewed-by: mseledtsov, sla, iklam
2015-10-29 12:04:04 -07: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
Rickard Bäckman
441f1d74cf
8024924: Intrinsify java.lang.Math.addExact
...
Reviewed-by: kvn, twisti
2013-09-27 08:39:19 +02:00
Vladimir Kozlov
0ccb2841ea
8022585: VM crashes when ran with -XX:+PrintInlining
...
Use adr_at() to access inline info structures in growableArray. Add ability to specify print inlining per method.
Reviewed-by: twisti
2013-09-24 16:08:00 -07:00
Rickard Bäckman
44a46005b8
Merge
2013-09-02 13:13:45 +02:00
Bill Pittore
67ca3cb452
8023580: Add jtreg test for 8004051 and 8005722
...
Tests checks an assertion dealing with the number of args passed in registers
Reviewed-by: mseledtsov, kvn
2013-08-28 14:44:46 -04:00
Vladimir Ivanov
4b7e40084c
8022595: JSR292: deadlock during class loading of MethodHandles, MethodHandleImpl & MethodHandleNatives
...
Reviewed-by: kvn, coleenp, dholmes
2013-08-26 17:41:05 +04:00
Rickard Bäckman
4cb52fc49d
Merge
2013-08-22 18:37:14 +02:00
Vladimir Kozlov
dac98bcc0d
8023472: C2 optimization breaks with G1
...
Set control edge for previous value load in G1 pre-barrier
Reviewed-by: twisti
2013-08-23 18:04:35 -07:00
Kevin Walls
a40e2a9236
8022655: ClassDump ignored jarStream setting
...
Reviewed-by: minqi, sla
2013-08-19 14:28:58 +01:00
Igor Ignatyev
ed4b026105
8019915: whitebox testClearMethodStateTest fails with tiered on sparc
...
'compileonly' directive has beens added to each 'compiler/whitebox' test
Reviewed-by: kvn
2013-08-10 10:01:12 +04:00
Igor Ignatyev
caa3d02130
8022832: Add WB APIs for OSR compilation
...
Reviewed-by: kvn
2013-08-14 23:50:23 +04:00
Igor Ignatyev
f9cf9e88b8
8016456: ciReplay test assumes TIERED compilation is available
...
Reviewed-by: vlivanov, kvn, dholmes
2013-08-16 17:34:37 +04:00
Christian Thalinger
7107241178
8022029: GetUnsafeObjectG1PreBarrier fails on 32-bit with: Unrecognized VM option 'ObjectAlignmentInBytes=32'
...
Reviewed-by: kvn
2013-08-05 15:03:40 -07:00
Albert Noll
4ca00ef5a6
8020531: Test compiler/codecache/CheckUpperLimit.java fails when memory limited
...
Removed part of the test that required the VM to start up with -XX:ReservedCodeCacheSize=2048m
Reviewed-by: kvn, rbackman
2013-08-01 16:01:32 -07:00
Christian Thalinger
5555a381fb
8016474: Crash in sun.reflect.UnsafeObjectFieldAccessorImpl.get
...
C1's GetUnsafeObject G1 pre-barrier uses the wrong type to read the klass pointer.
Reviewed-by: iveresov, kvn
2013-07-29 16:32:38 -07:00
Vladimir Kozlov
665bf36b6f
8020433: Crash when using -XX:+RestoreMXCSROnJNICalls
...
Remove StubRoutines::x86::_mxcsr_std and use StubRoutines::_mxcsr_std
Reviewed-by: jrose
2013-07-15 10:28:32 -07:00
Vladimir Kozlov
1338c067aa
8007898: Incorrect optimization of Memory Barriers in Matcher::post_store_load_barrier()
...
Generate one "fat" membar instead of set of barriers for volitile store
Reviewed-by: roland
2013-07-12 14:03:10 -07:00
Vladimir Kozlov
2d3b117249
8020215: Different execution plan when using JIT vs interpreter
...
Fix bytecode analyzer
Reviewed-by: twisti
2013-07-12 14:01:37 -07:00
Christian Thalinger
fa834be249
Merge
2013-07-09 22:00:04 -07:00
Niclas Adlertz
5de04505c1
8019625: Test compiler/8005956/PolynomialRoot.java timeouts on Solaris SPARCs
...
Disable the test for SPARC and reduce the number of test iterations
Reviewed-by: kvn
2013-07-09 17:20:32 +02:00
Albert Noll
1bc320c73a
8015635: Crash when specifying very large code cache size
...
Limit the size of the code cache to at most 2G when arguments are checked; added regression test
Reviewed-by: kvn, twisti
2013-07-09 11:48:05 +02:00
David Chase
9a359984c2
7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
...
Add intrinsics using new instruction to interpreter, C1, C2, for suitable x86; add test
Reviewed-by: kvn, twisti
2013-07-02 20:42:12 -04:00
Niclas Adlertz
2b66900257
8017510: Add a regression test for 8005956
...
Regression test for 8005956
Reviewed-by: kvn, twisti
2013-06-26 00:40:13 +02:00
Vladimir Kozlov
e62cfbfd5f
Merge
2013-06-06 11:02:25 -07:00
Serguei Spitsyn
e609456b0e
8015803: Test8015436.java fails 'can not access a member of class Test8015436 with modifiers "public static"'
...
Newly added test has an issue: the main class must be public
Reviewed-by: kvn, jbachorik, coleenp
2013-06-04 01:06:50 -07:00
Serguei Spitsyn
a246da16d1
8015436: compiler/ciReplay/TestSA.sh fails with assert() index is out of bounds
...
The InstanceKlass _initial_method_idnum value must be adjusted if overpass methods are added.
Reviewed-by: twisti, kvn
2013-05-30 11:46:39 -07:00
Vladimir Kozlov
47a5d851ad
8010927: Kitchensink crashed with SIGSEGV, Problematic frame: v ~StubRoutines::checkcast_arraycopy
...
Changed gen_write_ref_array_post_barrier() code on x64 to pass start address and number of copied oop elements. In generate_checkcast_copy() skip post barrier code if no elements are copied.
Reviewed-by: roland
2013-05-22 18:25:43 -07:00
Igor Ignatyev
bf1380cc77
8014068: TEST_BUG: compiler/ciReplay/TestSA.sh fails on Windows: core wasn't generated
...
Reviewed-by: kvn
2013-05-15 22:44:52 +04:00
Vladimir Kozlov
b4977e887a
6934604: enable parts of EliminateAutoBox by default
...
Resurrected autobox elimination code and enabled part of it by default.
Reviewed-by: roland, twisti
2013-05-08 15:08:01 -07:00
Roland Westrelin
20b5d3aa4f
8012037: Test8009761.java "Failed: init recursive calls: 7224. After deopt 58824"
...
Test shouldn't be run with a modified CompileThreshold
Reviewed-by: kvn
2013-05-03 09:32:50 +02:00
Igor Ignatyev
25dd2eda88
8012322: Tiered: CompilationPolicy::can_be_compiled(CompLevel_all) mistakenly return false
...
Reviewed-by: kvn, vlivanov
2013-04-26 07:21:41 -07:00
Igor Ignatyev
0a434e425b
8011675: adding compilation level to replay data
...
Reviewed-by: kvn, vlivanov
2013-04-25 11:09:24 -07:00
Albert Noll
34f8be0bc9
8013496: Code cache management command line options work only in special order. Another order of arguments does not deliver the second parameter to the jvm
...
Moved check that ReservedCodeCacheSize >= InitialCodeCacheSize to Arguments::check_vm_args_consistency(). As a result, the ordering in which the two parameters are given to the VM is not relevant. Added a regression test.
Reviewed-by: kvn, twisti
2013-05-31 06:41:50 +02:00
Roland Westrelin
2e5f473752
8015585: Missing regression test for 8011771
...
Missing regression test
Reviewed-by: kvn
2013-05-30 11:21:01 +02:00
Roland Westrelin
bad6728ea4
8011901: Unsafe.getAndAddLong(obj, off, delta) does not work properly with long deltas
...
Instruct xaddL_no_res shouldn't allow 64 bit constants.
Reviewed-by: kvn
2013-04-16 17:06:39 +02:00
Igor Ignatyev
33e3f6b59b
8011971: WB API doesn't accept j.l.reflect.Constructor
...
Reviewed-by: kvn, vlivanov
2013-04-16 10:04:01 -07:00
David Chase
25c31f3742
6443505: Ideal() function for CmpLTMask
...
Repair wrong code generation, added new matching rule
Reviewed-by: kvn, twisti
2013-04-12 19:14:47 -07:00
Roland Westrelin
c99c99aa36
8011706: specjvm2008 test xml.transform gets array bound exception with c1
...
Loop invariant code motion may move load before store to the same field
Reviewed-by: kvn
2013-04-10 09:52:49 +02:00
Igor Ignatyev
ca90185607
8007288: Additional WB API for compiler's testing
...
Reviewed-by: kvn, vlivanov
2013-04-09 09:54:17 -07:00
David Chase
12be356d81
8010913: compiler/6863420 often exceeds timeout
...
Add longer timeout for jtreg, add internal timeout thread to prevent spurious timeouts
Reviewed-by: twisti, kvn
2013-04-08 07:40:08 -07:00
Roland Westrelin
02a014996b
8010399: Test8009761.java "Failed: init recursive calls: 5498. After deopt 5494"
...
Test from 8009761 shouldn't be run with -Xcomp
Reviewed-by: kvn
2013-04-04 09:33:24 +02:00
Gary Collins
c2a873f014
8009152: A number of jtreg tests need review/improvement
...
Added a new test_env.txt file to capture common shell variable. Added concept of COMPILEJAVA for use when TESTJAVA is a JRE. If COMPILEJAVA not set then TESTJAVA will be the default with assumption it is a JDK.
Reviewed-by: kvn, brutisso, coleenp
2013-03-27 09:49:51 -07:00
Igor Ignatyev
51c733dfb1
8008211: Some of WB tests on compiler fail
...
Reviewed-by: kvn, vlivanov
2013-03-18 04:29:08 -07:00
Roland Westrelin
05b1c69fc0
8009761: Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
...
Deoptimization doesn't set up callee frames so that they restore caller frames correctly.
Reviewed-by: kvn
2013-03-13 09:44:45 +01:00
Bill Pittore
715db0beb3
Merge
2013-03-01 14:06:47 -05:00
Vladimir Ivanov
528aec3f18
Merge
2013-02-28 15:31:03 -08:00
Gary Collins
093d1163e4
7115383: TEST_BUG: some jtreg tests fail because they explicitly specify -server option
...
Small changes to hotspot tests to remove "-server" and replace with ${TESTVMOPTS}
Reviewed-by: kvn
2013-02-27 20:36:14 -08:00
David Chase
899bcf76ae
8007776: Test6852078.java timeouts
...
If more than 100 seconds and more than 100 iterations have both passed, then exit is allowed.
Reviewed-by: kvn
2013-02-26 15:38:24 -08:00
Roland Westrelin
c84424d4af
8007722: C2: "assert(tp->base() != Type::AnyPtr) failed: not a bare pointer" at machnode.cpp:376
...
GetAndSetP's MachNode should capture bottom type.
Reviewed-by: kvn
2013-02-26 12:18:30 +01:00
Roland Westrelin
fe92862089
8007294: ReduceFieldZeroing doesn't check for dependent load and can lead to incorrect execution
...
InitializeNode::can_capture_store() must check that the captured store doesn't overwrite a memory location that is loaded before the store.
Reviewed-by: kvn
2013-02-25 14:13:04 +01:00
Serguei Spitsyn
f85789e68a
Merge
2013-02-22 10:16:51 -08:00
Mikael Gerdin
1d468be4b1
8006753: fix failed for JDK-8002415 White box testing API for HotSpot
...
Modify WhiteBoxAPI to use interface classes from test/testlibrary instead, add ClassFileInstaller to resolve the boot class path issue
Reviewed-by: ctornqvi, dsamersoff, coleenp, kvn
2013-02-19 18:45:49 +01:00
Vladimir Kozlov
656949d014
8004867: VM crashing with assert "share/vm/opto/node.hpp:357 - assert(i < _max) failed: oob"
...
Added few checks and early bailout from Superword optimization to avoid such cases in a future.
Reviewed-by: roland, twisti
2013-02-18 16:47:15 -08:00
David Chase
8d2496d7de
7102300: performance warnings cause results diff failure in Test6890943
...
Strip lines matching the performance warning from the output before diff.
Reviewed-by: kvn
2013-02-18 15:08:39 -08:00
David Chase
d867a3f9a8
8008180
: Several tests in compiler/5091921 need more time to run
...
Added an explicit timeouts.
Reviewed-by: kvn, twisti
2013-02-18 14:29:16 -08:00
Igor Ignatyev
034705ee13
8006683: Add WhiteBox API to testing of compiler
...
Reviewed-by: kvn, vlivanov
2013-02-13 08:29:04 -08:00
Krystal Mo
851ae93451
8002169: TEST_BUG: compiler/7009359/Test7009359.java sometimes times out
...
Make the test less prone to timeout by reducing the amount of iteration and allowing main to be compiled
Reviewed-by: jrose
2013-02-12 07:39:42 -08:00
David Chase
89b8658977
8006500: compiler/8004741/Test8004741.java fails intermediately
...
Rewrote the test to be more reliable, add test for invalid size exception
Reviewed-by: kvn
2013-01-25 16:09:14 -08:00
Vladimir Kozlov
9e0c61f822
6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86
...
Use SSE4.2 and AVX2 instructions for encodeArray intrinsic.
Reviewed-by: roland
2013-01-22 15:34:16 -08:00
David Chase
c803a77fa8
8006204: please JTREGify test/compiler/7190310/Test7190310.java
...
Add proper jtreg annotations in the preceding comment, including an explicit timeout.
Reviewed-by: kvn, twisti
2013-01-16 14:55:18 -08:00
Vladimir Kozlov
38c81fb411
8005419: Improve intrinsics code performance on x86 by using AVX2
...
Use 256bit vpxor,vptest instructions in String.compareTo() and equals() intrinsics.
Reviewed-by: twisti
2013-01-08 11:30:51 -08:00
Vladimir Kozlov
e508acf372
8004741: Missing compiled exception handle table entry for multidimensional array allocation
...
Added missing exception path for multidimensional array allocation and use Throwable type instead of OutOfMemoryError for allocation's exception.
Reviewed-by: twisti
2012-12-19 19:21:15 -08:00
Vladimir Kozlov
960d969ade
8004835: Improve AES intrinsics on x86
...
Enable AES intrinsics on non-AVX cpus, group together aes instructions in crypto stubs.
Reviewed-by: roland, twisti
2012-12-19 15:40:35 -08:00
Richard Reingruber
ba0d2572eb
8005033: clear high word for integer pop count on SPARC
...
Reviewed-by: kvn, twisti
2012-12-19 14:44:00 -08:00
David Chase
fea11c53eb
7146636: compiler/6865265/StackOverflowBug.java fails due to changed stack minimum
...
Increase the stack size in the run parameters.
Reviewed-by: kvn
2012-11-16 15:49:46 -08:00
Vladimir Kozlov
1ebf7b9116
8002069: Assert failed in C2: assert(field->edge_count() > 0) failed: sanity
...
Added missed type check of initializing store in ConnectionGraph::find_init_values().
Reviewed-by: roland, twisti, vlivanov
2012-11-06 15:16:32 -08:00
Tom Deneau
6d94ef1ee7
7184394: add intrinsics to use AES instructions
...
Use new x86 AES instructions for AESCrypt.
Reviewed-by: twisti, kvn, roland
2012-10-24 14:33:22 -07:00
Vladimir Kozlov
a9c2b6a900
8001183: incorrect results of char vectors right shift operaiton
...
Do vector right shift operation for small int types only after loads
Reviewed-by: jrose, dlong
2012-10-23 13:06:37 -07:00
Vladimir Ivanov
7f87237400
8000805: JMM issue: short loads are non-atomic
...
Perform transforms during IGVN phase when Load has a single user.
Reviewed-by: jrose, kvn, twisti
2012-10-22 11:44:30 -07:00
Mikael Vidstedt
769dd50182
7197424: update copyright year to match last edit in jdk8 hotspot repository
...
Update copyright year to 2012 for relevant files
Reviewed-by: dholmes, coleenp
2012-10-09 10:09:34 -07:00
Vladimir Kozlov
8d8d00ff00
7199742: A lot of C2 OSR compilations of the same method's bci
...
Don't clone head of OSR loop.
Reviewed-by: jrose, twisti
2012-10-02 14:49:21 -07:00
Vladimir Kozlov
e8332c76e9
7201026: add vector for shift count
...
Add generation of vectors for scalar shift count.
Reviewed-by: roland, twisti, dlong
2012-10-02 12:25:13 -07:00
Vladimir Kozlov
973fdc81a1
7200264: 7192963 changes disabled shift vectors
...
Replaced is_vector_use() call with explicit check for vector shift's count.
Reviewed-by: twisti, roland, dlong, vlivanov
2012-09-25 15:48:17 -07:00
Vladimir Kozlov
811c047ec1
7196199: java/text/Bidi/Bug6665028.java failed: Bidi run count incorrect
...
Save whole XMM/YMM registers in safepoint interrupt handler.
Reviewed-by: roland, twisti
2012-09-17 19:39:07 -07:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Pavel Punegov
373b8ccd27
7191926: Remove MKS dependency in Hotspot regression tests
...
Add case for CYGWIN in .sh files.
Reviewed-by: coleenp, kvn
2012-08-29 14:49:05 -04:00
Christian Thalinger
2509329d59
Merge
2012-08-24 11:48:32 -07:00
Vladimir Kozlov
cbfca3259c
7192963: assert(_in[req-1] == this) failed: Must pass arg count to 'new'
...
Fixed Pack node generation. Not vectorize shift instructions if count is not the same for all shifts and if count is vector.
Reviewed-by: twisti
2012-08-22 11:55:40 -07:00
Vladimir Kozlov
04c6a7ce10
7190310: Inlining WeakReference.get(), and hoisting $referent may lead to non-terminating loops
...
In C2 add software membar after load from Reference.referent field to prevent commoning of loads across safepoint since GC can change its value. In C1 always generate Reference.get() intrinsic.
Reviewed-by: roland, twisti, dholmes, johnc
2012-08-20 09:58:58 -07:00
Vladimir Kozlov
e3c3c8527e
6340864: Implement vectorization optimizations in hotspot-server
...
Added asm encoding and mach nodes for vector arithmetic instructions on x86.
Reviewed-by: roland
2012-08-20 09:07:21 -07:00
Coleen Phillimore
d52b3a7eb7
7129723: MAC: Some regression tests need to recognize Mac OS X platform
...
Add Darwin like Linux to shell scripts
Reviewed-by: kvn, kamg, dholmes
2012-08-01 16:52:43 -04:00
Roland Westrelin
3511594d3c
7177917: Failed test java/lang/Math/PowTests.java
...
When c2 intrinsifies pow/exp, it should never inline the java implementations.
Reviewed-by: kvn
2012-07-02 09:58:06 +02:00
Vladimir Kozlov
8c4cefaa96
7179138: Incorrect result with String concatenation optimization
...
Check for and skip diamond shaped NULL check code for the result of toString()
Reviewed-by: twisti, roland
2012-06-26 09:06:16 -07:00
Roland Westrelin
118f552a6e
7174363: Arrays.copyOfRange leads to VM crash with -Xcomp -server if executed by testing framework
...
Arrays.copyOfRange(original, from, to) with from > original.length tries to do a copy with a negative length.
Reviewed-by: kvn, twisti
2012-06-18 09:52:31 +02:00
Vladimir Kozlov
d1191bb4f4
7119644: Increase superword's vector size up to 256 bits
...
Increase vector size up to 256-bits for YMM AVX registers on x86.
Reviewed-by: never, twisti, roland
2012-06-15 01:25:19 -07:00
Vlaidmir Ivanov
e67db1b150
7169782: C2: SIGSEGV in LShiftLNode::Ideal(PhaseGVN*, bool)
...
Keep intermediate node alive till the end of the graph construction using dummy hook node trick
Reviewed-by: kvn, twisti
2012-06-12 09:47:23 -07:00
Zhengyu Gu
eefa9c27a1
Merge
2012-05-12 06:50:41 -04:00
Kevin Walls
8b44324ec4
7157734: hotspot test scripts not testing 64-bit JVM under JPRT/JTREG
...
Reviewed-by: kvn
2012-05-11 17:24:32 +01:00
Vladimir Kozlov
7ecd34e368
7167266: missing copyright notes in 3rd party code
...
Add missing copyright notes to the regression test file.
Reviewed-by: twisti, johnc
2012-05-08 15:47:04 -07:00
Vladimir Kozlov
904f53db88
7160610: Unknown Native Code compilation issue
...
When constructing input vector use type of vector's operation which use it since element's sizes should match.
Reviewed-by: never, twisti
2012-05-07 12:37:46 -07:00
Volker Simonis
b9fbc2faab
7141637: JSR 292: MH spread invoker crashes with NULL argument on x86_32
...
Reviewed-by: twisti
2012-02-02 09:14:38 -08:00
Roland Westrelin
a59952f4c9
7090976: Eclipse/CDT causes a JVM crash while indexing C++ code
...
Too optimistic inlining decision confuses local value numbering.
Reviewed-by: never
2012-02-01 10:36:58 +01:00
Vladimir Kozlov
791afc42da
7128352: assert(obj_node == obj) failed
...
Compare uncasted object nodes.
Reviewed-by: never
2012-01-10 18:05:38 -08:00
Vladimir Kozlov
b93ca70b9b
Merge
2012-01-06 20:09:20 -08:00
Vladimir Kozlov
05ec1c0816
7125879: assert(proj != NULL) failed: must be found
...
Leave i_o attached to slow allocation call when there are no i_o users after the call.
Reviewed-by: iveresov, twisti
2011-12-30 11:43:06 -08:00
Roland Westrelin
c10042bc68
7123108: C1: assert(if_state != NULL) failed: states do not match up
...
In CEE, ensure if and common successor state are at the same inline level
Reviewed-by: never
2011-12-22 10:55:53 +01:00
Bertrand Delsart
82a0e26723
7116216: StackOverflow GC crash
...
GC crash for explicit stack overflow checks after a C2I transition.
Co-authored-by: Yang Wang <yang02.wang@sap.com>
Reviewed-by: coleenp, never
2011-12-20 12:33:05 +01:00
Igor Veresov
b6ce13798b
7112085: assert(fr.interpreter_frame_expression_stack_size()==0) failed: only handle empty stacks
...
Move the inlinee invoke notification callback into inlinee preamble
Reviewed-by: kvn, never
2011-11-16 19:42:58 -08:00
Vladimir Kozlov
157ba53d27
7110586: C2 generates incorrect results
...
Exact limit of empty loop calculated incorrectly.
Reviewed-by: iveresov, never
2011-11-10 20:17:05 -08:00
Vladimir Kozlov
b354aa367c
7106907: 64 bit VM fails test compiler/6865265/StackOverflowBug.java
...
Use -Xss224k instead of -Xss128k.
Reviewed-by: never
2011-10-31 15:52:11 -07:00
Tom Rodriguez
6bcf877494
7103261: crash with jittester on sparc
...
Reviewed-by: iveresov, kvn
2011-10-28 14:44:52 -07:00
Vladimir Kozlov
2407655ab1
7100757: The BitSet.nextSetBit() produces incorrect result in 32bit VM on Sparc
...
Instruction countTrailingZerosL() should use iRegIsafe dst register since it is used in long arithmetic.
Reviewed-by: never, twisti
2011-10-14 10:07:28 -07:00
Volker Simonis
e3c38523b2
6865265: JVM crashes with "missing exception handler" error
...
Retry the call to fast_exception_handler_bci_for() after it returned with a pending exception. Don't cache the exception handler pc computed by compute_compiled_exc_handler() if the handler is for another (nested) exception.
Reviewed-by: kamg, kvn
2011-10-04 14:30:04 -07:00
Tom Rodriguez
1ebca30d26
7088020: SEGV in JNIHandleBlock::release_block
...
Reviewed-by: kvn, twisti
2011-09-10 00:11:04 -07:00
Vladimir Kozlov
42c3c5cb7b
7087947: Add regression test for 7068051
...
Add regression test.
Reviewed-by: never
2011-09-08 12:44:04 -07:00
Tom Rodriguez
19f7fb98b8
7082949: JSR 292: missing ResourceMark in methodOopDesc::make_invoke_method
...
Reviewed-by: kvn, twisti
2011-08-25 20:29:30 -07:00
Vladimir Kozlov
b4082c3cd1
7076831: TEST_BUG: compiler/5091921/Test7005594.java fails on LOW MEM SYSTEMS
...
Run test only on systems with 2Gbyte or more memory. Don't zap heap to reduce execution time.
Reviewed-by: iveresov
2011-08-20 14:03:12 -07:00
Vladimir Kozlov
dd43791e4a
7070134: Hotspot crashes with sigsegv from PorterStemmer
...
Do not move data nodes which are attached to a predicate test to a dominating test.
Reviewed-by: never
2011-07-26 19:35:23 -07:00
Tom Rodriguez
8acdd5ce55
6990212: JSR 292 JVMTI MethodEnter hook is not called for JSR 292 bootstrap and target methods
...
Check for single stepping when dispatching invokes from method handles
Reviewed-by: coleenp, twisti, kvn, dsamersoff
2011-07-15 15:35:50 -07:00
Vladimir Kozlov
cf91e8dbca
7067288: compiler regression test Test7052494 timeouts with client VM
...
Test is modified to reduce number of iterations in test5() and test6().
Reviewed-by: never, iveresov
2011-07-14 15:39:40 -07:00
Tom Rodriguez
2337123692
6478991: C1 NullCheckEliminator yields incorrect exceptions
...
Reviewed-by: twisti, iveresov
2011-07-05 16:07:54 -07:00
Vladimir Kozlov
b3505a88a4
7044738: Loop unroll optimization causes incorrect result
...
Take into account memory dependencies when clonning nodes in clone_up_backedge_goo().
Reviewed-by: never
2011-06-28 15:24:29 -07:00
Vladimir Kozlov
d19a8f6e35
7052494: Eclipse test fails on JDK 7 b142
...
Keep 'ne' test in Counted loop when we can't guarantee during compilation that init < limit.
Reviewed-by: never
2011-06-20 16:45:35 -07:00
Vladimir Kozlov
a8556d6c01
6956668: misbehavior of XOR operator (^) with int
...
Optimize cmp_ne(xor(X,1),0) to cmp_eq(X,0) only for boolean values X.
Reviewed-by: never
2011-05-31 10:05:36 -07:00
Vladimir Kozlov
c3a7796068
7047069: Array can dynamically change size when assigned to an object field
...
Fix initialization of a newly-allocated array with arraycopy
Reviewed-by: never
2011-05-27 12:47:48 -07:00
Vladimir Kozlov
a1e18b9ed3
7048332: Cadd_cmpLTMask doesn't handle 64-bit tmp register properly
...
Use ins_encode %{ %} form to encode cadd_cmpLTMask() instruction and remove unused code.
Reviewed-by: never
2011-05-25 21:17:07 -07:00
Vladimir Kozlov
32ead86b1c
7045570: compiler/5091921/Test7005594.java failed because not enough space for object heap
...
Fixed tests.
Reviewed-by: iveresov, never
2011-05-17 12:26:33 -07:00
Igor Veresov
bb2c21a025
7042153: guarantee(x_compare_res != Constant::not_comparable) failed: incomparable constants in IfOp
...
Handle IfOps folding properly in case of unloaded constant oop arguments
Reviewed-by: kvn, never
2011-05-06 12:12:29 -07:00
Vladimir Kozlov
9f0bca3b75
7042070: Typo in Test6796786.java
...
The test should compare with -0.0f.
Reviewed-by: never, iveresov
2011-05-04 22:41:17 -07:00
Vladimir Kozlov
1ac79543d0
5091921: Sign flip issues in loop optimizer
...
Fix integer overflow problem in the code generated by loop optimizer.
Reviewed-by: never
2011-05-04 13:12:42 -07:00
Tom Rodriguez
c3a8cf7156
Merge
2011-05-03 17:09:05 -07:00
Tom Rodriguez
0ecc18851a
6796786: invalid FP identity transform - (a - b) -> b - a
...
Reviewed-by: iveresov, twisti
2011-05-03 12:11:54 -07:00
Vladimir Kozlov
e1442309e1
7041100: The load in String.equals intrinsic executed before null check
...
Remove control from loads in String.equals intrinsic and cast argument to not-null.
Reviewed-by: never
2011-05-03 09:10:39 -07:00
Coleen Phillimore
3c4d3002f2
Merge
2011-04-12 14:18:53 -07:00
David Holmes
953a87d003
7009276: Add -XX:+IgnoreUnrecognizedVMOptions to several tests
...
Reviewed-by: kvn
2011-04-04 18:15:55 -04:00
Vladimir Kozlov
3ecb9f51df
7029152: Ideal nodes for String intrinsics miss memory edge optimization
...
In Ideal() method of String intrinsics nodes look for TypeAryPtr::CHARS memory slice if memory is MergeMem. Do not unroll a loop with String intrinsics code.
Reviewed-by: never
2011-03-30 12:08:49 -07:00
Tom Rodriguez
5387ee459e
7024475: loop doesn't terminate when compiled
...
Reviewed-by: kvn
2011-03-27 00:00:14 -07:00
Christian Thalinger
efdad520ca
7029805: JSR 292 compiler/6991596/Test6991596.java fails in nightly
...
Both JSR 292 compiler tests were moved with 6839872 to the jdk repository
Reviewed-by: never
2011-03-23 04:19:16 -07:00
Vladimir Kozlov
a74bc73598
6942326: x86 code in string_indexof() could read beyond reserved heap space
...
Copy small (<8) strings on stack if str+16 crosses a page boundary and load from stack into XMM. Back up pointer when loading string's tail.
Reviewed-by: never
2011-02-26 12:10:54 -08:00
Vladimir Kozlov
5d3ab72d1d
7017746: Regression : C2 compiler crash due to SIGSEGV in PhaseCFG::schedule_early()
...
Add TEMP edges (and KILL projections) before duplicated operands are removed in Expand() methods.
Reviewed-by: never
2011-02-10 14:25:59 -08:00
Christian Thalinger
4c567f5969
7018277: JSR 292 change test/compiler/6987555/Test6987555.java to new MH syntax
...
Test/compiler/6987555/Test6987555.java currently does not compile because the MH return-type syntax has changed.
Reviewed-by: never
2011-02-10 00:47:59 -08:00
Erik Trimble
64115cbb85
Merge
2011-01-07 22:56:35 -08:00
Erik Trimble
3c6a7c89ff
7010068: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - first pass
...
Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: jcoomes
2011-01-03 15:30:05 -08:00
Vladimir Kozlov
4286ac7947
7009359: HS with -XX:+AggressiveOpts optimize new StringBuffer(null) so it does not throw NPE as expected
...
Bailout StringConcat optimization if null is passed to StringBuffer constructor.
Reviewed-by: iveresov
2010-12-28 17:34:02 -08:00
Igor Veresov
43280aa63e
7009231: C1: Incorrect CAS code for longs on SPARC 32bit
...
Fix CAS of longs on SPARC 32bit and cmove on SPARC 64bit.
Reviewed-by: kvn
2010-12-27 21:51:31 -08:00
Tom Rodriguez
ecddc15f7c
6579789: Internal error "c1_LinearScan.cpp:1429 Error: assert(false,"")" in debuggee with fastdebug VM
...
Reviewed-by: kvn, iveresov
2010-12-17 15:55:32 -08:00
Christian Thalinger
bd6731ae92
7003798: test/compiler/6991596 fails with true != false
...
The test of 6991596 fails on SPARCV9.
Reviewed-by: kvn, never, jrose
2010-12-03 06:14:37 -08:00
Tom Rodriguez
532dec3797
7002666: eclipse CDT projects crash with compressed oops
...
Reviewed-by: kvn, twisti
2010-12-01 10:16:31 -08:00
Igor Veresov
eb71d414e1
Merge
2010-11-11 17:36:50 -08:00
Vladimir Kozlov
ce2df719c6
6997311: SIGFPE in new long division asm code
...
Use unsigned DIV instruction
Reviewed-by: never
2010-11-06 18:52:07 -07:00
Lana Steuck
83b80f473c
Merge
2010-11-04 15:32:01 -07:00
Pavel Tisnovsky
f37b5faab7
6997495: correction of regression test compiler/6857159/Test6857159
...
Testcase correction.
Reviewed-by: never
2010-11-04 14:03:12 +01:00
Christian Thalinger
14d9ac3169
6991596: JSR 292 unimplemented adapter_opt_i2i and adapter_opt_l2i on SPARC
...
Reviewed-by: kvn, jrose, dsamersoff
2010-10-18 01:54:24 -07:00
Christian Thalinger
98e9ecf9da
6987555: JSR 292 unboxing to a boolean value fails on big-endian SPARC
...
Reviewed-by: never, jrose
2010-10-13 01:19:43 -07:00
Tom Rodriguez
f591ed981d
6968348: Byteswapped memory access can point to wrong location after JIT
...
Reviewed-by: twisti, kvn, iveresov
2010-10-04 17:09:18 -07:00
Tom Rodriguez
e65f42fe5e
6982370: SIGBUS in jbyte_fill
...
Reviewed-by: kvn
2010-09-14 14:09:24 -07:00
Abhijit Saha
a3319eba8a
6977952: Test: Sync missing tests from hs16.3 to hs17.x
...
Reviewed-by: wrockett
2010-08-17 22:52:50 -07:00
Vladimir Kozlov
b092cb33e6
6973329: C2 with Zero based COOP produces code with broken anti-dependency on x86
...
Recompile without subsuming loads if RA try to clone a node with anti_dependence.
Reviewed-by: never
2010-08-11 10:48:20 -07:00
Tom Rodriguez
154ae789ef
6958485: fix for 6879921 was insufficient
...
Reviewed-by: kvn
2010-06-07 14:17:01 -07:00
Erik Trimble
ba7c173659
6941466: Oracle rebranding changes for Hotspot repositories
...
Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
Hiroshi Yamauchi
cd48f31efe
6946040: add intrinsic for short and char reverseBytes
...
Reviewed-by: never, twisti
2010-04-26 11:27:21 -07:00
Abhijit Saha
0610f6846b
Merge
2010-04-06 22:06:57 -07:00
Abhijit Saha
845f11dd17
Merge
2010-03-24 17:16:33 -07:00
Tom Rodriguez
dac78c30b9
6930043: C2: SIGSEGV in javasoft.sqe.tests.lang.arr017.arr01702.arr01702.loop_forw(II)I
...
Reviewed-by: kvn
2010-03-17 16:40:25 -07:00
Vladimir Kozlov
72a7a6ffcf
6935535: String.indexOf() returns incorrect result on x86 with SSE4.2
...
Added missing counter decrement when substring search restarted.
Reviewed-by: twisti
2010-03-17 10:47:03 -07:00
Roland Westrelin
7dcf59914e
6932496: c1: deoptimization of jsr subroutine fails on sparcv9
...
Store jsr ret bci as intptr constant in c1 debug info
Reviewed-by: never
2010-03-05 13:58:34 +01:00
Tom Rodriguez
3e1688a8cd
6663854: assert(n != __null,"Bad immediate dominator info.") in C2 with -Xcomp
...
Reviewed-by: kvn
2010-02-18 15:05:10 -08:00
Vladimir Kozlov
22409a5704
6910618: C2: Error: assert(d->is_oop(),"JVM_ArrayCopy: dst not an oop")
...
Mark in PcDesc call sites which return oop and save the result oop across objects reallocation during deoptimization.
Reviewed-by: never
2010-02-09 01:31:13 -08:00
Vladimir Kozlov
3f7a94c3f2
6910605: C2: NullPointerException/ClassCaseException is thrown when C2 with DeoptimizeALot is used
...
Set the reexecute bit for runtime calls _new_array_Java when they used for _multianewarray bytecode.
Reviewed-by: never
2010-02-08 12:20:09 -08:00
Hiroshi Yamauchi
688398edef
6921969
: optimize 64 long multiply for case with high bits zero
...
Reviewed-by: never, twisti, kvn, rasbold
2010-02-03 15:56:37 -08:00
Tom Rodriguez
8cc63249e9
6916644: C2 compiler crash on x86
...
Reviewed-by: kvn, twisti
2010-01-29 22:51:41 -08:00
Tom Rodriguez
07c442542c
6792161: assert("No dead instructions after post-alloc")
...
Reviewed-by: kvn
2010-01-28 20:41:37 -08:00
Vladimir Kozlov
a0cb26b72d
6893701: compiler/6877254/Test.java fails because it combines -XX:+UseConcMarkSweepGC with other GC
...
Remove explicit GC flags in regression tests
Reviewed-by: never, ysr
2010-01-19 15:54:42 -08:00
Vladimir Kozlov
bb4f475e1b
6917931: compiler/6895383/Test.java don't compile due missed imports
...
Add missing imports.
Reviewed-by: never, twisti
2010-01-19 10:25:54 -08:00
Tom Rodriguez
96612c6e23
6909839: missing unsigned compare cases for some cmoves in sparc.ad
...
Reviewed-by: kvn, jrose
2010-01-09 00:59:35 -08:00
Vladimir Kozlov
eca996c10f
6910484: incorrect integer optimization (loosing and op-r in a given example)
...
Remove AND operation only if mask is equal to shift.
Reviewed-by: never
2010-01-08 09:51:24 -08:00
Vladimir Kozlov
8da8433a6f
6912517: JIT bug compiles out (and stops running) code that needs to be run. Causes NPE
...
Add missing check that value is used in memory expression in instructions with embedded load.
Reviewed-by: never, jrose
2010-01-07 16:26:31 -08:00
Vladimir Kozlov
00f583219f
6896727: nsk/logging/LoggingPermission/LoggingPermission/logperm002 fails with G1, EscapeAnalisys
...
Move instance store's memory users to corresponding memory slices when updating its memory edge.
Reviewed-by: never
2009-12-09 19:50:14 -08:00
Vladimir Kozlov
9f5ca0249d
6895383: JCK test throws NPE for method compiled with Escape Analysis
...
Add missing checks for MemBar nodes in EA.
Reviewed-by: never
2009-12-09 16:40:45 -08:00
Vladimir Kozlov
d19aa4e217
6892265: System.arraycopy unable to reference elements beyond Integer.MAX_VALUE bytes
...
Use size_t type cast to widen int values in typeArrayKlass::copy_array().
Reviewed-by: never, jcoomes
2009-12-03 14:20:22 -08:00
Changpeng Fang
8a9580b1a1
6901572: JVM 1.6.16 crash on loops: assert(has_node(i),"")
...
Skip the secondary induction variable handling if it is dead
Reviewed-by: never, kvn
2009-12-02 13:29:00 -08:00
Roland Westrelin
7eea7dcfe4
6769124: various 64-bit fixes for c1
...
Reviewed-by: never
2009-11-02 11:17:55 +01:00
Changpeng Fang
e3b5580ecc
6852078: HSX 14/16 in jdk 5.0: api/javax_management api/org_omg jck tests crashes or make tnameserv crash
...
Disable SuperWord optimization for unsafe read/write
Reviewed-by: kvn, phh
2009-10-30 10:12:52 -07:00
Tom Rodriguez
8eace255e1
6891750: deopt blob kills values in O5
...
Reviewed-by: kvn, twisti
2009-10-15 11:47:13 -07:00
Tom Rodriguez
9b306d03ee
6885584: A particular class structure causes large allocation spike for jit
...
Reviewed-by: kvn
2009-10-07 15:38:37 -07:00
Volker Simonis
930f3d4570
6880034: SIGBUS during deoptimisation at a safepoint on 64bit-SPARC
...
Fix problem with the double register encodings in sparc.ad
Reviewed-by: never, jrose
2009-10-06 10:15:38 -07:00
Christian Thalinger
e4541dcd08
6879902: CTW failure jdk6_18/hotspot/src/cpu/sparc/vm/assembler_sparc.hpp:845
...
For signatures with a large number of arguments the offset for the float store becomes too big and does not fit in 13-bit.
Reviewed-by: kvn, never
2009-10-06 02:11:49 -07:00
Changpeng Fang
9640e8148d
6886353: For DeoptimizeALot, JTreg tests should "IgnoreUnrecognizedVMOptions on a product build
...
Add IgnoreUnrecognizedVMOptions for JTreg tests (on a product build) to pass with DeoptimizeALot
Reviewed-by: kvn
2009-09-28 17:14:25 -07:00
Vladimir Kozlov
243514d483
6827605: new String intrinsics may prevent EA scalar replacement
...
6875866: Intrinsic for String.indexOf() is broken on x86 with SSE4.2
Modify String intrinsic methods to pass char[] pointers instead of string oops.
Reviewed-by: never
2009-09-14 12:14:20 -07:00
Changpeng Fang
c492f4cde5
6877254: Server vm crashes with no branches off of store slice" when run with CMS and UseSuperWord(default)
...
Design StoreCMNode::Ideal to promote its oopStore input if the input is a MergeMem node
Reviewed-by: kvn, never
2009-09-14 09:49:54 -07:00
Vladimir Kozlov
75e90c9027
6880533: test/compiler/6865031/Test.java miss -XX:+IgnoreUnrecognizedVMOptions
...
Add missing test option -XX:+IgnoreUnrecognizedVMOptions.
Reviewed-by: never
2009-09-09 16:28:03 -07:00
Tom Rodriguez
57a92290f4
6855215: Calculation error (NaN) after about 1500 calculations
...
Reviewed-by: kvn
2009-08-31 17:07:53 -07:00
Changpeng Fang
457be8ad49
6876276: assert(!is_visited,"visit only once")
...
Schedule the superword loads based on dependence constraints
Reviewed-by: kvn, never
2009-08-31 08:31:45 -07:00
Tom Rodriguez
cc01c0f4f6
6795465: Crash in assembler_sparc.cpp with client compiler on solaris-sparc
...
Reviewed-by: twisti, cfang
2009-08-17 14:45:02 -07:00
Changpeng Fang
05c34e93bd
6866651: Regression: simple int sum crashes jvm (build 1.6.0_14-b08 and 1.7.0-ea-b59)
...
Delay dead code elimination in set_req_X to make it safe
Reviewed-by: kvn, never
2009-08-17 12:11:06 -07:00
Vladimir Kozlov
ab7a29cdcc
Merge
2009-08-06 09:37:26 -07:00
Vladimir Kozlov
adcbcc3cdc
6868486: timouts and outOfMemory in regression tests
...
Increase timeout for tests and heap size for 6851282 test.
Reviewed-by: never, cfang
2009-08-04 17:11:17 -07:00
Changpeng Fang
ae00753bf7
6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
...
Developed a reexecute logic for the interpreter to reexecute the bytecode when deopt happens
Reviewed-by: kvn, never, jrose, twisti
2009-07-31 17:12:33 -07:00
Vladimir Kozlov
f2ea22a547
6865031: Application gives bad result (throws bad exception) with compressed oops
...
Produce narrow type for new Phi from the original Phi type.
Reviewed-by: cfang
2009-07-31 12:04:07 -07:00
Erik Trimble
e846382e12
Merge
2009-07-29 16:00:35 -07:00
Xiomara Jayasena
a63ef10004
6862919: Update copyright year
...
Update copyright for files that have been modified in 2009, up to 07/09
Reviewed-by: tbell, ohair
2009-07-28 12:12:40 -07:00
Christian Thalinger
6dd47535cd
6863155: Server compiler generates incorrect code (x86, long, bitshift, bitmask)
...
Code compiled with server compiler generates an incorrect result.
Reviewed-by: cfang, never, kvn
2009-07-28 09:02:30 +02:00
Vladimir Kozlov
2641db378b
6863420: os::javaTimeNanos() go backward on Solaris x86
...
Use new atomic long load method Atomic::load() to load max_hrtime.
Reviewed-by: never, ysr, johnc, phh, dcubed, acorn
2009-07-26 16:40:14 -07:00
Vladimir Kozlov
b0f75657c5
6826736: CMS: core dump with -XX:+UseCompressedOops
...
Fix deoptimization code and OopMapSet::all_do() to check for oop = narrow_oop_base.
Reviewed-by: jcoomes, phh, ysr, never
2009-07-22 15:48:51 -07:00
Tom Rodriguez
62ca1df1dd
6857159: local schedule failed with checkcast of Thread.currentThread()
...
Reviewed-by: kvn
2009-07-21 16:42:58 -07:00
Vladimir Kozlov
7229ae9b95
Merge
2009-07-17 00:50:55 -07:00
Tom Rodriguez
1c4a7e95bb
6861513: correct copyright attribution in test for 6837094 and 6860469
...
Reviewed-by: rasbold
2009-07-16 17:59:27 -07:00
Vladimir Kozlov
2e2f60507e
6851282: JIT miscompilation results in null entry in array when using CompressedOops
...
Get type for new Phi from non dead path.
Reviewed-by: never
2009-07-16 16:29:55 -07:00
Hiroshi Yamauchi
a24ea182cc
6860469: remix_address_expressions sets incorrect control causing crash in split_if_with_block_post
...
Co-authored-by: Chuck Rasbold <rasbold@google.com>
Reviewed-by: never, kvn
2009-07-15 13:37:35 -07:00
Tom Rodriguez
df1c3da3f8
Merge
2009-07-13 15:00:22 -07:00
Tom Rodriguez
5a409d142f
6859338: amd64 native unverified entry point pushes values before implicit null check
...
Reviewed-by: kvn, twisti
2009-07-13 14:58:17 -07:00
Changpeng Fang
92d332e08b
6857707: Add missing test case for CR 6855164 from its bug description
...
Add missing test case for CR 6855164 from its bug description.
Reviewed-by: never
2009-07-06 12:54:17 -07:00
Christian Thalinger
a9ad90fa87
5057225: Remove useless I2L conversions
...
The optimizer should be told to normalize (AndL (ConvI2L x) 0xFF) to (ConvI2L (AndI x 0xFF)), and then the existing matcher rule will work for free.
Reviewed-by: kvn
2009-06-26 07:26:10 -07:00
Chuck Rasbold
2c5f52b511
6837094: False positive for "meet not symmetric" failure
...
Have the meet not symmetric check recursively do the interface-vs-oop check on array subtypes.
Reviewed-by: jrose
2009-06-23 17:52:29 -07:00
Tom Rodriguez
0f4f530213
6849574: VM crash using NonBlockingHashMap (high_scale_lib)
...
Reviewed-by: kvn
2009-06-10 12:19:48 -07:00
Vladimir Kozlov
802f3552f9
6843752
: missing code for an anti-dependent Phi in GCM
...
Don't place a load below anti-dependent PHI.
Reviewed-by: never, twisti
2009-05-27 12:35:51 -07:00
Vladimir Kozlov
fdb3ca8708
6772683: Thread.isInterrupted() fails to return true on multiprocessor PC
...
Set the control edge for the field _interrupted load in inline_native_isInterrupted().
Reviewed-by: never
2009-05-21 10:05:36 -07:00
Christian Thalinger
8a262ce04b
6814842: Load shortening optimizations
...
6797305 handles load widening but no shortening which should be covered here.
Reviewed-by: never, kvn
2009-05-13 00:45:22 -07:00
Vladimir Kozlov
6202395cb2
6832293
: JIT compiler got wrong result in type checking with -server
...
Check for an object array of interface in CmpPNode::sub().
Reviewed-by: never
2009-05-11 17:59:54 -07:00
Christian Thalinger
a7d12b2fbf
Merge
2009-05-07 04:16:53 -07:00
Christian Thalinger
1576a9be9e
Merge
2009-05-07 00:28:13 -07:00
Christian Thalinger
96139033e6
6837011: SIGSEGV in PhaseIdealLoop in 32bit jvm
...
The CR's test crashes with SIGSEGV when running with "-server -Xcomp" using using 32bit jvm.
Reviewed-by: kvn, never, rasbold
2009-05-06 12:04:42 -07:00
Christian Thalinger
e53f13b49f
6837906: compiler tests of 6636138 fail with IllegalAccessException
...
The compiler tests of 6636138 fail with an IllegalAccessException.
Reviewed-by: kvn
2009-05-06 08:57:24 -07:00
Christian Thalinger
6a270f9f19
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
...
These methods can be instrinsified by using bit scan, bit test, and population count instructions.
Reviewed-by: kvn, never
2009-05-06 00:27:52 -07:00
Changpeng Fang
003ca0f848
6833951: Extra ":" Causes Testcase in CR 6589834 "Parse Exception: Invalid tag: summary:"
...
Remove the colon
Reviewed-by: never
2009-04-24 09:14:39 -07:00
Changpeng Fang
04fdef79fa
6589834: deoptimization problem with -XX:+DeoptimizeALot
...
Relocate the stack pointer adjustment to where uncommon_trap is actually inserted for new_array.
Reviewed-by: kvn, jrose
2009-04-23 14:04:24 -07:00
Changpeng Fang
08466ce0ca
6829021: tests for 6636138 use UseSuperword instead of UseSuperWord
...
Remove the wrong flag -XX:+UseSuperword to fix the Nightly failure
Reviewed-by: kvn, never
2009-04-10 15:01:14 -07:00
Vladimir Kozlov
ca3a3504be
6711117: Assertion in 64bit server vm (flat != TypePtr::BOTTOM,"cannot alias-analyze an untyped ptr")
...
Delay a memory node transformation if its control or address on IGVN worklist.
Reviewed-by: never
2009-04-07 19:04:24 -07:00
Tom Rodriguez
72afcb0285
6539464: Math.log() produces inconsistent results between successive runs
...
Reviewed-by: kvn
2009-04-06 11:53:17 -07:00
Vladimir Kozlov
090346b4e8
6823453: DeoptimizeALot causes fastdebug server jvm to fail with assert(false,"unscheduable graph")
...
Use a HaltNode on the fall through path of the AllocateArrayNode to indicate that it is unreachable if the array length is negative.
Reviewed-by: never, jrose
2009-04-03 13:33:32 -07:00
Changpeng Fang
fface2e4ca
6636138: UseSuperWord enabled failure
...
Fixed SuperWord scheduling of memory operations.
Reviewed-by: kvn, never
2009-03-24 12:19:47 -07:00
Vladimir Kozlov
41463d1d3a
Merge
2009-03-19 09:13:24 -07:00
Christian Thalinger
de67e52949
6378821: bitCount() should use POPC on SPARC processors and AMD+10h
...
BitCount() should use POPC on SPARC processors where POPC is implemented directly in hardware.
Reviewed-by: kvn, never
2009-03-13 11:35:17 -07:00
Erik Trimble
8d6035660e
Merge
2009-03-12 18:16:36 -07:00
Xiomara Jayasena
2be2e027b0
6814575: Update copyright year
...
Update copyright for files that have been modified in 2009, up to 03/09
Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:46 -07:00
Christian Thalinger
89cea91c48
6797305: Add LoadUB and LoadUI opcode class
...
Add a LoadUB (unsigned byte) and LoadUI (unsigned int) opcode class so we have these load optimizations in the first place and do not need to handle them in the matcher.
Reviewed-by: never, kvn
2009-03-09 03:17:11 -07:00
Christian Thalinger
dd25f39709
6805724: ModLNode::Ideal() generates functionally incorrect graph when divisor is any (2^k-1) constant
...
C2, ModLNode::Ideal() generates functionally incorrect graph when divisor is any (2^k-1) constant.
Reviewed-by: rasbold
2009-02-16 07:19:26 -08:00
Christian Thalinger
a2ed00b650
6800154: Add comments to long_by_long_mulhi() for better understandability
...
This patch adds a comment pointing to the Hacker's Delight version of the algorithm plus a verbatim copy of it. Furthermore it adds inline comments.
Reviewed-by: kvn, jrose
2009-02-13 09:09:35 -08:00