Igor Ignatyev
cc89bac7ab
8074980: add WhiteBox API to get a flag value for a method
...
Reviewed-by: kvn, fzhinkin
2015-03-12 19:11:25 +03:00
Igor Ignatyev
b78d23ed01
8073860: [TESTBUG] compiler/whitebox/DeoptimizeFramesTest fails with exit code 1
...
Reviewed-by: kvn, roland
2015-03-12 19:12:52 +03:00
Tobias Hartmann
e5f039dbfb
Merge
2015-03-02 15:11:55 +00:00
Tobias Hartmann
b4420f1516
8006960: hotspot, "impossible" assertion failure
...
Escape state of allocated object should be always adjusted after it was passed to a method.
Reviewed-by: kvn
2015-03-02 13:40:40 +01:00
Filipp Zhinkin
dbf67b8e69
8073154: NULL-pointer dereferencing in LIR_OpProfileType::print_instr
...
Reviewed-by: iveresov
2015-02-27 11:41:42 +03:00
Zoltan Majo
b5f763492e
Merge
2015-02-28 12:33:50 +00:00
Stefan Anzinger
292cc73546
8073670: TypeF::eq and TypeD::eq do not handle NaNs correctly
...
Change TypeF:eq and TypeD:eq to compare NaN values using a bitwise comparison.
Reviewed-by: kvn
2015-02-27 13:21:05 +01:00
Roland Westrelin
3a627c0d83
8073792: assert((get_length_if_constant(phase) == -1) == !ary_src->size()->is_con()) failed: inconsistent
...
Assert in array copy code broken when array size becomes known during igvn
Reviewed-by: kvn, vlivanov
2015-02-25 10:44:38 +01:00
Igor Veresov
14cf940405
8073735: compiler/loopopts/CountedLoopProblem.java got OOME
...
Ignore OOM in the test
Reviewed-by: kvn
2015-02-24 23:31:00 -08:00
Roland Westrelin
f4f9769cd2
8073184: Compile of java.lang.Integer::getChars fails with LoopLimitCheck = false after 8054478
...
CastII that guards counted loops confuses range check elimination with LoopLimitCheck off
Reviewed-by: kvn, iveresov
2015-02-24 15:23:05 +01:00
Roland Westrelin
88848bd9e8
6912521: System.arraycopy works slower than the simple loop for little lengths
...
Convert small array copies to series of loads and stores
Reviewed-by: kvn, vlivanov
2015-02-18 18:14:07 +01:00
Dmitrij Pochepko
c71eca0cbf
8068461: compiler/codecache/jmx/UsageThresholdIncreasedTest.java failed: java.lang.RuntimeException: Usage threshold was hit: 1 times for CodeHeap 'non-nmethods'
...
Added filter for invalid testcase
Reviewed-by: kvn, iignatyev
2015-02-19 23:47:01 +03:00
Igor Ignatyev
0596217df6
8073499: quarantine compiler/tiered/LevelTransitionTest
...
Reviewed-by: kvn
2015-02-19 23:49:22 +03:00
Igor Veresov
783f2be52f
8072753: Nondeterministic wrong answer on arithmetic
...
Check for overflow when inverting the loop during the counted loop conversion
Reviewed-by: kvn
2015-02-17 11:00:18 -08:00
Roland Westrelin
e6ac3ca09e
8072016: Array copy may cause infinite cycle of deoptimization/compilation
...
Infinite deoptimization/recompilation cycles in case of arraycopy with tightly coupled allocation
Reviewed-by: kvn, vlivanov
2015-02-09 15:10:58 +01:00
Pavel Chistyakov
fb0bdf6a4b
8068003: compiler/whitebox/DeoptimizeFramesTest.java fails: compilation 48 can't be available
...
Disabled DeoptimizeALot for test runs
Reviewed-by: kvn
2015-01-30 20:45:18 +03:00
Zoltan Majo
a25fe37e17
8072398: assert fails in L1RGenerator::increment_event_counter_impl
...
Change scaling code to allow scaling with 0.0; change set_tiered_flags() to treat CompileThresholdScaling==0.0 in a special way.
Reviewed-by: kvn, iveresov
2015-02-06 18:16:55 +01:00
Albert Noll
18ccddbb82
Merge
2015-02-03 09:56:21 +00:00
Albert Noll
c5bb133c68
8068440: Test6857159.java times out
...
Replace shell script with Java-only code
Reviewed-by: kvn, iignatyev
2015-02-03 10:30:16 +01:00
Tobias Hartmann
2b99947be1
Merge
2015-02-02 14:35:24 +00:00
Tobias Hartmann
87ac24f1e2
8071995: compiler/codecache/jmx/InitialAndMaxUsageTest.java fails with large pages
...
Disable large page usage for test.
Reviewed-by: kvn
2015-02-02 15:19:24 +01:00
Dean Long
5b196d9525
Merge
2015-01-31 02:42:13 -05:00
Yumin Qi
07acd9a05e
Merge
2015-01-30 10:52:25 -08:00
Albert Noll
a32f9adb0f
8071906: Quarantine OverloadCompileQueueTest until the reason for timeout is known
...
Quarantine OverloadCompileQueueTest until the reason for timeout is known
Reviewed-by: kvn
2015-01-30 15:20:45 +01:00
Yumin Qi
d843d8fd70
Merge
2015-01-29 01:13:14 +00:00
Katja Kantserova
f6d01b3697
8071545: Tests are still excluded while the appropriate bug has been fixed
...
Reviewed-by: sspitsyn, sla
2015-01-28 09:27:49 +01:00
Tobias Hartmann
ad9c86bc97
8064940: JMH javac performance regressions on solaris-sparcv9 in 9-b34
...
Aligning code heap sizes to large page size if supported.
Reviewed-by: kvn, anoll
2015-01-28 07:55:27 +01:00
Dean Long
fb0b5b0159
Merge
2015-01-27 13:58:55 -05:00
Pavel Chistyakov
fb6e6379b0
8069125: compiler/codecache/stress tests timeout in nightlies
...
Added timeout between one of test threads iterations, adjusted hole test execution time
Reviewed-by: kvn
2015-01-26 19:01:50 +03:00
Pavel Chistyakov
28c5919585
8066998: [TESTBUG] compiler/whitebox/ForceNMethodSweepTest.java : sweep shouldn't increase usage
...
Disable background compilation
Reviewed-by: kvn
2015-01-26 18:59:09 +03:00
Zoltan Majo
1da8218179
8071312: compiler/arguments/CheckCompileThresholdScaling.java fails
...
Change the way VM handles CompileThresholdScaling==0, update test
Reviewed-by: kvn, drchase, fzhinkin
2015-01-26 10:43:42 +01:00
Dean Long
eb08f7cb70
Merge
2015-01-22 18:23:54 -05:00
Zoltan Majo
e559c17954
8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
...
Changed interpreter and compilation policies to allow using CompileThresholdScaling on a per-method level
Reviewed-by: jrose, kvn
2015-01-21 10:51:35 +01:00
Filipp Zhinkin
1249ca93f9
8069126: compiler/rtm/locking/TestRTMTotalCountIncrRate.java nightly failure
...
Reviewed-by: kvn
2015-01-20 11:26:20 +03:00
Nils Eliasson
a43e328b4a
8069035: compiler/oracle/CheckCompileCommandOption.java nightly failure
...
Fixed whitespace handling and added test cases
Reviewed-by: kvn, anoll, zmajo
2015-01-22 11:23:13 +01:00
Nils Eliasson
01ec695002
8069389: CompilerOracle prefix wildcarding is broken for long strings
...
Replace strcpy with memmove
Reviewed-by: kvn
2015-01-22 11:05:14 +01:00
Yumin Qi
08c8e0bd31
Merge
2015-01-18 11:49:22 -08:00
Pavel Chistyakov
0b17d19f48
8068231: Several tests are still excluded
...
Reviewed-by: kvn, iignatyev
2015-01-16 15:08:20 +03:00
Dmitrij Pochepko
427f25366e
8068385: [TESTBUG] hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java sometimes fails(unstable behaviour)
...
Fixing unstable behaviour of 2 tests
Reviewed-by: iignatyev
2015-01-16 20:59:23 +04:00
Axel Siebenborn
0520df8a92
8068909: SIGSEGV in c2 compiled code with OptimizeStringConcat
...
Reviewed-by: kvn
2015-01-16 13:58:22 +01:00
Dean Long
e2bf1cd30d
Merge
2015-01-15 16:51:09 -05:00
Paul Sandoz
bfe8fc7433
8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
...
Co-authored-by: Filipp Zhinkin <filipp.zhinkin@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:20 +01:00
Vladimir Ivanov
8cfbe74d7c
Merge
2015-01-14 15:13:39 +00:00
Goetz Lindenmaier
8e2df5f543
8067941: [TESTBUG] Fix tests for OS with 64K page size
...
Reviewed-by: kvn, tschatzl, ctornqvi
2015-01-12 14:43:34 -08:00
Nils Eliasson
4742c185a7
8027829: CompileCommand does not accept all JLS-conformant class/method names
...
Fix parsing and updated comments
Reviewed-by: kvn, vlivanov
2015-01-13 12:30:26 +01:00
Pavel Chistyakov
5bd69d7ad4
8059551: JEP-JDK-8043304: Test task: stress tests
...
Reviewed-by: drchase, kvn, iignatyev
2015-01-12 18:58:49 +03:00
Filipp Zhinkin
b850617243
8049355: compiler/rtm/locking/TestRTMLockingThreshold test may fail if transaction was aborted by interrupt
...
Reviewed-by: kvn, iignatyev
2015-01-14 09:54:08 +03:00
Filipp Zhinkin
251b4df764
8059342: Add test to cover JDK-8030976
...
Reviewed-by: kvn, iignatyev
2015-01-14 09:54:45 +03:00
Filipp Zhinkin
fc66edfd51
8068269: RTM tests that assert on non-zero lock statistics are too strict in RTMTotalCountIncrRate > 1 cases
...
Reviewed-by: kvn, iignatyev
2015-01-14 09:53:36 +03:00
Mattias Tobiasson
4e84bf1e93
8068584: Compiler attach tests should be quarantined
...
Quarantine tests
Reviewed-by: ctornqvi
2015-01-12 09:27:52 +01:00
Albert Noll
dad0da797d
8068661: Exclude compiler/whitebox/ForceNMethodSweepTest.java from nightly runs
...
The test is unstable and is therefore removed from nightly testing
Reviewed-by: kvn, drchase
2015-01-09 09:52:00 +01:00
Roland Westrelin
3b3dd985de
8063086: Math.pow yields different results upon repeated calls
...
C2 treats x^2 as a special case and computes x * x while the interpreter and c1 don't have special case code for X^2.
Reviewed-by: kvn
2015-01-07 16:40:02 +01:00
Dean Long
c041b882e3
8068746: Exclude hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java from nightly runs
...
Add @ignore to PoolsIndependenceTest.java
Reviewed-by: kvn
2015-01-09 17:43:02 -05:00
Roland Westrelin
2e82794bfa
6700100: optimize inline_native_clone() for small objects with exact klass
...
Optimize small instance clones as loads/stores
Reviewed-by: kvn, iveresov
2014-12-16 13:49:36 +01:00
Filipp Zhinkin
add1e857d7
8050486: compiler/rtm/ tests fail due to monitor deflation at safepoint synchronization
...
Reviewed-by: kvn, iignatyev
2014-12-30 11:09:42 +03:00
Dmitrij Pochepko
ea23edb88a
8059625: JEP-JDK-8043304: Test task: DTrace- tests for segmented codecache feature
...
Reviewed-by: sspitsyn, twisti, fzhinkin, iignatyev
2014-12-25 15:57:38 +03:00
Filipp Zhinkin
f70b5b2e9c
8059623: JEP-JDK-8043304: Test task: command line options tests
...
Reviewed-by: twisti, thartmann, goetz, iignatyev
2014-12-26 14:33:23 +03:00
Tatiana Pivovarova
df2b7b1934
8062012: test/compiler/ciReplay/TestSA.sh should be updated to work w/ modular image build
...
Reviewed-by: kvn, fzhinkin, iignatyev
2014-12-19 14:12:22 +03:00
Dmitrij Pochepko
e42d9168db
8059613: JEP-JDK-8043304: Test task: JMX- tests
...
Reviewed-by: thartmann, twisti
2014-12-13 00:13:05 +03:00
Goetz Lindenmaier
e176c66ae5
8067823: CheckCompileThresholdScaling.java throws RuntimeException
...
Reviewed-by: kvn, iignatyev
2014-12-19 16:42:16 +01:00
Roland Westrelin
5494b45a7a
8067647: [TESTBUG] compiler/rangechecks/TestRangeCheckSmearing.java uses wrong path to Whitebox API
...
Whitebox test library was moved
Reviewed-by: kvn
2014-12-16 20:09:29 +01:00
Evgeniya Stepanova
29f7c15af9
8054892: Improve compiler's CLI tests error reporting
...
Reviewed-by: roland, twisti
2014-12-16 14:52:57 +03:00
Igor Ignatyev
e71ea0c5a9
8028595: WhiteBox API for stress testing of TieredCompilation
...
Reviewed-by: kvn
2014-12-16 17:56:24 +03:00
Pavel Punegov
c39c3b01be
8059575: JEP-JDK-8043304: Test task: Tiered Compilation level transition tests
...
Reviewed-by: iveresov, thartmann
2014-12-13 01:24:07 +03:00
Tobias Hartmann
bf022cf7dc
8066433: Move Whitebox test library to top level repository
...
Moved Whitebox test library to top level repository.
Reviewed-by: iignatyev, sla, mr
2014-12-12 09:37:38 +01:00
Roland Westrelin
0dbf9d7161
8067144: SIGSEGV with +TraceDeoptimization in Deoptimization::print_objects
...
-XX:+TraceDeoptimization tries to print realloc'ed objects even when there are none
Reviewed-by: kvn
2014-12-10 16:45:55 +01:00
Igor Veresov
f4a9c05895
Merge
2014-12-09 21:33:51 +00:00
Igor Veresov
5af5b25f98
8066900: Array Out Of Bounds Exception causes variable corruption
...
Fix FP registers save/restore during exception handling
Reviewed-by: kvn, vlivanov
2014-12-09 12:25:38 -08:00
Roland Westrelin
caa8dcea64
8066103: C2's range check smearing allows out of bound array accesses
...
Range check smearing uncorrectly adjust first range check in a list of range checks to cover all of them
Reviewed-by: jrose, kvn, iveresov
2014-12-09 18:49:13 +01:00
Tatiana Pivovarova
a7ebb442cf
8066250: compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java fails product
...
Reviewed-by: kvn, thartmann
2014-12-08 18:21:02 +03:00
Roland Westrelin
15dcd41e87
6898462: The escape analysis with G1 cause crash assertion src/share/vm/runtime/vframeArray.cpp:94
...
OOM during reallocation of scalar replaced objects in deoptimization causes crashes
Reviewed-by: kvn, jrose
2014-11-25 17:33:59 +01:00
Niclas Adlertz
53f42d325b
Merge
2014-12-05 15:16:01 +01:00
Igor Ignatyev
36ab0d5c9a
8066713: ignore compiler/types/correctness
...
Add @ignore to compiler/types/correctness tests
Reviewed-by: kvn
2014-12-04 14:14:09 -08:00
David Chase
0b7c6dc57c
Merge
2014-12-04 11:35:09 -05:00
Roland Westrelin
1976f161a5
Merge
2014-12-04 14:11:11 +00:00
Roland Westrelin
07537703cc
8048170: Test closed/java/text/Normalizer/ConformanceTest.java failed
...
PhaseIdealLoop::split_if_with_blocks_post() shoulnd't reorder range checks adjusted by range check smearing
Reviewed-by: kvn, jrose
2014-12-04 14:34:11 +01:00
Roland Westrelin
349669a9de
Merge
2014-12-04 11:22:05 +00:00
Tobias Hartmann
f9806ff009
8066448: SmallCodeCacheStartup.java exits with exit code 1
...
Check for VirtualMachineError in case VM initialization fails.
Reviewed-by: kvn
2014-12-04 09:52:15 +01:00
Igor Ignatyev
3a9c14c70a
8064669: compiler/whitebox/AllocationCodeBlobTest.java crashes / asserts
...
Reviewed-by: kvn, anoll
2014-12-02 12:36:03 +03:00
Igor Ignatyev
768b1d81a0
Merge
2014-12-01 22:41:16 +03:00
Tatiana Pivovarova
0fccf46ae4
8066141: compiler/whitebox/GetNMethodTest.java: java.lang.RuntimeException: blob_type[MethodProfiled] for 2 level isn't MethodNonProfiled
...
Reviewed-by: iveresov, iignatyev
2014-12-01 22:38:29 +03:00
Jesper Wilhelmsson
4fafece403
Merge
2014-12-01 12:11:11 +01:00
Roland Westrelin
686e5a0a6f
8064703
: crash running specjvm98's javac following 8060252
...
Uncommon trap between arraycopy and initialization may leave array initialized
Reviewed-by: kvn, vlivanov, goetz
2014-12-01 11:59:56 +01:00
Bengt Rutisson
0ecc753586
8065972: Remove support for ParNew+SerialOld and DefNew+CMS
...
Reviewed-by: mgerdin, stefank
2014-11-27 21:02:13 +01:00
David Chase
bd885cddf0
Merge
2014-11-26 20:38:10 -05:00
Jesper Wilhelmsson
3c3e60d5be
Merge
2014-11-26 18:01:10 +01:00
Tatiana Pivovarova
585ca822b8
8064696: compiler/startup/SmallCodeCacheStartup.java doesn't check exit code
...
Reviewed-by: kvn, anoll, iignatyev
2014-11-21 17:28:29 +03:00
Igor Ignatyev
bf5546e48d
8059550: JEP-JDK-8043304: Test task: segment overflow w/ empty others
...
Reviewed-by: kvn, thartmann, iignatyev
2014-11-21 17:27:11 +03:00
Tobias Hartmann
5ef6d4e99d
8050079: crash while compiling java.lang.ref.Finalizer::runFinalizer
...
Ignore non-instance Klasses in the subclass hierarchy.
Reviewed-by: kvn, iignatyev, jrose
2014-11-20 11:06:26 +01:00
Coleen Phillimore
4151db8bfd
8042235: redefining method used by multiple MethodHandles crashes VM
...
Note all MemberNames created on internal list for adjusting method entries.
Reviewed-by: sspitsyn, dcubed, lfoltan
2014-11-19 13:02:11 -05:00
Evgeniya Stepanova
b83ddbef42
8062537: [TESTBUG] Conflicting GC combinations in hotspot tests
...
Reviewed-by: brutisso
2014-11-19 17:43:19 +03:00
Zoltan Majo
68b0d32b05
8062854: move compiler jtreg test to corresponding subfolders and use those in TEST.groups
...
Move all test from <bug_id> directories to <functional_dir_name>/<bug_id>; update TEST.groups to execute more tests
Reviewed-by: drchase, kvn
2014-11-18 19:44:45 +01:00
Roland Westrelin
4bc2edad15
8054478: C2: Incorrectly compiled char[] array access crashes JVM
...
Dead backbranch in main loop results in erroneous array access
Reviewed-by: kvn, iveresov
2014-11-13 09:19:46 +01:00
Tobias Hartmann
00aa20db4a
8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations'
...
Always use MDO if valid and always compile trivial methods with C1 if available.
Reviewed-by: kvn, iveresov
2014-11-11 11:05:41 +01:00
Igor Ignatyev
bdac822811
8059624: Test task: WhiteBox API for testing segmented codecache feature
...
Reviewed-by: kvn, thartmann
2014-11-10 19:04:38 +03:00
Tatiana Pivovarova
80830d4932
8062742: compiler/EliminateAutoBox/UnsignedLoads.java fails with client vm
...
Reviewed-by: kvn, rbackman, anoll, vlivanov, iignatyev
2014-11-08 16:00:28 +03:00
Tatiana Pivovarova
dda16f6ccd
8062011: JT_HS/compiler/7068051 uses jre/lib/javaws.jar
...
Reviewed-by: kvn, iignatyev
2014-11-08 16:00:27 +03:00
Sergei Kovalev
8152a3ea35
8044186: Introduce a reproducible random generator
...
Reviewed-by: kvn, iveresov, iignatyev
2014-11-02 18:43:38 +03:00
Vladimir Kozlov
74def215cd
8054492: Casting can result in redundant null checks in generated code
...
Add C2 intrinsic for Class.cast() method and force inline it too.
Reviewed-by: jrose, roland, drchase, iignatyev
2014-10-31 16:51:57 -07:00
Tobias Hartmann
fe1762fbd6
8061817: Whitebox.deoptimizeMethod() does not deoptimize all OSR versions of method
...
Fixed Whitebox.deoptimizeMethod() to deoptimize all OSR versions of the method.
Reviewed-by: kvn, iignatyev
2014-10-30 13:03:30 +01:00
Tobias Hartmann
1c866d8433
8062250: [TESTBUG] compiler/codecache/CheckSegmentedCodeCache.java fails after CodeCacheMinimumFreeSpace removal
...
Adapted calculation of minimum code cache size after CodeCacheMinimumFreeSpace was removed by JDK-8046809.
Reviewed-by: kvn, anoll
2014-10-28 16:44:39 +01:00
Tobias Hartmann
1e7b7a410e
8061983: [TESTBUG] compiler/whitebox/MakeMethodNotCompilableTest.java fails with "must not be in queue"
...
Added a method checkNotCompiled(boolean isOsr) to either check if the method is OSR compiled or to check if it is non-OSR compiled.
Reviewed-by: kvn
2014-10-28 09:17:36 +01:00
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