Commit Graph

1650 Commits

Author SHA1 Message Date
Michael C Berg
9e55e44c85 8074981: Integer/FP scalar reduction optimization
Add scalar reduction optimization to C2 to take advantage of vector instructions in modern x86 CPUs.

Reviewed-by: kvn, twisti
2015-04-01 18:07:50 -07:00
Roland Westrelin
7c5d30b0e3 8075587: Compilation of constant array containing different sub classes crashes the JVM
Meet of 2 constant arrays result in bottom

Reviewed-by: kvn
2015-03-27 13:47:33 +01:00
Andrew Haley
1dfbc44c1f 8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.

Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:31:18 -07:00
Roland Westrelin
61aa1cfdef 8075921: assert assert(allocx == alloc) fails in library_call.cpp
Control becomes top after arraycopy guards and confuses tighly coupled allocation logic

Reviewed-by: kvn, vlivanov
2015-03-27 08:58:45 +01:00
Roland Westrelin
05ea4dbf1e 8069191: moving predicate out of loops may cause array accesses to bypass null check
Remove CastPP nodes only during final graph reshape

Reviewed-by: kvn, jrose
2015-03-24 10:25:09 +01:00
Vladimir Ivanov
f98a23137c 8057967: CallSite dependency tracking scales devastatingly poorly
Reviewed-by: jrose, roland, plevart, shade
2015-04-17 18:17:06 +03:00
Jesper Wilhelmsson
5f5b27baba Merge 2015-03-23 22:08:14 +01:00
Roland Westrelin
b81d606a4c 8075663: compiler/rangechecks/TestExplicitRangeChecks.java fails in compiler nightlies
-Xmixed following -Xcomp doesn't undo the effect of -Xcomp with tiered on

Reviewed-by: kvn, vlivanov
2015-03-23 17:09:41 +01:00
Zoltan Majo
90e9ec4634 Merge 2015-03-27 09:02:53 +01:00
Jaroslav Bachorik
a16c45029d 8054890: Serviceability: New diagnostic commands 'VM.set_flag' and 'JVMTI.data_dump'
Reviewed-by: sla, fparain, egahlin, ykantser
2015-03-23 11:46:15 +01:00
Harold Seigel
1665046b90 Merge 2015-03-29 09:20:27 -04:00
Katja Kantserova
c08ffb03e4 Merge 2015-03-25 15:22:44 +00:00
Harold Seigel
257436004b 7127066: Class verifier accepts an invalid class file
For *store bytecodes, compare incoming, not outgoing, type state with exception handlers' stack maps.

Reviewed-by: acorn, dholmes
2015-03-25 08:16:48 -04:00
Katja Kantserova
e8495c6494 8075818: serviceability/threads/TestFalseDeadLock.java should be unquarantined
Reviewed-by: jbachorik, sspitsyn
2015-03-25 12:38:50 +01:00
Jaroslav Bachorik
c5cefb4d20 Merge 2015-03-24 16:21:28 +00:00
Jaroslav Bachorik
af45a8044e 8024055: serviceability/attach/AttachWithStalePidFile.java createJavaPidFile() fails
Reviewed-by: sla, sspitsyn
2015-03-24 15:03:07 +01:00
Severin Gehwolf
e1d7a11c64 8075533: Zero JVM segfaults for -version after JDK-8074552
Remove SafeFetchXX Zero implementations and guard test with CanUseSafeFetchXX

Reviewed-by: simonis, coleenp
2015-03-23 13:53:44 +01:00
Daniel D. Daugherty
295d64e29f Merge 2015-03-19 14:28:44 -07:00
Zoltan Majo
379e3d6fb6 Merge 2015-03-19 18:01:39 +01:00
Harold Seigel
bbd0191aea 8075118: JVM stuck in infinite loop during verification
Keep a list of handlers to prevent the same handler from being scanned repeatedly.

Reviewed-by: dlong, dholmes
2015-03-19 08:55:50 -04:00
Roland Westrelin
c030d4e363 8132525: java -client -XX:+TieredCompilation -XX:CICompilerCount=1 -version asserts since 8130858
TieredCompilation not validated when CICompilerCount is processed

Reviewed-by: kvn, gziemski
2015-07-29 12:33:48 +02:00
Jon Masamitsu
473bf6175f 8017462: G1: guarantee fails with UseDynamicNumberOfGCThreads
Reviewed-by: tschatzl, brutisso
2015-03-17 11:19:05 -07:00
Zoltan Majo
41b79b9ad4 8074869: C2 code generator can replace -0.0f with +0.0f on Linux
Instead of 'fpclass', use cast float->int and double->long to check if value is +0.0f and +0.0d, respectively.

Reviewed-by: kvn, simonis, dlong
2015-03-14 11:21:04 +01:00
Daniel D. Daugherty
6029190551 Merge 2015-03-13 09:18:28 -07:00
Vladimir Kozlov
2632925f9f Merge 2015-03-12 15:51:12 -07:00
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
Roland Westrelin
44381600a5 8069263: assert(fm == NULL || fm->method_holder() == _participants[n]) failed: sanity
Default methods added to classes confuse dependency processing

Reviewed-by: kvn
2015-03-12 14:15:09 +01:00
Tatiana Pivovarova
9ed9ae6214 8075488: compiler/whitebox/DeoptimizeFramesTest fails with exit code 1 due to unrecognized VM option -XX:+IgnoreUnexpectedVMOptions
Reviewed-by: kvn
2015-03-21 21:47:49 +03:00
Roland Westrelin
0258ef4abc 8073866: Fix for 8064703 is not sufficient
Side effects between allocation and arraycopy can be reexecuted, unreachable uninitialized array can be seen by GCs

Reviewed-by: kvn, vlivanov
2015-03-16 12:24:06 +01:00
Zoltan Majo
9755168fe2 Merge 2015-03-20 11:53:01 +01:00
Roland Westrelin
71e31ee0b9 8073480: C2 should optimize explicit range checks
Explicit range checks should be recognized by C2

Reviewed-by: kvn, vlivanov
2015-03-17 10:06:31 +01:00
Chris Plummer
984cf4c9b5 8069111: Investigate NMT detail tracking support for 32bit ARM
Fix native stack walking issues arm arm32. Disable on thumb2. Removed support for NMT without NMT detail.

Reviewed-by: dholmes, bdelsart
2015-03-10 19:56:19 -07:00
Thomas Stufe
33690bd090 8074552: SafeFetch32 and SafeFetchN do not work in error handling
Reviewed-by: dholmes, goetz
2015-03-12 19:34:50 -04:00
Jesper Wilhelmsson
5b71ef55a7 Merge 2015-03-09 01:58:59 +01:00
Andrey Zakharov
179f7eb9ff 8051984: @ignore should be placed after @test
As ignore reason has been fixed (by adding @requires) @ignore removed

Reviewed-by: kbarrett, brutisso
2015-03-06 16:12:54 +01:00
Zoltan Majo
78b1c29418 Merge 2015-03-06 08:53:22 +01:00
Jesper Wilhelmsson
3ea0bee55c Merge 2015-03-05 17:27:16 +01:00
Jesper Wilhelmsson
25c5065b89 Merge 2015-03-03 19:21:45 +01:00
Vladimir Ivanov
361f1ae295 Merge 2015-03-02 18:12:06 +00:00
Vladimir Ivanov
b4b2912109 Merge 2015-03-02 07:20:09 -08:00
Jesper Wilhelmsson
8107130954 8071335: gc/TestSmallHeap.java throw OOM
To avoid OOME, do not run with -Xcomp

Reviewed-by: brutisso, tschatzl
2015-03-02 16:19:59 +01:00
Tobias Hartmann
e5f039dbfb Merge 2015-03-02 15:11:55 +00:00
Christian Tornqvist
6465239986 Merge 2015-03-02 05:32:01 -08: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
Bengt Rutisson
8c7781ec72 8027962: Per-phase timing measurements for strong roots processing
Reviewed-by: tschatzl, ecaspole
2015-03-19 15:25:54 +01:00
Harold Seigel
01ed1c9ea6 8073908: Replace hotspot/testlibrary use of sun.management with public API
Use java.lang API's instead of sun.management API's.

Reviewed-by: sla, iignatyev, gtriantafill, mchung
2015-02-27 12:48:06 -05:00
Alejandro Murillo
e7f35f99b5 Merge 2015-02-27 07:34:26 -08:00
Magnus Ihse Bursie
0624f19e6e 8072842: Add support for building native JTReg tests
Reviewed-by: erikj, sla
2015-02-27 11:56:34 +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
Jesper Wilhelmsson
1426bc9dc1 8073883: serviceability/dcmd/gc/RunGCTest.java should not run with -XX:+ExplicitGCInvokesConcurrent
Don't run test with -XX:+ExplicitGCInvokesConcurrent

Reviewed-by: mgerdin
2015-02-26 21:00:03 +01:00
Andrey Zakharov
fd9d670156 8073950: Quarantine failing test: gc/TestSoftReferencesBehaviorOnOOME.java due to JDK-8073669
Quarantine gc/TestSoftReferencesBehaviorOnOOME.java

Reviewed-by: mgerdin, tschatzl
2015-02-26 17:02:48 +01:00
Dmitry Dmitriev
26261a9600 8069291: [TESTBUG] runtime/threads/Fibonacci: OutOfMemoryError: unable to create native thread
Reviewed-by: dholmes, ctornqvi
2015-02-26 06:11:56 -08:00
Stefan Sarne
fab80a0ca3 8073718: [TESTBUG] Cleanup test output and skip creating mini dumps
Reviewed-by: sla, ctornqvi
2015-02-26 06:11:40 -08: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
Vladimir Ivanov
dad72d8a2b Merge 2015-02-24 07:39:22 -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
Sergei Kovalev
3d215c0b63 8067822: test/testlibrary_tests/RandomGeneratorTest.java failed on Assert Unexpected random number sequence for mode: NO_SEED
On embedded platforms we have a message in std error. We should not take into account the message. Therefore only std out should be used fo verification.

Reviewed-by: iignatyev, kvn
2015-02-24 15:42:26 +03:00
Sergei Kovalev
7fdd3ff35d 8067162: [TESTBUG] runtime/SharedArchiveFile tests fail on compact profiles
Modified TEST.groups file to exclude two tests from execution on compact profiles.

Reviewed-by: mseledtsov, dholmes, iignatyev
2015-02-24 16:08:25 +03:00
Vladimir Ivanov
93f9344ff4 Merge 2015-02-19 11:12:59 -08: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
Pavel Punegov
f8c9e34966 8067157: Closed compiler tests should not be in hotspot/test/TEST.groups
Replace closed/compiler tests with sanity/ExecuteInternalVMTests.java to keep the hotspot_compiler_closed group

Reviewed-by: kvn, zmajo
2015-02-18 16:19:48 +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
Chris Plummer
9604a593ee 8073167: Undo change to -retain argument in hotspot/test/Makefile
-retain:all changed back to -retain:fail,error

Reviewed-by: stefank
2015-02-14 08:53:57 -08:00
Christian Tornqvist
a72a716adf Merge 2015-02-14 00:03:48 +00:00
Christian Tornqvist
cdb714aeb5 Merge 2015-02-13 15:05:30 -08:00
Christian Tornqvist
094674666c Merge 2015-02-13 05:17:41 -08:00
Katja Kantserova
3d3f6553c0 8073132: Eliminate ProcessTools.getProcessId dependency on sun.management.VMManagement
Reviewed-by: jbachorik, dfuchs, mchung
2015-02-13 13:17:13 +01:00
Jesper Wilhelmsson
0212ed173a Merge 2015-02-13 01:41:06 +01:00
Vladimir Ivanov
a1b368700b Merge 2015-02-12 13:55:54 -08:00
Chris Plummer
0b5dffb337 8054888: Runtime: Add Diagnostic Command that prints the class hierarchy
Added the VM.class_hierarhcy DCMD

Reviewed-by: stefank, miauno
2015-02-11 15:22:43 -08:00
Paul Sandoz
a1d993e9ce 8068975: Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
Reviewed-by: dholmes, kvn, vlivanov
2015-02-10 14:10:43 +01: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
Sergei Kovalev
f387f55093 8071811: gc/arguments/TestG1ConcRefinementThreads.java failed on Exception: java.lang.RuntimeException: Actual G1ConcRefinementThreads(0) is not equal to expected value(23)
Reviewed-by: jwilhelm, iignatyev
2015-02-09 09:51:12 +03:00
Jesper Wilhelmsson
ad23789419 Merge 2015-02-05 12:23:29 +01:00
Christian Tornqvist
edbc932bc7 Merge 2015-02-04 18:22:46 -08:00
Mikael Auno
a0057ef650 8072405: [TESTBUG] DCMD tests needs at least compact3 profile
Reviewed-by: jbachorik, sla
2015-02-03 12:49:33 +01:00
Mikael Auno
5ae2ec81e7 8072403: [TESTBUG] HeapDumpTest and HeapDumpAllTest fails to find jhat in non-JDK runs
Reviewed-by: jbachorik, sla
2015-02-03 12:49:13 +01:00
Mikael Auno
eb67830333 8072401: [TESTBUG] Some of the newly added DCMD tests fail due to lack of -XX:+UsePerfData
Reviewed-by: jbachorik, sla
2015-02-03 12:26:40 +01:00
Jesper Wilhelmsson
9cc24cf76e Merge 2015-02-02 13:57:38 +01:00
Mikael Auno
2f12527848 8071908: Port internal Diagnostic Command tests and test framework to jtreg
Reviewed-by: jbachorik, egahlin, ykantser, mtobiass
2015-01-30 20:00:57 +01:00
Mikael Auno
353ca5002c 8071909: Port testlibrary improvments in jdk/test to hotspot/test as required for DCMD test port
Reviewed-by: jbachorik, egahlin, ykantser, mtobiass
2015-01-30 20:20:11 +01:00
Yumin Qi
07acd9a05e Merge 2015-01-30 10:52:25 -08: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
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
Katja Kantserova
8563f899e6 8071784: serviceability/attach/AttachWithStalePidFile.java should be quarantined
Reviewed-by: sla, jbachorik
2015-01-30 09:32:23 +01:00
Christian Tornqvist
62166e9f59 8071584: [TESTBUG] runtime/Unsafe/AllocateMemory.java crashed on OOM during compilation
Reviewed-by: dholmes, gtriantafill, jprovino
2015-01-29 14:50:43 -08:00
Coleen Phillimore
d57245dcbb 8049632: JDK 1.8.0 b132 :Linux x64 : Crash in ClassFileParser::copy_localvariable_table(..)
Use resource allocated hashtable for local variable table checking

Reviewed-by: kamg, sspitsyn
2015-01-29 14:37:14 -05:00
Serguei Spitsyn
8be0bb5458 8008678: JSR 292: constant pool reconstitution must support pseudo strings
Keep orig idx from pseudo-string to UTF8, use 2nd lsb CPSlot to mark pseudo-string.

Reviewed-by: coleenp, jrose
2015-01-29 03:11:01 -08:00
Kim Barrett
1a1ddd0d4b 8068942: Improve validation of -XX:G1ConfidencePercent value
Validate during argument processing and simplify usage by assuming validated.

Reviewed-by: jmasa, tschatzl
2015-01-29 00:08:38 -05: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
Yumin Qi
3bbda04f98 Merge 2015-01-27 20:02:35 -08: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
Jesper Wilhelmsson
2d461b2a76 Merge 2015-01-22 12:26:26 +01: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
Zoltan Majo
3d814126c2 8069162: quarantine serviceability/dcmd/compiler/CompilerQueueTest.java
Added '@ignore 8069160' to the test.

Reviewed-by: anoll, kvn
2015-01-20 09:45:11 +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
Jesper Wilhelmsson
8c8b13bf52 Merge 2015-01-19 15:52:56 +01:00
Jean-Francois Denise
88ff99b454 Merge 2015-06-25 20:47:46 +00:00
Jean-Francois Denise
aaac2cbb54 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:25:19 +02:00
Thomas Schatzl
e5a5f9beab Merge 2015-06-25 15:43:16 +00:00
Thomas Schatzl
9a06f23e99 Merge 2015-06-25 07:13:27 +00:00
Thomas Schatzl
def61423c2 8129604: Incorrect GPL header in README causes RE script to create wrong output
Fix up GPL headers by removing leading "#" so that the RE script works.

Reviewed-by: brutisso, coleenp
2015-06-25 09:04:28 +02:00
Dmitry Dmitriev
fff2d77827 8129394: [TESTBUG] runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java failed with double option
Reviewed-by: dholmes
2015-06-24 18:21:14 -04:00
Thomas Schatzl
f3b9da429d 8129602: Incorrect GPL header causes RE script to create wrong output
Fix up GPL headers so that the RE script works.

Reviewed-by: stefank, dholmes, coleenp
2015-06-24 17:46:26 +02:00
Stefan Johansson
3a11c1d75c 8069011: gc/TestSmallHeap.java failing in nightly
Using @requires to avoid running with AggressiveOpts turned on.

Reviewed-by: jwilhelm, brutisso
2015-01-19 10:08:07 +01:00
Stefan Johansson
d508c520f0 8040935: -XX:+AggressiveOpts broken: GC triggered before VM initialization completed on several tests
Reviewed-by: brutisso, kbarrett
2015-01-19 10:06: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
Christian Tornqvist
4f3c9fccb7 8062961: [TESTBUG] Spurious timeout for runtime/ErrorHandling/ProblematicFrameTest
Reviewed-by: coleenp, gtriantafill
2015-01-15 14:10:49 -08:00
Dean Long
e2bf1cd30d Merge 2015-01-15 16:51:09 -05:00
Goetz Lindenmaier
71d4cfb1ad 8068026: [TESTBUG] Check for -client in gc/g1/TestHumongousCodeCacheRoots.java
Skip test if -client is not supported.

Reviewed-by: jwilhelm, simonis
2015-01-15 16:05:20 +01:00
Jesper Wilhelmsson
9a011ee40a Merge 2015-01-15 14:36:15 +01: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
Stefan Johansson
6606238d9b 8067368: TestConcMarkCycleWB.java crashed at G1CollectedHeap::heap()+0xb
Added the test to needs_g1gc group in TEST.groups to avoid running when G1 is not available.

Reviewed-by: jwilhelm, dholmes
2015-01-15 11:10:03 +01:00
Vladimir Kozlov
bdccde66c1 8069021: Exclude compiler/codecache/stress tests from JPRT runs
Reviewed-by: iveresov
2015-01-14 16:00:51 -08: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
Calvin Cheung
9000f8c3c7 8067187: -XX:MaxMetaspaceSize=20m -Xshare:dump caused JVM to crash
Added check for the MaxMetaspaceSize. If it is less than the estimated required size, print an error and exit.

Reviewed-by: jiangli, mseledtsov, stefank
2015-01-12 11:37:58 -08: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
Jesper Wilhelmsson
24a5a68bed Merge 2015-01-12 12:51:53 +01:00
Mattias Tobiasson
4e84bf1e93 8068584: Compiler attach tests should be quarantined
Quarantine tests

Reviewed-by: ctornqvi
2015-01-12 09:27:52 +01:00
Goetz Lindenmaier
2ffd52f306 8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available
Reviewed-by: coleenp, sla
2015-01-12 09:16:06 +01:00
Christian Tornqvist
2c2593b757 8069207: [TESTBUG] Exception thrown for java.lang.NoSuchMethodError: sun.misc.Unsafe.monitorExit
Reviewed-by: gtriantafill, dholmes
2015-01-23 11:44:21 -08:00
Yumin Qi
d4fd7377f4 Merge 2015-01-10 12:35:44 -08:00
Christian Tornqvist
90c58f1cc9 8068733: [TESTBUG] runtime/Unsafe/Reallocate.java sometimes fails when running with -Xcomp
Reviewed-by: coleenp, gtriantafill
2015-01-09 08:34:32 -08:00
Goetz Lindenmaier
1b1ac860df 8068013: [TESTBUG] Aix support in hotspot jtreg tests
Reviewed-by: ctornqvi, fzhinkin, farvidsson
2015-01-09 05:45:13 -08: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
Bengt Rutisson
24d3bb517b 8068653: TestSmalllHeap.java fails when the page size is 64k
Reviewed-by: tschatzl
2015-01-09 08:38:23 +01:00
Dean Long
f5750b67fd Merge 2015-01-08 17:45:10 -05:00
Christian Tornqvist
c5853aabdd 8060219: [TESTBUG] runtime/7194254/Test7194254.java fails to find jstack with modular image build
Reviewed-by: gtriantafill, lfoltan, hseigel
2015-01-08 11:42:05 -08:00
Christian Tornqvist
6173a83d5d 8058897: Unsafe.reallocateMemory() ignores -XX:MallocMaxTestWords setting
Reviewed-by: dcubed, dholmes
2015-01-08 11:40:36 -08:00
Jesper Wilhelmsson
7c43a226b4 Merge 2015-01-08 15:44:46 +01:00
Bengt Rutisson
9fd9fffd10 Merge 2015-01-07 16:24:58 +00: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
Dean Long
7002708d14 Merge 2015-01-09 13:28:02 -05:00
Thomas Schatzl
afb458ef0e 8048179: Early reclaim of large objects that are referenced by a few objects
Push the remembered sets of large objects with few referenced into the dirty card queue at the beginning of the evacuation so that they may end up with zero remembered set entries at the end of the collection, and are potentially reclaimed. Also improve timing measurements of the early reclaim mechanism, and shorten flag names.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviewed-by: kvn, vlivanov, goetz
2014-12-01 11:59:56 +01:00