Commit Graph

2607 Commits

Author SHA1 Message Date
Dmitry Fazunenko
f077709652 8145908: [Newtest] Multi-threading stress test for G1 Remembered Sets
Reviewed-by: tschatzl, mchernov
2016-03-01 20:30:28 +04:00
Michail Chernov
a956d2a0a0 8150183: gc/g1/plab/TestPLABResize.java - previous PLAB size should be less than current
Reviewed-by: jmasa, dfazunen
2016-03-03 16:12:38 +03:00
Jesper Wilhelmsson
90586a424c Merge 2016-03-09 14:18:12 +01:00
Staffan Larsen
8af208885a 8151196: Several tests fail due to test library not found
Reviewed-by: ctornqvi, brutisso
2016-03-09 12:30:39 +01:00
Rachel Protacio
22f2f6ff95 8150083: Convert VerboseVerification to Unified Logging
Converted -XX:+VerboseVerfication to -Xlog:verboseverification=info

Reviewed-by: hseigel, dholmes
2016-03-08 15:19:53 -05:00
Rachel Protacio
b2f40c5a16 8149991: Convert TraceSafepointCleanupTime to Unified Logging
Converted TraceSafepointCleanupTime to -Xlog:safepointcleanup=info

Reviewed-by: hseigel, mockner, ddmitriev, dholmes, coleenp
2016-03-08 12:57:44 -05:00
Max Ockner
5fc22fbb9a Merge 2016-03-01 02:15:31 +00:00
Max Ockner
5a873632f3 8149064: TraceProtectionDomainVerification has been converted to Unified Logging
TraceProtectionDomainVerification has been converted to Unified Logging with tag protectiondomain.

Reviewed-by: coleenp, iklam
2016-02-29 16:58:09 -05:00
Jesper Wilhelmsson
506a90ff7b Merge 2016-02-29 15:24:52 +01:00
Bengt Rutisson
190c092900 8150068: Log the main G1 phases at info level
Reviewed-by: sjohanss, tschatzl
2016-02-29 13:06:03 +01:00
Thomas Stuefe
31f86a2308 8150619: Improve thread based logging introduced with 8149036
Reviewed-by: coleenp, dholmes
2016-02-29 08:50:57 +01:00
Thomas Schatzl
6fe8d6e7de 8150630: Add logging for ParScanThreadState merge phase
Improve visibility of the per-thread scan state merge phase by adding appropriate logging.

Reviewed-by: jmasa, tbenson
2016-02-26 13:02:30 +01:00
Thomas Schatzl
d00c7378d6 8076463: Add logging for the preserve CM referents task
Add logging and do minor refactoring to CM referents handling task.

Reviewed-by: jmasa
2016-02-26 13:02:30 +01:00
Jesper Wilhelmsson
bf7f1925fd 8150647: Quarantine TestPLABResize.java until JDK-8150183 is fixed
8150562: Quarantine LoadAgentDcmdTest.java due to JDK-8150318

Reviewed-by: iklam, tschatzl
2016-02-25 17:26:49 +01:00
Jesper Wilhelmsson
e76fbbafb5 Merge 2016-02-22 19:46:37 +01:00
Zoltan Majo
77c73b6d4f Merge 2016-03-07 09:34:29 +01:00
Aleksey Shipilev
548530cf08 8150465: Unsafe methods to produce uninitialized arrays
Reviewed-by: jrose, kvn, psandoz, aph, twisti, flar
2016-03-03 23:57:29 +03:00
Aleksey Shipilev
890f94d7e6 8150669: C1 intrinsic for Class.isPrimitive
Reviewed-by: twisti, vlivanov, redestad
2016-03-03 22:17:38 +03:00
Mikael Vidstedt
c40e7bc21f 8149159: Clean up Unsafe
Reviewed-by: jrose, kvn, stsmirno, chegar, aph, psandoz, redestad, twisti
2016-03-03 09:33:30 -08:00
Pavel Punegov
adde13cc80 Merge 2016-03-03 16:54:06 +01:00
Pavel Punegov
694727f144 8148563: compiler/compilercontrol/jcmd/StressAddMultiThreadedTest.java timesout
Decrease amount of directives and threads

Reviewed-by: neliasso
2016-03-01 20:17:27 +03:00
Dmitry Dmitriev
0c1c39bbee Merge 2016-02-19 12:47:16 +01:00
Dmitry Dmitriev
04d2edfca3 8146187: Print develop and nonproduct flags by -XX:+PrintFlags* options in debug build
Reviewed-by: gtriantafill, gziemski, dholmes
2016-02-19 13:24:21 +03:00
Jesper Wilhelmsson
6f4adc7c72 Merge 2016-02-18 18:10:35 +01:00
Yasumasa Suenaga
2cfe5a01c4 8147388: Add diagnostic commands to attach JVMTI agent
Reviewed-by: jbachorik, sspitsyn
2016-02-18 23:26:43 +09:00
Rachel Protacio
3cf4e3909c 8149383: Convert TraceBiasedLocking to Unified Logging
The former -XX:+TraceBiasedLocking flag has been converted to the UL option -Xlog:biasedlocking=info and =trace, with the old option being aliased.

Reviewed-by: dholmes, dcubed
2016-02-18 17:10:48 -05:00
Alexander Kulyakhtin
af854404be 8150067: Quarantine serviceability/tmtools/jstat/GcCapacityTest.java
Quarantine a falsely failing test until the test issue is fixed

Reviewed-by: sla
2016-02-18 14:56:53 +03:00
Rachel Protacio
92f9c27eec 8148630: Convert TraceStartupTime to Unified Logging
The former -XX:+TraceStartupTime flag has been converted to the UL option -Xlog:startuptime=info

Reviewed-by: coleenp, dholmes
2016-02-17 14:03:18 -05:00
Vladimir Ivanov
bb51ea7a06 8150543: Mismatched access detection is inaccurate
Reviewed-by: kvn, shade
2016-02-29 23:46:55 +03:00
Zoltan Majo
babca85232 8150349: Reduce the execution time of the hotspot_compiler_3 group
Exclude long-running intrinsic-related tests that check functionality that is not likely to be changed soon.

Reviewed-by: kvn, neliasso
2016-02-29 13:02:10 +01:00
Tobias Hartmann
eca88d0a0c Merge 2016-02-29 09:02:13 +01:00
Vladimir Ivanov
a7d78599d7 8150436: Incorrect invocation mode when linkToInteface linker is eliminated
Reviewed-by: kvn, shade
2016-02-26 01:58:29 +03:00
Vladimir Ivanov
abebc2da5c 8150186: Folding mismatched accesses with @Stable is incorrect
Reviewed-by: kvn, jrose, shade
2016-02-26 01:58:26 +03:00
Aleksey Shipilev
4a8c4fc074 8150534: C1 compilation fails with "Constant field loads are folded during parsing"
Reviewed-by: vlivanov, thartmann
2016-02-25 15:10:16 +03:00
Nils Eliasson
d596cf06af 8069160: serviceability/dcmd/compiler/CompilerQueueTest.java fails due to class not found
Use whitebox to test specific cases making test less fragile

Reviewed-by: kvn
2016-02-25 10:44:51 +01:00
Nils Eliasson
e09bb29c2d 8148159: [TESTBUG] TestCompilerDirectivesCompatibility tests fails on non-tiered server VMs
Add whitebox for checking available compilers

Reviewed-by: kvn
2016-02-25 10:42:42 +01:00
Roland Westrelin
7c3120b3da Merge 2016-02-24 20:18:04 +00:00
Aleksey Shipilev
6e26b67678 8150514: C1 crashes in Canonicalizer::do_ArrayLength() after fix for JDK-8150102
Reviewed-by: thartmann, vlivanov
2016-02-24 18:43:51 +03:00
Aleksey Shipilev
0c43809cfe 8148146: Integrate new internal Unsafe entry points, and basic intrinsic support for VarHandles
Reviewed-by: psandoz, kvn, jrose, adinn, simonis, coleenp
2016-02-23 22:09:41 +03:00
Roland Westrelin
744d73a67f 8148353: [linux-sparc] Crash in libawt.so on Linux SPARC
Gcc expects clean 32 bit int in 64 bit register on function entry

Reviewed-by: kvn, dlong
2016-02-23 17:18:31 +01:00
Dmitry Dmitriev
a4d0bc4a4e 8144578: TestOptionsWithRanges test only ever uses the default collector
Reviewed-by: sangheki, dholmes
2016-02-17 11:00:57 +03:00
Kim Barrett
6d0ef1b692 8146728: TestPrintGCDetailsVerbose is never run by jtreg
Remove requirement for fastdebug, update logging option

Reviewed-by: sjohanss, brutisso, dfazunen
2016-02-16 21:58:49 -05:00
Daniel D. Daugherty
eb4fc599e6 Merge 2016-02-16 12:01:37 -08:00
Roland Westrelin
db36e29ab0 8149916: Test case for 8149797
Reviewed-by: kvn
2016-02-16 12:54:20 +01:00
David Holmes
339a7e8559 8147379: Investigate if ConvertSleepToYield still should be false by default on Sparc
Reviewed-by: dcubed, sjohanss
2016-02-15 05:54:59 -05:00
Tobias Hartmann
8b42758800 Merge 2016-02-15 11:52:51 +01:00
Tobias Hartmann
4c22e8e014 Merge 2016-02-22 08:04:12 +01:00
Konstantin Shefov
719c07ec10 8141619: Develop new tests for JVMCI compilerToVM class' CP related methods
Reviewed-by: twisti, dpochepk
2016-02-20 11:49:45 +03:00
Konstantin Shefov
ac6fe07b05 8141618: Change JVMCI compilerToVM constant pool tests to support CP cache
Reviewed-by: twisti, dpochepk
2016-02-20 11:49:02 +03:00
Martin Doerr
de01af89d8 8149655: PPC64: Implement CompactString intrinsics
Reviewed-by: goetz, kvn
2016-02-19 11:09:59 +01:00
Vladimir Ivanov
4532f54300 7177745: JSR292: Many Callsite relinkages cause target method to always run in interpreter mode
Reviewed-by: jrose, kvn
2016-02-19 20:40:20 +03:00
Pavel Punegov
0e441f9177 8144621: CompilerControl: inline tests timeout with Xcomp
Restrict patterns that lead to timeout

Reviewed-by: kvn, neliasso
2016-02-17 17:48:56 +03:00
Jesper Wilhelmsson
c6d81e192d Merge 2016-02-11 21:07:38 +01:00
Tobias Hartmann
afca49ff29 8148752: Compiled StringBuilder code throws StringIndexOutOfBoundsException
Fixed handling of long/double MH arguments in GraphBuilder::try_method_handle_inline().

Reviewed-by: roland, shade, vlivanov, kvn, twisti
2016-02-10 07:54:26 +01:00
Coleen Phillimore
ea91682fe1 8149170: Better byte behavior should normalize JNI arguments
Arguments coming from native should be converted to 0=false, 1-255=true

Reviewed-by: kvn, kevinw, jrose, bdelsart, gtriantafill
2016-02-09 15:54:16 -05:00
Roland Schatz
7cf2c51fa7 8148741: compiler/jvmci/code/SimpleDebugInfoTest.java fails in 'frame::sender_for_compiled_frame'
Reviewed-by: twisti
2016-02-08 18:52:03 +01:00
Tobias Hartmann
904898e762 8148564: compiler/intrinsics/string/TestStringIntrinsics2.java times out
Test should not run with -Xcomp because MaxInlineSize is large.

Reviewed-by: kvn, simonis
2016-02-12 12:18:44 +01:00
Jamsheed Mohammed
45bd62d1f1 8149123: [TESTBUG] compiler/loopopts/superword/SumRed* tests running on non-x86 platforms
Restricted test execution to supported archs.

Reviewed-by: kvn
2016-02-10 15:24:22 +01:00
Doug Simon
60a582e9be 8149019: remove redundant modifiers
Reviewed-by: twisti
2016-02-08 18:52:03 +01:00
Tom Rodriguez
7c15712c40 Merge 2016-02-08 12:13:56 -08:00
Pavel Punegov
1cf3f7a2c8 Merge 2016-02-08 18:52:03 +01:00
Tom Rodriguez
938471481b 8149076: [JVMCI] missing ResourceMark in JVMCIRuntime::initialize_HotSpotJVMCIRuntime
Reviewed-by: twisti, iignatyev
2016-02-05 12:27:02 -08:00
Tatiana Pivovarova
25db23a65e 8149135: [jittester] Makefile copies JitTesterDriver in incorrect directory and always uses default value for number-of-tests and seed
Reviewed-by: iignatyev
2016-02-05 21:16:14 +03:00
Zoltan Majo
eab1474601 8148758: Compilation fails with "this call site should not be polymorphic"
Change test to run in interpreter-only mode.

Reviewed-by: kvn
2016-02-08 08:57:39 +01:00
Pavel Punegov
fc58d951d2 8148864: Quarantine CompilerControl tests
Exclude tests affected by JDK-8148563 and JDK-8140354 from execution

Reviewed-by: kvn
2016-02-05 18:05:33 +03:00
Tobias Hartmann
4cce6f082e Merge 2016-02-05 15:38:21 +01:00
Tobias Hartmann
2bdb607d7d 8149109: [TESTBUG] TestRegisterRestoring.java fails with "VM option 'SafepointALot' is develop"
Added missing -XX:+IgnoreUnrecognizedVMOptions.

Reviewed-by: vlivanov
2016-02-05 12:43:57 +01:00
Tobias Hartmann
65438b2b53 Merge 2016-02-04 15:27:15 +01:00
Zoltan Majo
8332da75a9 8148970: Quarantine testlibrary_tests/whitebox/vm_flags/IntxTest.java
Quarantine testlibrary_tests/whitebox/vm_flags/IntxTest.java

Reviewed-by: vlivanov, dcubed
2016-02-04 08:53:57 +01:00
Tobias Hartmann
16f749ef45 8148751: [TESTBUG] compiler/whitebox/AllocationCodeBlobTest.java fails due to unexpected code cache allocation
Do all the measurements and then check the results to avoid unexpected code cache allocations.

Reviewed-by: vlivanov
2016-02-03 17:51:47 +01:00
Roland Westrelin
1462f0b038 8147645: get_ctrl_no_update() code is wrong
Array.fill intrinsification code doesn't mark replaced control as dead

Reviewed-by: kvn
2016-02-03 10:58:50 +01:00
Tobias Hartmann
694d16f4cc 8148490: RegisterSaver::restore_live_registers() fails to restore xmm registers on 32 bit
Fixed stack offsets for xmm register saving/restoring code on 32 bit.

Reviewed-by: kvn, mcberg
2016-02-03 09:09:56 +01:00
Alejandro Murillo
34efd50e20 Merge 2016-01-28 16:30:37 -08:00
Aleksey Shipilev
121083c09e 8148483: JEP 280: Indify String Concatenation
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: psandoz, mcimadamore, igerasim, forax, plevart, vlivanov, ihse
2016-01-28 19:43:18 +03:00
Tobias Hartmann
832443d3b0 Merge 2016-01-28 09:49:17 +01:00
Christian Wimmer
b220252b74 8148202: move lookup of Java class and hub from ResolvedJavaType to ConstantReflectionProvider
Reviewed-by: twisti
2016-01-26 11:28:54 -10:00
Igor Ignatyev
3bebe35b7b 8148136: compile control tests have incorrect @build directives
Reviewed-by: kvn
2016-01-26 00:25:20 +03:00
Igor Ignatyev
972bf92ef7 8148161: quarantine compiler/loopopts/UseCountedLoopSafepoints.java
Reviewed-by: kvn
2016-01-26 00:25:20 +03:00
Tom Rodriguez
a3351a8233 8148101: [JVMCI] Make CallingConvention.Type extensible
Reviewed-by: twisti
2016-01-25 09:12:58 -08:00
Doug Simon
56c2dccccf 8148981: remove ResolvedJavaType.getClassFilePath()
Reviewed-by: twisti
2016-02-03 12:16:44 +01:00
Roland Schatz
76b459d629 8146608: [JVMCI] DebugInfo Tests on DeoptimizeALot runs fails in assert(_pc == *pc_addr || pc == *pc_addr) frame::patch_pc() /frame_x86.cpp:285
Reviewed-by: twisti
2016-02-03 12:16:44 +01:00
Goetz Lindenmaier
4e99638d69 8147937: Adapt SAP copyrights to new company name
Reviewed-by: simonis, stuefe
2016-01-21 12:37:47 +01:00
Tom Rodriguez
4205407d83 8146424: runtime/ReservedStack/ReservedStackTest.java triggers: assert(thread->deopt_mark() == __null) failed: no stack overflow from deopt blob/uncommon trap
Reviewed-by: twisti
2016-01-22 11:11:06 -08:00
Tom Rodriguez
87d68c21c4 8147432: JVMCI should report bailouts in PrintCompilation output
Reviewed-by: kvn, twisti
2016-01-22 11:08:07 -08:00
Roland Schatz
0691fac50b 8146244: compiler/jvmci/code/DataPatchTest.java crashes: SIGSEGV in (getConstClass)getConstClass
Reviewed-by: twisti
2016-01-21 16:22:01 +01:00
Igor Ignatyev
025890379a 8141557: TestResolvedJavaMethod.java times out after 1000 ms
Reviewed-by: twisti
2016-01-21 22:23:22 +03:00
Pavel Punegov
157f8f1313 Merge 2016-01-21 15:07:42 +01:00
Alexander Kulyakhtin
a58cdadbf2 8147848: [TESTBUG] tmtools tests ported to JTREG need to be quarantined
Quarantined some tests with false failures

Reviewed-by: sla
2016-01-21 14:17:49 +03:00
Pavel Punegov
b5e16518f4 8145800: [Testbug] CompilerControl: inline message differs for not inlined methods
Create callables outside the Internal subclasses

Reviewed-by: kvn
2016-01-20 20:26:33 +03:00
Roland Schatz
66b4fd463a 8147475: compiler/jvmci/code/SimpleDebugInfoTest.java fails in Assembler::locate_operand: ShouldNotReachHere()
Reviewed-by: kvn, twisti
2016-01-20 17:00:17 -10:00
Roland Schatz
5456fcf370 8147599: [JVMCI] simplify code installation interface
Reviewed-by: twisti
2016-01-20 14:22:46 +01:00
Volker Simonis
f3dca540d8 8145336: PPC64: fix string intrinsics after CompactStrings change
Reviewed-by: mdoerr, aph, kvn
2016-01-20 16:33:51 +01:00
Krystal Mo
415eda1274 8003585: strength reduce or eliminate range checks for power-of-two sized arrays
Change ((x & m) u<= m) to always true and ((x & (m - 1)) u< m) into (m > 0)

Reviewed-by: kvn, roland
2016-01-19 14:52:33 +01:00
Pavel Punegov
d26d6fa3ef 8144239: [TESTBUG] InlineCommandTest.java: unknown compiler level 0 for commpile ID: 651
Add Xbatch to make compilation block test thread.

Reviewed-by: kvn
2016-02-01 19:45:26 +03:00
Tobias Hartmann
9e2947c3c6 Merge 2016-01-29 08:47:18 +01:00
Igor Ignatyev
ffbb39518c 8148012: get rid of slash-dot-dot in @library directives
Reviewed-by: dholmes, dfazunen, cjplummer
2016-01-29 03:11:16 +03:00
Erik Helin
4651887649 Merge 2016-01-18 19:10:32 +01:00
Roland Westrelin
b6658d2b5f 8146999: hotspot/test/compiler/c2/8007294/Test8007294.java test nightly failure
Uncast() fails with CheckCastPP

Reviewed-by: kvn, thartmann
2016-01-18 21:34:28 +01:00
Erik Helin
ed65d938e5 8146985: Change output directory for hotspot's jtreg tests
Reviewed-by: erikj, mikael
2016-01-18 17:12:34 +01:00
Kirill Zhaldybin
bbe36d6b8f 8132717: Add tests checking that instances of j.l.Classes of a large size are allocated as Humongous
Reviewed-by: jmasa, dfazunen
2016-01-13 20:26:54 +03:00
Kirill Zhaldybin
459ed3c70a 8132720: Add tests which checks that Humongous objects are not moved after Full GC
Reviewed-by: jmasa, dfazunen
2016-01-13 20:19:15 +03:00
Poonam Bajaj
a167832da8 Merge 2016-01-15 18:34:35 +00:00
Poonam Bajaj
1987611067 Merge 2016-01-15 17:40:03 +00:00
Erik Helin
b910aaf967 Merge 2016-01-15 17:36:47 +01:00
Poonam Bajaj
33104c61ae 8072725: Provide more granular levels for GC verification
Add option VerifySubSet to selectively verify the memory sub-systems

Reviewed-by: kevinw, jmasa, tschatzl, dfazunen
2016-01-15 06:27:35 -08:00
Dmitry Fazunenko
dcf563b6a6 8147075: Rename old GC JTreg tests to the new naming scheme
Test/gc/7072527, test/gc/6845368, test/gc/6581734 renamed

Reviewed-by: jwilhelm, pliden
2016-01-15 16:03:46 +04:00
Marcus Larsson
0173335479 8147079: Add serviceability/logging folder to hotspot_serviceability test group
Reviewed-by: jbachorik, sspitsyn
2016-01-14 16:03:03 +01:00
Jesper Wilhelmsson
d767b421ea Merge 2016-01-14 17:40:57 +00:00
Jesper Wilhelmsson
54d0181916 Merge 2016-01-14 17:36:29 +01:00
Erik Helin
7401022e64 8146871: Make the clean target silent in hotspot/test/Makefile
Reviewed-by: erikj, mikael
2016-01-14 14:32:16 +01:00
Alexander Kulyakhtin
f8b5f55021 8130063: Refactoring tmtools jstat and jstack tests to jtreg
Some of the jstat and jstack tests refactored to be run with the jtreg

Reviewed-by: jbachorik
2016-01-14 15:35:21 +03:00
Dmitry Fazunenko
380897b206 8146889: Update @requires expression for GC tests to run if GC is default
Reviewed-by: tschatzl, jwilhelm
2016-01-12 21:17:13 +04:00
Rachel Protacio
f4555ca41f 8144953: runtime/CommandLine/TraceExceptionsTest.java fails when exception is thrown in compiled code
Added long-form logging message to three places in code, allowing TraceExceptionsTest.java to pass with compiled code.

Reviewed-by: dholmes, coleenp, lfoltan
2016-01-12 12:35:08 -05:00
Tobias Hartmann
ca56200977 6675699: need comprehensive fix for unconstrained ConvI2L with narrowed type
Emit CastII to make narrow ConvI2L dependent on the corresponding range check.

Reviewed-by: kvn, roland
2016-01-18 08:40:25 +01:00
Tobias Hartmann
01a4b31e78 8144212: JDK 9 b93 breaks Apache Lucene due to compact strings
String compress/inflate intrinsics need to capture char and byte memory.

Reviewed-by: aph, roland, kvn
2016-01-18 08:34:14 +01:00
Tobias Hartmann
90ac004ff6 8147444: compiler/jsr292/NonInlinedCall/RedefineTest.java fails with NullPointerException in ClassFileInstaller
Removed installing of unused class. Added error output to ClassFileInstaller.

Reviewed-by: vlivanov, zmajo
2016-01-18 08:25:26 +01:00
Vladimir Ivanov
28046ae321 8140001: _allocateInstance intrinsic does not throw InstantiationException for abstract classes and interfaces
Reviewed-by: kvn, shade
2016-01-15 21:56:40 +03:00
Pavel Punegov
4b3b8b4f59 8145025: compiler/compilercontrol/commandfile/CompileOnlyTest.java and compiler/compilercontrol/commands/CompileOnlyTest.java fail: java.lang.RuntimeException:
Fix incorrect compileonly setting

Reviewed-by: kvn, neliasso
2016-01-15 16:36:43 +03:00
Nils Eliasson
48b6051ee7 8145331: SEGV in DirectivesStack::release(DirectiveSet*)
GetDefaultDirective was not updated in 8144873

Reviewed-by: twisti, kvn
2016-01-14 13:24:03 +01:00
Zoltan Majo
ee1e047269 8071864: compiler/c2/6772683/InterruptedTest.java failed in nightly
Increase the amount of time the main thread waits for the worker thread.

Reviewed-by: kvn
2016-01-14 09:30:31 +01:00
Jaroslav Bachorik
8a4f6e9b21 8146620: CodelistTest.java fails with "Test failed on: jdk.internal.misc.Unsafe.getUnsafe()Ljdk/internal/misc/Unsafe;"
Reviewed-by: sla
2016-01-12 11:11:21 +01:00
Roland Westrelin
3b0e147813 8146792: Predicate moved after partial peel may lead to broken graph
Partial peel can leave a pinned node between predicates and loop and prevent some loop predication

Reviewed-by: kvn
2016-01-11 16:02:42 +01:00
Zoltan Majo
dfa6539a6a 8086053: Address inconsistencies regarding ZeroTLAB
Add zero-initialization to C1 for fast TLAB refills; strenghten C2 conditions for skipping zero-initialization.

Reviewed-by: kvn, thartmann
2016-01-12 09:19:09 +01:00
Christian Thalinger
a0861106e3 Merge 2016-01-11 17:11:57 -08:00
Ron Durbin
00f6aa5a7c 8135198: Add -XX:VMOptionsFile support to JAVA_TOOL_OPTIONS and _JAVA_OPTIONS
Reviewed-by: dcubed, ddmitriev, ahgross, gthornbr, coleenp
2016-01-08 15:38:08 -08:00
Coleen Phillimore
7442fce79d Merge 2016-01-08 12:56:16 +00:00
Joseph Provino
9288ff53e7 Merge 2016-01-07 21:10:28 +00:00
Rachel Protacio
6dac872d4d 8141564: Convert TraceItables and PrintVtables to Unified Logging
The former -XX:+TraceItables and +PrintVtables flags have been converted to UL options -Xlog:itables=trace and vtables=trace

Reviewed-by: acorn, coleenp, dholmes
2016-01-07 13:53:20 -05:00
Tobias Hartmann
543fcb3a25 Merge 2016-01-06 08:02:23 +01:00
Doug Simon
c1d5c540ac 8146001: Remove support for command line options from JVMCI
Reviewed-by: twisti
2016-01-05 10:57:15 -10:00
Sangheon Kim
87f0463ced 8145000: TestOptionsWithRanges.java failure for XX:+UseNUMA -XX:+UseNUMAInterleaving -XX:NUMAInterleaveGranularity=65536
Add protect_pages_individually() to protect memory per chunk on Windows

Reviewed-by: jwilhelm, tbenson
2016-01-05 10:41:56 -08:00
Yumin Qi
fab3e53ec1 8145093: [TESTBUG] Remove test skip code for Solaris SPARC in runtime/SharedArchiveFile/SharedBaseAddress.java
The test failed(see bug 8044600) once on sparc platform which never reproduced thereafter, remove the skip.

Reviewed-by: hseigel, iklam, gtriantafill
2016-01-05 10:36:34 -08:00
Sangheon Kim
7479dffbc6 8144527: NewSizeThreadIncrease would make an overflow
Revert to previous value if NewSizeThreadIncrease related calculation overflows

Reviewed-by: jwilhelm, mgerdin, mchernov
2016-01-05 17:05:13 -08:00
Max Ockner
73c45490a2 Merge 2016-01-06 14:54:24 +00:00
Max Ockner
28c6b5ad89 8146485: Add test for Unified Logging classresolve tag
Test has been added for Unified Logging classresolve tag.

Reviewed-by: coleenp, gtriantafill
2016-01-06 09:39:55 -05:00
Joseph Provino
7a673ca72d Merge 2016-01-06 02:32:13 +00:00
Rachel Protacio
9ab99c633d 8146481: Disable runtime/logging/DefaultMethodsTest.java
@ignore'd DefaultMethodsTest.java

Reviewed-by: gtriantafill, coleenp, hseigel
2016-01-05 18:23:14 +00:00
Marcus Larsson
5e5def838e 8144220: UL does not support full path names for log files on windows
Reviewed-by: sla, mgronlun
2016-01-04 11:31:42 +01:00
Rachel Protacio
dbab9fe1f8 8145606: [TESTBUG] MonitorInflationTest.java should be rewritten to be more predictable
Logging/MonitorInflationTest.java now forced an object inflation and looks for that object. It no longer tests for object deflation.

Reviewed-by: gtriantafill, coleenp, iklam
2015-12-23 17:12:04 -05:00
Max Ockner
88f4fdeddc Merge 2015-12-23 20:14:25 +00:00
Max Ockner
de7d9e821c 8144874: Reimplement TraceClassResolution with Unified Logging
TraceClassResolution reimplemented with classresolve tag.

Reviewed-by: coleenp, dholmes, iklam, rprotacio
2015-12-23 15:05:38 -05:00
Harold Seigel
f42b84bc7e 8042660: vm/mlvm/anonloader/stress/byteMutation failed with: assert(index >=0 && index < _length) failed: symbol index overflow
Detect zero length signatures and throw ClassFormatError before bad dereference occurs

Reviewed-by: coleenp, lfoltan, acorn, gtriantafill
2015-12-23 13:02:15 -05:00
Rachel Protacio
7973ef05b3 8141211: Convert TraceExceptions to Unified Logging
The -XX:+TraceExceptions flag has been updated to the unified logging framework, i.e. -Xlog:exceptions. The old flag, because it is product-level, has been aliased to the UL option.

Reviewed-by: dholmes, coleenp, mockner
2015-12-22 16:29:48 -05:00
Kishor Kharbas
790f5bded4 8143925: Enhancing CounterMode.crypt() for AES
Add intrinsic for CounterMode.crypt() to leverage the parallel nature of AES in Counter(CTR) Mode.

Reviewed-by: kvn, ascarpino
2015-12-28 23:11:01 -08:00
Igor Ignatyev
e227bbc9da 8146205: quarantine compiler/jvmci/compilerToVM/ExecuteInstalledCodeTest.java
Reviewed-by: kvn
2015-12-25 03:27:06 +03:00
Christian Thalinger
e4b9b7a178 Merge 2015-12-24 17:21:09 +01:00
Andrew Haley
cee2a179e6 8143072: [JVMCI] Port JVMCI to AArch64
Reviewed-by: gdub, rschatz, twisti, kvn
2015-12-23 20:19:42 -10:00
Christian Thalinger
bc04deac15 8146043: run JVMCI tests in JPRT
Reviewed-by: iklam, ctornqvi, collins
2015-12-23 16:24:19 -08:00
Christian Thalinger
ffa21cb2b2 8146100: compiler/jvmci/code/SimpleCodeInstallationTest.java JUnit Failure: expected:<12> but was:<109710641>
Reviewed-by: kvn
2015-12-23 11:36:46 -10:00
Igor Ignatyev
2c62b9355d 8146129: quarantine compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java
Reviewed-by: twisti
2015-12-23 23:08:16 +03:00
Kirill Zhaldybin
772ddb7a4f 8132723: Add tests which check that soft references to humongous objects should work correctly
8132724: Add tests which check that weak references to humongous objects should work correctly

Reviewed-by: jmasa, dfazunen
2015-12-17 16:46:41 +03:00
Rachel Protacio
07af24b8ac 8145445: [TESTBUG] runtime/logging tests need to properly build and import libraries
Adds the proper @build and import lines to the jtreg tests in the runtime/logging directory.

Reviewed-by: iklam, hseigel
2015-12-18 14:30:13 -05:00
Thomas Schatzl
8c13cfe16c Merge 2015-12-18 13:38:49 +00:00
Thomas Schatzl
7806389bef 8145534: TestRemsetLogging.java takes a long time
Improve the test and test settings to decrease the time it takes.

Reviewed-by: brutisso, jmasa, dfazunen
2015-12-18 11:30:29 +01:00
Frederic Parain
07bec70d26 8145317: ReservedStackTest fails with ReentrantLock looks corrupted
Reviewed-by: acorn, dcubed
2015-12-18 11:04:59 +01:00
Rachel Protacio
17f5c68ebe 8145629: Disable test/runtime/logging/MonitorInflationTest.java
@ignore-ed logging/MonitorInflationTest.java

Reviewed-by: hseigel, ctornqvi
2015-12-17 11:18:22 -05:00
Michail Chernov
a4844cbbc3 8148745: [testbug] Test gc/g1/plab/TestPLABPromotion.java fails in nightly
Reviewed-by: tschatzl, dfazunen
2016-02-08 18:54:09 +03:00
Kirill Zhaldybin
3591c7bf38 8149364: Quarantine TestSelectDefaultGC.java test
Reviewed-by: dfazunen, jwilhelm
2016-02-08 18:01:48 +03:00
Alexander Kulyakhtin
990924fe41 8147847: [TESTBUG] serviceability/tmtools/jstat test ported to JTREG are failing with -XX:+ExplicitGCInvokesConcurrent
Fixed the test scenarios to eliminate false failures

Reviewed-by: jbachorik
2016-02-08 14:50:54 +03:00
Harold Seigel
b2ab041bf5 8148785: Update class file version to 53 for JDK-9
Change max supported class file version to 53

Reviewed-by: alanb, coleenp, shade
2016-02-05 08:14:08 -05:00
Kirill Zhaldybin
5c9133fb92 8132721: Add tests which check that heap counters work as expected during Humongous allocations
Reviewed-by: jmasa, tschatzl, dfazunen
2016-02-02 18:06:14 +03:00
Bengt Rutisson
5f51924702 8148960: Humongous mis-spelled in log output
Reviewed-by: huntch, jwilhelm
2016-02-03 18:18:00 +01:00
Jesper Wilhelmsson
99dab03752 Merge 2016-02-04 00:53:31 +01:00
Christian Tornqvist
2cabd2fca3 8148747: [TESTBUG] runtime/Unsafe/AllocateMemory.java fails with OOM during compilation
Reviewed-by: coleenp, gtriantafill
2016-02-03 13:42:29 -08:00
Max Ockner
ce74c2fa3c Merge 2016-02-03 18:16:54 +01:00
Max Ockner
9cab990401 8079408: Reimplement TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData with Unified Logging
TraceClassLoading,  TraceClassUnloading, and TraceClassLoaderData have been reimplemented using Unified logging.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: iklam, coleenp, dholmes, jiangli, hseigel, rprotacio
2016-02-03 11:40:30 -05:00
Dmitry Fazunenko
15287614fd 8147003: Move BubbleUpRef test into CMS directory
Closed test gc/4950157/BubbleUpRef.java moved to gc/cms/TestBubbleUpRef.java

Reviewed-by: jwilhelm, brutisso
2016-02-03 20:07:30 +04:00
Jesper Wilhelmsson
40c4fe8573 Merge 2016-02-03 01:35:25 +01:00
Bengt Rutisson
249db6c26a Merge 2016-02-02 13:06:40 +00:00
Bengt Rutisson
0e9273e8a7 8148733: G1: Add log message to print the heap region size
Reviewed-by: sjohanss, david
2016-02-02 12:12:17 +01:00
David Holmes
69088591f9 8148766: Test AvailableProcessors.java got wrong number of processors
Reviewed-by: dsamersoff, tschatzl, mseledtsov
2016-02-02 05:38:33 -05:00
Ioi Lam
ce1bdba7c7 8145620: Disable compiler/floatingpoint/ModNaN.java
Reviewed-by: dholmes, coleenp
2015-12-16 19:30:10 -08:00
Roland Schatz
af94163551 8144704: [JVMCI] add tests for simple code installation
Reviewed-by: twisti
2015-12-15 16:55:24 +01:00
Christian Thalinger
9e981ee107 Merge 2015-12-18 12:39:02 -08:00
Roland Westrelin
6961dea52a 8139771: Eliminating CastPP nodes at Phis when they all come from a unique input may cause crash
Lost dependency when CastPP at Phis are eliminate

Reviewed-by: kvn
2015-12-11 16:57:08 +01:00
Alexander Smundak
74f0500a47 8073139: PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
Set LIBARCH to ppc64le, make SA and hsdis work, have os.arch return ppc64le on PowerPC64 LE

Co-authored-by: Andrew Hughes <gnu.andrew@redhat.com>
Reviewed-by: dholmes, ihse
2015-12-13 22:32:16 -05:00
Dmitry Dmitriev
2c980f2f84 8142874: [TESTBUG] OptionsValidation testing framework needs to handle VM error codes in some cases
Reviewed-by: gtriantafill, stsmirno, ctornqvi, gziemski
2015-12-12 21:23:20 +03:00
Frederic Parain
ef800bd53f 8046936: JEP 270: Reserved Stack Areas for Critical Sections
Reviewed-by: acorn, dcubed
2015-12-11 09:07:07 -08:00
Bengt Rutisson
ffeb0bdad0 8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david.

Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
Christian Tornqvist
a39fa54251 8015396: double a%b returns NaN for some (a,b) (|a| < inf, |b|>0)
Reviewed-by: coleenp, gtriantafill
2015-12-10 09:42:22 -08:00
Nils Eliasson
8c0ad215bc 8144246: adding lots of directives via jcmd may produce OOM crash
Add a limit to the number of directives

Reviewed-by: kvn
2015-12-16 15:38:28 +01:00
Dmitrij Pochepko
e699dcb655 8141351: Create tests for direct invoke instructions testing
Tests for invoke* instructions

Reviewed-by: twisti
2015-12-16 18:38:02 +03:00
Alexander Vorobyev
1a135175c4 8079667: port vm/compiler/AESIntrinsics/CheckIntrinsics into jtreg
Reviewed-by: kvn
2015-12-15 17:31:18 +03:00
Coleen Phillimore
682603831d Merge 2015-12-15 16:01:53 +00:00
Rachel Protacio
a74243c302 8145153: Convert TraceMonitorInflation to Unified Logging
Updated -XX:+TraceMonitorInflation flag to -Xlog:monitorinflation=debug, with an alias (and related alias table) to support the old option.

Reviewed-by: dholmes, mockner, coleenp
2015-12-11 14:58:20 -05:00
Kirill Zhaldybin
f238510a5a 8143933: Create testlibrary for auxiliary methods used in g1/humongousObjects testing
Reviewed-by: iignatyev, dfazunen
2015-12-10 20:14:00 +03:00
Goetz Lindenmaier
6f27a97d77 8144466: ppc64: fix argument passing through opto stubs
Reviewed-by: kvn
2015-12-07 15:42:47 +01:00
Vladimir Ivanov
1a4c3a752d 8145137: Incorrect call signature can be used in nmethod::preserve_callee_argument_oops
Reviewed-by: roland, jrose
2015-12-11 15:03:11 +03:00
Vladimir Ivanov
e56a7de478 8145026: compiler/jsr292/NonInlinedCall/RedefineTest.java fails with: java.lang.NullPointerException in ClassFileInstaller.main
Reviewed-by: roland
2015-12-10 14:51:54 +03:00
Paul Sandoz
4d4c7ad974 8143628: Fork sun.misc.Unsafe and jdk.internal.misc.Unsafe native method tables
Reviewed-by: shade, dholmes, alanb, chegar, mchung, roland
2015-12-09 14:54:40 +01:00
Pavel Punegov
a1bb5b8456 8144933: CompilerControl: commandfile/ExcludeTest has incorrect jtreg run innotation
Fix incorrect full test name

Reviewed-by: kvn
2015-12-09 00:30:32 +03:00
Pavel Punegov
555dd24642 8140667: CompilerControl: tests incorrectly set states for excluded methods
Fix exclude command generation

Reviewed-by: kvn
2015-12-09 00:33:30 +03:00
Paul Sandoz
73acd18275 8144223: Move j.l.invoke.{ForceInline, DontInline, Stable} to jdk.internal.vm.annotation package
Reviewed-by: jrose, vlivanov, mchung, roland
2015-12-03 11:18:34 +01:00
Roland Westrelin
7925eb298b 8134883: C1 hard crash in range check elimination in Nashorn test262parallel
C1's range check elimination breaks with a non-natural loop that has an exception handler as one entry

Reviewed-by: iveresov
2015-12-02 15:13:42 +01:00
Roland Westrelin
b97ff269d0 8143930: C1 LinearScan asserts when compiling two back-to-back CompareAndSwapLongs
Refactor CAS code to decrease register pressure in c1

Reviewed-by: kvn, shade
2015-12-01 12:17:18 +01:00
Vladimir Ivanov
d60a09e9c5 8072008: Emit direct call instead of linkTo* for recursive indy/MH.invoke* calls
Reviewed-by: jrose, dlong, aph, forax
2015-12-04 23:46:19 +03:00
Andreas Eriksson
c64b2175e7 6869327: Add new C2 flag to keep safepoints in counted loops
Reviewed-by: kvn, shade
2015-12-04 14:06:38 +01:00
Alejandro Murillo
4f54e303f3 Merge 2015-12-03 22:30:17 -08:00
Christian Thalinger
a676faba28 8144529: [JVMCI] compiler/jvmci/errors/TestInvalidCompilationResult.java fails to compile after JDK-8143730
Reviewed-by: kvn
2015-12-02 14:59:57 -10:00
Lana Steuck
9e317be494 Merge 2015-12-02 10:19:14 -08:00
Dmitry Dmitriev
0aa333b8d0 Merge 2016-01-29 18:17:44 +00:00
Dmitry Dmitriev
adfab35d68 8147477: com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java is failing for the jdk9/hs snapshot control job
Reviewed-by: gtriantafill, gziemski, dcubed, coleenp
2016-01-29 16:03:21 +03:00
Dmitry Fazunenko
ed48b11dbf 8134963: [Newtest] New stress test for changing the coarseness level of G1 remembered set
Reviewed-by: tschatzl, mchernov
2016-01-29 16:17:05 +04:00
Igor Ignatyev
2c54bcb248 Merge 2016-01-29 12:30:00 +00:00
David Holmes
1875f65a54 6515172: Runtime.availableProcessors() ignores Linux taskset command
Extract processor count from sched_getaffinity mask

Reviewed-by: dcubed, stuefe, gthornbr
2016-01-29 05:32:12 -05:00
Alexander Kulyakhtin
17b9e0a7aa 8147447: serviceability/tmtools/jstack/WaitNotifyThreadTest.java test fails
Corrected verification of the jstack object references

Reviewed-by: sla
2016-01-28 14:58:57 +03:00
Bengt Rutisson
31ca2b7010 8145180: Add back PrintGC, PrintGCDetails and -Xloggc
Reviewed-by: sjohanss, david
2016-01-28 10:04:35 +01:00
David Lindholm
4b4e700628 Merge 2016-01-28 02:30:57 +01:00
Coleen Phillimore
0dc7d4dfa2 Merge 2016-01-27 16:34:47 +00:00
Rachel Protacio
469ae3ecc7 8146137: runtime/logging/ExceptionsTest.java fails on embedded and ARM test
Removed part of ExceptionsTest.java looking for exception that is not printed when function is compiled on embedded/ARM

Reviewed-by: coleenp, dholmes
2016-01-27 11:12:25 -05:00
Michail Chernov
6b3dc2210d 8141278: New tests for PLAB testing
Reviewed-by: tschatzl
2016-01-27 18:22:25 +03:00
David Lindholm
afc61182cc 8147940: Test gc/g1/TestG1TraceEagerReclaimHumongousObjects.java fails
Reviewed-by: mgerdin, jwilhelm
2016-01-27 16:12:05 +01:00
Rachel Protacio
6ee07f50c8 8146435: [TESTBUG] Logging tests are failing intermittently on windows when executed by JPRT
Improved robustness of UL tests by removing reliance on "java -version" and replacing with explicit code to trigger logging in all environments

Reviewed-by: dholmes, iklam, mockner
2016-01-21 12:11:20 -05:00
Alexander Kulyakhtin
b0a724f03d 8147609: [TESTBUG] Correct the @build statements in the serviceability/dcmd/gc/HeapDumpAllTest.java and HeapDumpTest.java tests
Corrected the @build statements

Reviewed-by: jbachorik
2016-01-19 19:19:51 +03:00
Jesper Wilhelmsson
c7a51854d9 Merge 2015-11-30 19:38:51 +01:00
Iris Clark
5793ec1b6a Merge 2015-11-29 20:29:32 -08:00
Jesper Wilhelmsson
1d7f54e2f3 Merge 2015-11-27 18:35:43 +01:00
Marcus Larsson
f6b238ccda 8142952: Unified Logging framework does not allow multiple -Xlog: arguments
Reviewed-by: brutisso, sla
2015-11-27 12:37:38 +01:00
Christian Thalinger
875865b60c Merge 2015-11-26 02:09:46 +01:00
Pavel Punegov
8f2fb74418 8143308: Add inline checks and tests
Fix inlining state creation

Reviewed-by: twisti
2015-11-26 03:05:19 +03:00
Andrew Haley
87662ee432 8144028: Use AArch64 bit-test instructions in C2
Reviewed-by: kvn
2015-11-25 18:13:13 +00:00
Nils Eliasson
2a7b97807e Merge 2015-12-01 19:18:56 +01:00
Jon Masamitsu
023320f726 8145027: Exclude NUMAInterleaveGranularity from TestOptionsWithRanges.java
Reviewed-by: jwilhelm, ddmitriev
2015-12-09 12:35:09 -08:00
Cheleswer Sahu
ae7369442a 8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
Reviewed-by: dholmes, sla
2015-12-09 15:31:25 +05:30
Jesper Wilhelmsson
9ff100e114 Merge 2015-12-07 21:03:56 +00:00
Joseph Provino
1b75e851aa Merge 2015-12-07 17:04:42 +00:00
Sangheon Kim
da8bf041ac 8142341: GC: current flags need ranges to be implemented
Add explicit ranges and constraint for all gc flags

Reviewed-by: jwilhelm, gziemski, ddmitriev, tbenson
2015-12-04 15:24:14 -08:00
Tatiana Pivovarova
7a2d307eb3 8143966: JEP 233: Generate Run-Time Compiler Tests Automatically
Co-authored-by: Anton Ivanov <anton.ivanov@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: Konstantin Shefov <konstantin.shefov@oracle.com>
Co-authored-by: Leonid Mesnik <leonid.mesnik@oracle.com>
Co-authored-by: Pavel Punegov <pavel.punegov@oracle.com>
Reviewed-by: iveresov, vlivanov
2015-11-25 02:17:31 +03:00
Tatiana Pivovarova
c17490ef7b 8144053: [TESTBUG] CompilerToVM::getStackTraceElementTest : unexpected line number for abstract or native method (assert failed: 0 < -1)
Reviewed-by: iignatyev, twisti
2015-11-25 20:30:28 +03:00
Dmitrij Pochepko
ad8dfcdf38 8139384: [TESTBUG] JVMCI test fails with java.lang.RuntimeException: a 100_000 times invoked method should be mature
A test was redesigned to track xcomp and tiered states

Reviewed-by: twisti
2015-11-24 22:59:50 +03:00
Pavel Punegov
5e051287af 8142967: [TESTBUG] Compiler control tests get NullPointerException
Fix incoorect build jtreg tags

Reviewed-by: iignatyev, neliasso
2015-11-24 21:03:39 +03:00
Pavel Punegov
0f008d2194 8142385: [Testbug] RandomCommandsTest fails with error: Could not parse method pattern
Fix CompileCommand output processing

Reviewed-by: kvn, iignatyev, neliasso
2015-11-24 20:58:53 +03:00
Pavel Punegov
06c9ee5a1c 8138993: JEP-JDK-8046155: Test task: add check for Compiler.directives_print diagnostic command
Test Compiler.directive_print command

Reviewed-by: iignatyev, neliasso
2015-11-24 20:55:46 +03:00
Pavel Punegov
faa5a2381c 8066156: JEP-JDK-8046155: Test task: stress by dcmd
Stress dcmd tests that add directives

Reviewed-by: iignatyev, neliasso
2015-11-24 20:52:15 +03:00
Pavel Punegov
38c7096e4e 8066154: JEP-JDK-8046155: Test task: huge directive file
Stress tests for directive parser

Reviewed-by: iignatyev, neliasso
2015-11-24 16:58:20 +03:00
Iris Clark
eb6fab9412 Merge 2015-11-20 12:22:41 -08:00
Gerald Thornbrugh
d56280ca10 8141445: Use of Solaris/SPARC M7 libadimalloc.so can generate unknown signal in hs_err file
Add libadimalloc.so SIGSEGV defines and a test to validate the correct message is printed in the hs_err file

Reviewed-by: dcubed, dholmes
2015-11-18 09:32:52 -08:00
Yumin Qi
581c251007 8087223: InterfaceMethod CP entry pointing to a class should cause ICCE
Check constantTag for class constant data consistency at method resolution

Reviewed-by: coleenp, vlivanov
2015-11-17 15:14:29 -08:00
Iris Clark
2e24972c63 Merge 2015-11-16 17:10:04 -08:00
Tatiana Pivovarova
98bc340162 8138815: improve tests CompilerToVM::getStackTraceElement
Reviewed-by: kvn
2015-11-16 19:21:35 +03:00
Nils Eliasson
a51ff63df7 Merge 2015-11-24 10:30:23 +01:00
Ahmed Khawaja
e28d9ba105 8143012: CRC32 Intrinsics support on SPARC
Reviewed-by: kvn, roland
2015-11-20 08:29:10 -08:00
Volker Simonis
350b04eab2 8141551: C2 can not handle returns with inccompatible interface arrays
Reviewed-by: kvn
2015-11-16 14:19:10 +01:00
Jaroslav Bachorik
a4123e4dfd Merge 2015-12-04 16:19:09 +00:00
Dmitry Dmitriev
343aae742f 8144629: runtime/thread/Fibonacci.java test should ran in othervm mode
Reviewed-by: ctornqvi
2015-12-04 13:39:59 +03:00
Coleen Phillimore
8929fdddb8 Merge 2015-12-04 04:29:31 +00:00
Max Ockner
c6b57e4c8c Merge 2015-12-03 19:35:18 +00:00
Rachel Protacio
0d75e3c8cd 8144536: Clean up Unified Logging test directory
Consolidated two logging options' tests into one file each

Reviewed-by: dholmes, ctornqvi
2015-12-03 13:08:37 -05:00
Max Ockner
a3d8114b45 8142976: Reimplement TraceClassInitialization with Unified Logging
TraceClassInitialization logging reimplemented with Unified Logging.

Reviewed-by: coleenp, hseigel
2015-12-02 14:07:58 -05:00
Dmitry Fazunenko
57b477e21a 8016752: [Newtest] regression test for PrintGCDetails and Verbose flags do not crash when ParOldGC has no memory
New regression test for parallel GC

Co-authored-by: Andrey Zakharov <andrey.x.zakharov@oracle.com>
Reviewed-by: brutisso, tschatzl
2015-11-26 14:19:29 +04:00
Jesper Wilhelmsson
40f65439e2 Merge 2015-12-01 21:08:00 +01:00
Dmitry Dmitriev
884a2b65f2 8144084: [TESTBUG] 1.9 section not unlock flag in runtime/CommandLine/IgnoreUnrecognizedVMOptions test
Reviewed-by: dholmes
2015-11-30 10:09:01 +03:00
Joseph Provino
539395ffbf Merge 2015-11-11 23:47:41 +00:00
Christian Tornqvist
f02593b51a 8142502: [TESTBUG] Exclude runtime/ErrorHandling/SecondaryErrorTest.java on OSX until JDK-8139300 has been resolved
Reviewed-by: hseigel, mseledtsov, minqi
2015-11-11 11:47:20 -08:00
Jaroslav Bachorik
b577a431bd 8141526: Allow to collect stdout/stderr from the FinalizationRunner even before the process returns
Reviewed-by: dsamersoff
2015-11-06 14:34:06 +01:00
Nils Eliasson
3307d0f163 Merge 2015-11-06 11:34:03 +01:00
Jesper Wilhelmsson
1a5787d42e Merge 2015-11-05 19:31:57 +01:00
David Holmes
3904de571b 8139300: Internal Error (vm/utilities/debug.cpp:399), # Error: ShouldNotReachHere()
Reviewed-by: simonis, dcubed
2015-11-16 18:50:55 -05:00
Stefan Johansson
6983acfb5f 8139424: SIGSEGV, Problematic frame: # V [libjvm.so+0xd0c0cc] void InstanceKlass::oop_oop_iterate_oop_maps_specialized<true,oopDesc*,MarkAndPushClosure>
The crash was caused by a faulty eager humongous reclaim. The reason for reclaiming a live object was that the call to cleanupHRRS was done after dirtying cards and clearing the remembered sets for the humongous object. This could lead to one or many cards being missed.

Reviewed-by: tbenson, kbarrett, tschatzl
2015-11-13 09:28:53 +01:00
Alejandro Murillo
c573c1777e 8139986: Store debug level in java.vm.debug and conditionally print in "java -version"
Reviewed-by: ihse, dcubed, ksrini, dholmes
2015-11-04 11:00:29 -08:00
Christian Thalinger
a38ea495d6 8139170: JVMCI refresh
Reviewed-by: kvn
2015-11-04 07:23:23 -10:00
Pavel Punegov
b03077878d 8141129: 3 compiler control tests fail on product builds
UnlockDiagnosticVMOptions should be placed before the PrintAssembly

Reviewed-by: kvn
2015-11-03 18:42:40 +03:00
Tatiana Pivovarova
25bd94edfe 8138809: improve tests for CompilerToVM::hasCompiledCodeForOSR
Reviewed-by: kvn
2015-11-03 20:12:47 +03:00
Tobias Hartmann
7af927f9c1 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:41:03 +01:00
Iris Clark
8fe1b0faab Merge 2015-11-02 09:11:55 -08:00
Andrew Haley
4e24e2cc6c 8079459: JCK test api/java_nio/ByteBuffer/index.html#GetPutXXX start failing after JDK-8026049
NextPutIndex used where nextGetIndex is correct.

Reviewed-by: alanb
2015-11-02 12:34:27 +00:00
Pavel Punegov
d64b0e82b2 8140776: CompilerControl: Remove UTF-16 from the tests
Remove UTF-16 from the generation until the failure reason isn't found

Reviewed-by: iignatyev
2015-10-29 21:31:47 +03:00
Igor Ignatyev
7a6c42b823 Merge 2015-10-29 10:56:58 +00:00
Zoltan Majo
c04398f782 8138651: -XX:DisableIntrinsic matches intrinsics overly eagerly
Improve parsing of DisableIntrinsic flag.

Reviewed-by: kvn, shade, neliasso
2015-10-29 09:24:00 +01:00
Pavel Punegov
9290f65010 8140668: Quarantine RandomValidCommandsTest
8140669: Quarantine ClearDirectivesFileStackTest

Quarantine two tests

Reviewed-by: iignatyev, neliasso, kvn
2015-10-29 01:16:56 +03:00
Gerard Ziemski
684ae3fa6e 8140539: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
Add back "-XX:+IgnoreUnrecognizedVMOptions" that was removed in a prototype.

Reviewed-by: dcubed, ddmitriev
2015-10-28 09:09:55 -05:00
Dmitry Dmitriev
81fe39a539 8139900: [TESTBUG] Remove G1UpdateBufferSize and InitialBootClassLoaderMetaspaceSize from TestOptionsWithRanges
Reviewed-by: gziemski, sangheki, ctornqvi
2015-10-27 14:33:29 +03:00
Kim Barrett
2e45726df1 8141654: Tests missing -XX:+UnlockDiagnosticVMOptions
Add missing unlock options.

Reviewed-by: brutisso, tschatzl
2015-11-09 11:50:15 -05:00
Thomas Schatzl
c88884045d Merge 2015-11-10 20:39:29 +00:00
Harold Seigel
3756d55ee6 8139164: JVM should throw ClassFormatError for non-void methods named <clinit>
If method being parsed is named <clinit>, throw ClassFormatError if it is not void or has arguments, for class file version >= 51.

Reviewed-by: acorn, lfoltan
2015-11-10 08:42:53 -05:00
Thomas Schatzl
00a7b7ded2 8140585: PLAB statistics are flushed too late
Move the call to G1EvacStats::adjust_desired_plab_sz() to after flushing the per-thread statistics.

Reviewed-by: mgerdin, jmasa
2015-11-10 09:29:40 +01:00
Stanislav Smirnov
0064189ab6 8130255: [TESTBUG] closed/runtime/4784641/CheckedIsSameObjectTest fails when running 32-bit ARM binaries on 64-bit ARM hosts
Rewrote test in Java with a number of changes

Reviewed-by: ctornqvi, gtriantafill, ddmitriev
2015-11-09 15:19:59 +03:00
Christian Tornqvist
fbac3a147e 8141533: [TESTBUG] Add @ignore to runtime/CompressedOops/UseCompressedOops.java until JDK-8079353 has been resolved
Reviewed-by: gtriantafill, stsmirno, hseigel
2015-11-06 09:58:06 -08:00
Chris Plummer
0e8c32889f 8141489: [TESTBUG] requiredVersion in TEST.ROOT needs to updated to 4.1 b12
Updated requiredVersion to 4.1 b12

Reviewed-by: dholmes, sla, darcy
2015-11-04 23:45:21 -08:00
Andreas Eriksson
96ec5c84ba 8134030: test/serviceability/dcmd/gc/HeapDumpTest fails to verify the dump
Reviewed-by: dholmes
2015-11-05 11:42:42 +01:00
Rachel Protacio
e54bd838f9 8140348: Convert TraceSafepoint to Unified Logging
The former -XX:+TraceSafepoint flag is updated to the unified logging framework and is now replaced with -Xlog:safepoint in product mode.

Reviewed-by: coleenp, hseigel
2015-11-04 14:32:51 -05:00
Dmitrij Pochepko
df5a5904ce 8141331: Test hotspot/compiler/oracle/MethodMatcher.java fails with NPE
Reviewed-by: iignatyev
2015-11-04 00:59:44 +03:00
Iris Clark
514eb6fd77 Merge 2015-10-25 19:38:20 -07:00
Igor Ignatyev
8cb3dad077 Merge 2015-10-28 16:01:45 +00:00
Zoltan Majo
d8c5daffb0 8139907: compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java fails with timeout
Change MontgomeryMultiplyTest.java test to execute only on platforms on which the tested intrinsics are available.

Reviewed-by: kvn, neliasso
2015-10-28 15:15:59 +01:00
Pavel Punegov
1c3f45d213 8066158: JEP-JDK-8046155: Test task: directive parser
Check directive file parser with correct and incorrect files

Reviewed-by: kvn
2015-10-28 16:38:30 +03:00
Pavel Punegov
c95fc22507 8140453: compiler control test failed with RuntimeException: CompileCommand: nonexistent missing
Replace incorrect check for validity of method pattern with full command check

Reviewed-by: kvn
2015-10-28 16:26:42 +03:00
Pavel Punegov
2abe5caf98 8140350: compiler control tests fail with compiled: true, but should: false on required level: 1
Replace isMethodCompiled with isMethodCompilable with particular level

Reviewed-by: kvn
2015-10-28 16:00:54 +03:00
Dean Long
206767c0a2 Merge 2015-10-27 01:45:01 -04:00
Dean Long
374baee57f Merge 2015-10-21 18:34:36 -04:00
Dean Long
42c3dcab55 8140267: assert(is_native_ptr || alias_type->adr_type() == TypeOopPtr::BOTTOM || alias_type->field() != __null || alias_type->element() != __null) failed: field, array element or unknown
Back out 8136473

Reviewed-by: twisti
2015-10-21 18:05:45 -04:00
Nils Eliasson
3ee545ab1d 8140240: Missing test files in CompilerControl tests
Add missing files

Reviewed-by: kvn, neliasso
2015-10-21 19:31:23 +02:00
Pavel Punegov
169541f4f9 8066166: JEP-JDK-8046155: Test task: dcmd tests
Tests for diagnostic command in CompilerControl

Reviewed-by: kvn
2015-10-20 21:12:25 +03:00
Pavel Punegov
0ea5332014 8066153: JEP-JDK-8046155: Test task: cover existing
Tests for CompilerCommand and CompilerControl's directives

Reviewed-by: kvn
2015-10-20 21:09:57 +03:00
Nils Eliasson
5a5faf94bf 8137167: JEP165: Compiler Control: Implementation task
Compiler Control JEP

Reviewed-by: roland, twisti, zmajo, simonis
2015-10-20 18:07:28 +02:00
Joseph Provino
db5f26110b Merge 2015-10-20 11:17:19 -04:00
Bengt Rutisson
7f319f0c67 8139868: CMSScavengeBeforeRemark broken after JDK-8134953
Reviewed-by: sjohanss, jwilhelm
2015-10-20 14:00:00 +02:00
Alejandro Murillo
cfbb592424 Merge 2015-10-19 12:30:17 -07:00
Karen Kinnear
d63f180edb 8098557: Only init superintf if subclass, not sub interface inits
Must exclude jck lang exec05001m311_rt until fixed.

Reviewed-by: lfoltan, hseigel, dholmes
2015-11-25 09:08:51 -05:00
David Lindholm
8608ecb702 Merge 2015-11-25 11:45:26 +00:00
Rachel Protacio
d2e0eb79a8 8143155: Remove TraceRuntimeCalls, TraceJNICalls, and TraceJVMCalls rather than convert to UL
Removed TraceRuntimeCalls, TraceJNICalls, and TraceJVMCalls options because their output is excessive, not useful, and covered in a more useful way by other options.

Reviewed-by: coleenp, dholmes, ddmitriev
2015-11-24 11:40:18 -05:00
Dmitry Dmitriev
7171a533ff Merge 2015-11-24 20:01:45 +00:00
Dmitry Dmitriev
0b12fb83d2 Merge 2015-11-24 13:58:08 +00:00
David Lindholm
f6343b0f69 8143587: G1 crashes with humongous object of size that almost fills a heap region
Reviewed-by: mgerdin, brutisso
2015-11-24 14:03:42 +01:00
Chris Hegarty
e09cadb438 8140687: Move @Contended to the jdk.internal.vm.annotation package
Reviewed-by: alanb, dholmes, psandoz, shade
2015-11-24 11:49:44 +00:00
Dmitry Dmitriev
7b9d2f1453 8143038: [TESTBUG] TestOptionsWithRanges: allow excluding only a subset of tested values specified for a flag
Reviewed-by: gziemski, ctornqvi
2015-11-24 09:42:05 +03:00
David Holmes
fed841e5af Merge 2015-11-24 06:37:12 +00:00
Coleen Phillimore
99cba80808 Merge 2015-11-24 02:54:54 +00:00
David Holmes
274653d406 8143836: [TESTBUG] runtime/CommandLine/IgnoreUnrecognizedVMOptions fails in jdk9/dev
Reviewed-by: coleenp, hseigel
2015-11-23 21:05:43 -05:00
Rachel Protacio
c67974cf0f 8143157: Convert TraceVMOperation to Unified Logging
The former -XX:+TraceVMOperation flag is updated to the unified logging framework and is now replaced with -Xlog:vmoperation in product mode.

Reviewed-by: coleenp, dholmes, mockner
2015-11-23 16:16:46 -05:00
Coleen Phillimore
8b93afb3a2 Merge 2015-11-23 21:00:25 +00:00
Gerard Ziemski
a138de1354 8141706: [TESTBUG] Update tests failing due to changed behavior
Add UnlockDiagnosticVMOptions as appropriate.

Reviewed-by: kvn, dholmes
2015-11-20 11:57:33 -06:00
Stanislav Smirnov
8d94626bb3 8133416: [TESTBUG] Remove @ignore for closed/runtime/4345157/Prog.java
Rewrote test in Java with a number of improvements and conditional exclusion using make file

Reviewed-by: dholmes, ctornqvi, ddmitriev
2015-11-20 09:44:16 -05:00
Coleen Phillimore
0e66856774 Merge 2015-11-11 23:51:57 -05:00
Rachel Protacio
5386656677 8142437: SafepointTest.java is occasionally failing in JPRT
A method compilation causing a specific log message to print has been removed because it was not always being compiled.

Reviewed-by: coleenp, dholmes
2015-11-11 18:04:33 -05:00
Dean Long
344a9becee Merge 2015-10-17 19:40:30 -04:00
Roland Westrelin
096fa934a8 8136473: failed: no mismatched stores, except on raw memory: StoreB StoreI
Mismatched stores on same slice possible with Unsafe.Put*Unaligned methods

Reviewed-by: kvn, thartmann
2015-10-16 16:53:02 +02:00
Igor Ignatyev
c1408bb0c8 8139707: [TESTBUG] Quarantine unstable compiler/jvmci tests
Reviewed-by: twisti
2015-10-16 02:05:54 +03:00
Igor Ignatyev
f102784437 8138794: [TESTBUG] ctw tests fail to compile after 8137056
Reviewed-by: dlong, kvn
2015-10-16 01:15:08 +03:00
Konstantin Shefov
a4cb6b3eb4 8072369: [TESTBUG] Remove potentially insecure class cast in some hotspot tests
Reviewed-by: twisti, kvn, iignatyev, tpivovarova
2015-10-15 18:00:00 +03:00
Coleen Phillimore
e8e182c0e7 Merge 2015-10-16 00:01:49 +00:00
Daniel D. Daugherty
9d0fadc788 Merge 2015-10-15 19:17:08 +00:00
Gerard Ziemski
22838597ea 8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing
JEP 245: implement ranges and constraints for runtime flags.

Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: coleenp, ddmitriev, jiangli, goetz
2015-10-15 13:34:21 -05:00
Daniel D. Daugherty
2559482886 8136552: Last argument wins does not work for special options with "-XX:VMOptionsFile" option
Match_special_option_and_act() should insert_vm_options_file() earlier and process the inserted options right away to honor "last option wins" semantics.

Reviewed-by: dcubed, coleenp
2015-10-15 10:00:30 -07:00
Jaroslav Bachorik
7b389d3533 8135188: RunFinalizationTest.java Exception java.lang.Error: Test failure: Object was not finalized
Reviewed-by: dcubed, martin
2015-10-15 17:35:42 +02:00
Jesper Wilhelmsson
7078962b9c Merge 2015-10-15 13:28:22 +02:00
Dmitrij Pochepko
72de147944 8139438: [TESTBUG] JVMCI test fails with RuntimeException: Has no virtual object before materialization
Reviewed-by: iignatyev, twisti
2015-10-15 02:46:51 +03:00
Tatiana Pivovarova
d3ad64d9d6 8139375: [TESTBUG] compiler/jvmci/SecurityRestrictionsTest checks are too tight
Reviewed-by: twisti, iignatyev
2015-10-15 01:58:28 +03:00
Chris Hegarty
ca4787d77b 8139891: Prepare Unsafe for true encapsulation
Reviewed-by: alanb, dholmes, jrose, psandoz, twisti
2015-10-27 14:18:56 +00:00
Harold Seigel
df9b5759f7 8139069: JVM should throw ClassFormatError for <init> methods in interfaces
If method being parsed is in an interface, throw ClassFormatError if its name is "<init>"

Reviewed-by: acorn, lfoltan
2015-10-14 13:30:47 -04:00
Alejandro Murillo
ed18f94d21 Merge 2016-04-18 15:39:46 -07:00
Chris Hegarty
00f6a09302 8137058: Clear out all non-Critical APIs from sun.reflect
Reviewed-by: alanb, jfranck, mchung
2016-04-15 16:19:15 +01:00
Igor Ignatyev
815be268ee 8139376: [TESTBUG] ExecuteInstalledCodeTest should be run only on amd64 and sparcv9
Reviewed-by: twisti, kvn
2015-10-13 16:21:25 +03:00
Thomas Schatzl
261e7583ab 8069330: Adjustment of concurrent refinement thresholds does not take hot card cache into account
Measure HCC processing time separately and remove that time from the calculation of the refinement thresholds. HCC processing time is still taken into account for general pause time predictions.

Reviewed-by: tbenson, jmasa
2015-10-13 14:49:13 +02:00
Gerard Ziemski
f84561609b 8129855: "-XX:+IgnoreUnrecognizedVMOptions" hides out of range VM options
Implement strict spec rgarding how IgnoreUnrecognizedVMOptions works, supplied with the corresponding test case.

Reviewed-by: dcubed, ddmitriev
2015-10-23 11:17:23 -05:00
Erik Helin
cc35d905ff 8139256: Add Makefile target to run internal VM tests
Reviewed-by: ihse, erikj
2015-10-21 13:41:27 +02:00
Christian Tornqvist
de06de1d7b 8140243: [TESTBUG] Exclude compiler/jvmci/compilerToVM/GetConstantPoolTest.java
Reviewed-by: gtriantafill, kvn
2015-10-21 09:47:23 -07:00
Eric Caspole
f235a51ed0 Merge 2015-10-20 22:35:46 +00:00
Eric Caspole
4e060cfa31 8060017: G1: Report heap sizing time
Report heap expansion time done on VM thread after collection. Previously this was included in "Other" time.

Reviewed-by: mgerdin, tschatzl
2015-10-20 14:01:49 -04:00
Chris Hegarty
1a83e59745 8138978: Examine usages of sun.misc.IOUtils
Reviewed-by: alanb, mullan, psandoz, rriggs, weijun
2015-10-09 14:21:33 +01:00
Iris Clark
20e02506e9 Merge 2015-10-05 20:55:38 -07:00
Sangheon Kim
b112b31e5b 8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
Add ranges and constraint functions for GC flags.

Reviewed-by: kbarrett, jmasa, jwilhelm, gziemski, zmajo
2015-10-05 14:56:19 -07:00
Tobias Hartmann
039050a9f7 8142303: C2 compilation fails with "bad AD file"
Move range checks into intrinsics for String methods.

Reviewed-by: kvn, aph
2015-11-27 09:36:46 +01:00
Igor Ignatyev
462756ad41 Merge 2015-10-08 01:04:29 +00:00
George Triantafillou
1ba9657a1c 8134432: [TESTBUG] Rewrite test/runtime/6888954/vmerrors.sh in Java
Reviewed-by: ddmitriev, ctornqvi, coleenp
2015-10-07 11:37:46 -04:00
Kirill Zhaldybin
bb35c2390c 8138958: Quarantine gc/g1/mixedgc/TestLogging.java test
Reviewed-by: brutisso, iignatyev
2015-10-07 18:02:25 +03:00
Jesper Wilhelmsson
e75e2e04f7 Merge 2015-10-07 01:03:24 +02:00
Max Ockner
27d1c05648 8138917: Back out change for 8130681
Change 8130681 has been backed out.

Reviewed-by: coleenp, gtriantafill
2015-10-06 14:27:39 -04:00
Ioi Lam
af9ada0eb2 8078295: hotspot test_env.sh can set VM_CPU incorrectly
Use sed script to filter out irrelevant parts of -Xinternalversion

Reviewed-by: dlong, dcubed, dsamersoff
2015-10-05 13:25:01 -07:00
Felix Yang
12cba200a3 8138583: aarch64: add support for vectorizing fabs/fneg
Reviewed-by: aph, roland
2015-09-30 04:35:39 -04:00
Iris Clark
34406f46c6 Merge 2015-09-29 17:57:55 -07:00
Zoltan Majo
fc2a5e9d53 8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
Add range check or constraint where necessary.

Reviewed-by: roland, thartmann
2015-10-09 14:21:26 +02:00
Christian Thalinger
16526e000e 8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 12:49:30 -10:00
Tobias Hartmann
b9bf98abb2 8139048: Quarantine compiler/startup/SmallCodeCacheStartup.java
Quarantine the test because it fails on JPRT for the CPU, CompactStrings and JVMCI repositories.

Reviewed-by: roland
2015-10-08 08:54:57 +02:00
Daniel D. Daugherty
65ce4b6e05 Merge 2015-10-02 16:48:31 +00:00
Dmitry Dmitriev
1ea2276afe 8138769: [TESTBUG] restore lost line from JDK-8137105 fix
Reviewed-by: dcubed, rdurbin
2015-10-02 09:04:10 -07:00
Christian Tornqvist
23adedf153 8137194: Exclude runtime/memory/RunUnitTestsConcurrently.java from JPRT
Reviewed-by: coleenp
2015-10-02 06:06:22 -07:00
Daniel D. Daugherty
88dfd18385 Merge 2015-10-02 11:58:41 +00:00
Daniel D. Daugherty
017ac63fe8 8137105: [TESTBUG] Add test cases for VM Options file feature with removed file size limit
Update TestVMOptionsFile.java to match fix for 8135195; other minor cleanups.

Reviewed-by: dcubed, rdurbin
2015-10-01 13:43:23 -07:00
Rachel Protacio
8e010a0c32 8138574: [TESTBUG] TestBasicLogOutput.java doesn't account for padding
TestBasicLogOutput.java edited to account for padding in tag descriptors

Reviewed-by: ddmitriev, hseigel, coleenp
2015-10-01 15:14:15 -04:00
Bengt Rutisson
d3651ac249 8136991: [REDO] Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Reviewed-by: kbarrett, tschatzl
2015-09-28 09:28:53 +02:00
Kirill Zhaldybin
a85d13c8ec 8136398: Create test that checks that G1 MixedGC produces correct output to logfile
Added test that checks that G1 MixedGC produces correct output to logfile

Reviewed-by: tschatzl
2015-09-24 18:48:50 +03:00
Dmitry Samersoff
82b6d632f4 Merge 2015-09-25 10:21:53 +02:00
Dmitry Samersoff
bab9b94863 8086134: Deadlock detection fails to attach to core file
Test reimplemented for jtreg

Reviewed-by: jbachorik
2015-09-24 20:39:55 +03:00
Max Ockner
8c6f4e578d 8130681: Kitchensink startup crashes JVM with NMT overlapping ranges
Add_committed_region now handles overlapping commits.

Reviewed-by: hseigel, coleenp
2015-09-24 11:26:30 -04:00
Marcus Larsson
3c2211a492 8046148: JEP 158: Unified JVM Logging
Reviewed-by: coleenp, sla
2015-09-24 12:36:04 +02:00
Dmitry Dmitriev
0835a6e311 8073331: [TESTBUG] Test for VM option file feature (VM options specified in file)
Reviewed-by: dcubed, gtriantafill, rdurbin
2015-09-23 22:04:23 +03:00
Ed Nevill
cb8cff7e6e 8135231: aarch64: add support for vectorizing double precision sqrt
Reviewed-by: roland, aph
2015-09-23 12:39:30 -04:00
Igor Veresov
74519e1e1a Merge 2015-09-25 12:04:35 -07:00
Iris Clark
56bda8e672 Merge 2015-09-21 20:08:38 -07:00
Jesper Wilhelmsson
7f7b300f89 Merge 2015-09-21 17:49:57 +02:00
Goetz Lindenmaier
dd76bcc4c2 8134579: [TESTBUG] Some bmi tests fail if can_access_local_variables is on
Others fail because of uncommon trap. Also fix test file names.

Reviewed-by: vlivanov
2015-09-18 13:41:24 +02:00
Nils Eliasson
0092880b1f 8141424: [Testbug] CompilerDirectivesDCMDTest.java testing flag that is missing in product builds
Test a flag that is in all builds instead

Reviewed-by: roland
2015-11-05 12:37:03 +01:00
Roland Westrelin
c18a26c573 8142386: Octane crashes with assert(is_Load())
Unsafe access to an array is wrongly marked as mismatched

Reviewed-by: vlivanov, thartmann
2015-11-17 12:00:16 +01:00
Nils Eliasson
36d1144c83 8143059: TestUnsafeUnalignedMismatchedAccesses doens't build after 8139891
Use new Unsafe import path

Reviewed-by: roland, thartmann, shade
2015-11-16 20:57:49 +01:00
Nils Eliasson
c2892b5dce Merge 2015-11-16 20:56:18 +01:00
Hui Shi
854b8d1ff1 8139758: [REDO] Elide more final field's write memory barrier with escape analysis result
Membar for all final field initializations eliminated if possible

Reviewed-by: roland, vlivanov
2015-11-16 16:14:15 +01:00
Zoltan Majo
5c32c8d2ab 8140327: segfault on solaris-amd64 with "-XX:CompilerThreadStackSize=1" option
Update range for the CompilerThreadStackSize flag. Remove flag from testing.

Reviewed-by: kvn
2015-11-16 09:42:20 +01:00
Nils Eliasson
2f9e32256d Merge 2015-11-13 13:31:48 +01:00
Roland Schatz
eee22b283d 8142387: Various JVMCI tests fail on unexpected exception
Reviewed-by: iignatyev, twisti
2015-11-12 13:30:35 +01:00
Tatiana Pivovarova
163e0435dc 8139388: [TESTBUG] JVMCI test failed with RuntimeException profiling info wasn't changed after 100 invocations (assert failed: BaseProfilingInfo<> != BaseProfilingInfo<>)
Reviewed-by: twisti
2015-11-10 21:09:49 +03:00
Tatiana Pivovarova
e0d743ff05 8138810: rework tests for CompilerToVM::allocateCompiledId
Reviewed-by: twisti
2015-11-11 15:04:15 +03:00
Aleksey Shipilev
ac09d8a135 8140650: Method::is_accessor should cover getters and setters for all types
Reviewed-by: vlivanov, coleenp, sgehwolf
2015-11-11 01:27:36 +03:00
Vladimir Kozlov
6ed8c23581 8141624: Limit calculation of pre loop during super word optimization is wrong
Reviewed-by: vlivanov, kvn
2015-11-10 21:36:35 -08:00
Roland Westrelin
45b3ce816a 8140309: [REDO] failed: no mismatched stores, except on raw memory: StoreB StoreI
Mismatched stores on same slice possible with Unsafe.Put*Unaligned methods

Reviewed-by: kvn, thartmann
2015-10-28 10:20:33 +01:00
Dmitrij Pochepko
8d1f664989 8141552: [TESTBUG] compiler/jvmci/events/JvmciNotifyInstallEventTest failed after jvmci refresh
Fixed test bug, which used same CompilationResult object instance in 2 installCode calls

Reviewed-by: iignatyev, twisti
2015-11-06 15:07:00 +03:00
Dmitrij Pochepko
38339b3fe9 8138689: use package for /compiler/whitebox common classes
Moved CompilerWhiteBoxTest to package, updating tests accordingly

Reviewed-by: iignatyev
2015-11-06 14:54:02 +03:00
Dmitrij Pochepko
48183cc207 8141353: Testlibrary: add various changes into testlibrary Utils
Added TEST_JDK, TEST_CLASSES properties and getMandatoryProperty method

Reviewed-by: iignatyev
2015-11-06 14:51:15 +03:00
Roland Schatz
26f02e4686 8139589: [JVMCI] throw exceptions in faulty code installation operations
Reviewed-by: twisti
2015-11-06 10:06:51 -10:00
Tobias Hartmann
7e827560be Merge 2015-11-06 08:45:13 +00:00
Tobias Hartmann
af2e00ae90 8140574: C2 must re-execute checks after deoptimizing from merged uncommon traps
Before merging uncommon traps we have to check for proper bci domination and compatible JVMStates to guarantee correct re-execution of the checks.

Reviewed-by: kvn, roland
2015-11-06 09:36:47 +01:00
Pavel Punegov
4af470b866 8066157: JEP-JDK-8046155: Test task: method matcher
MethodMatcher test and framework

Reviewed-by: iignatyev, neliasso
2015-09-24 20:13:04 +03:00
Kirill Zhaldybin
d0134f947f 8137020: [TESTBUG] Utils.runAndCheckException doesn't work well if no exception thrown
Changed handling a case when expected exception wasn't thrown

Reviewed-by: iignatyev
2015-09-24 18:24:10 +03:00
Roland Westrelin
92af9b015c 8136926: phi == NULL assert in PhaseIdealLoop::try_move_store_after_loop
Multiple phis on same slice are possible in a loop

Reviewed-by: kvn, mcberg
2015-09-22 15:25:34 +02:00
Zoltan Majo
a61a0cec2e 8136914: compiler/loopopts/superword/SumRedSqrt_Double.java times out
Change test to execute only on relevant (x86-based) platforms.

Reviewed-by: kvn, dlong
2015-09-22 13:42:09 +02:00
Dmitrij Pochepko
14ddfe02e0 8136718: [TESTBUG] introduce FileInstaller functionality
Reviewed-by: iignatyev
2015-09-19 12:04:38 +03:00
Tatiana Pivovarova
89e62a6274 8136693: add package statement 'compiler.testlibrary' to CompilerUtils
Reviewed-by: iignatyev
2015-09-19 12:03:36 +03:00
Nils Eliasson
5ca8983920 8135068: Extract method matchers from CompilerOracle
Ecapsulate code to enable reuse

Reviewed-by: roland, kvn
2015-09-18 10:11:11 +02:00
Igor Veresov
ff77d8762c Merge 2015-09-17 13:42:50 -07:00
Jesper Wilhelmsson
b1050ba777 Merge 2015-09-15 15:49:33 +02:00
Roland Westrelin
c55d212196 8136461: PhaseIdealLoop::try_move_store_before_loop() may bypass early loop exit
PhaseIdealLoop::try_move_store_before_loop() needs to check for early loop exit before candidate Stores

Reviewed-by: kvn
2015-09-15 13:08:43 +02:00
Iris Clark
190eb2d0fe Merge 2015-09-14 09:47:17 -07:00
Alexander Kulyakhtin
fb955a7eff 8134641: CodelistTest.java fails with sun.misc.Unsafe.getUnsafe
Excluding lines containing sun.misc.Unsafe.getUnsafe from the test input as getUnsafe is hidden from reflection

Reviewed-by: sla
2015-09-14 14:26:29 +03:00
Derek White
23813ce92e 8066821: Enhance command line processing to manage deprecating and obsoleting -XX command line arguments
Add support for alias options and automatically expiring deprecated options

Reviewed-by: dholmes, kbarrett, acorn
2015-09-11 15:31:03 -04:00
Kim Barrett
b78e96713b 8136627: Backout JDK-8133818 Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Reviewed-by: brutisso
2015-09-16 16:25:02 +02:00
Jesper Wilhelmsson
b0b89c5b41 Merge 2015-09-15 15:49:33 +02:00
Coleen Phillimore
46c2208620 Merge 2015-11-20 01:35:20 +00:00
Gerard Ziemski
97470c5146 8138983: Runtime: implement ranges for Shared*** flags
Implement ranges.

Reviewed-by: ddmitriev, dholmes, jiangli
2015-11-19 16:32:41 -06:00
Christian Tornqvist
c02b26ee45 8143324: Backout JDK-8087223
Reviewed-by: coleenp, acorn
2015-11-19 10:34:11 -08:00
Roland Westrelin
404fc5caa8 8134974: 8130847 broken with loop predicates
Pinned eliminated arraycopy loads in uncommon trap path for loop predicates may need to be moved

Reviewed-by: kvn
2015-09-08 19:19:08 +02:00
Roland Westrelin
8dd169a71f 8135069: C2 replaces range checks by unsigned comparison with -1
I < 0 || i > -1 wrongly folded as i >u -1

Reviewed-by: kvn
2015-09-11 16:56:56 +02:00
Kirill Zhaldybin
9f9739c156 8132980: Improve stability of whitebox methods getCodeBlob and freeCodeBlob
Added checks for negative and null size and address values (where applicable) for getCodeBlob, allocateCodeBlob and freeCodeBlob, added regression test

Reviewed-by: iignatyev
2015-09-11 16:11:07 +03:00
Jesper Wilhelmsson
1736e104a1 Merge 2015-09-08 16:10:37 +02:00
Igor Veresov
e88940fae6 Merge 2015-09-10 17:56:43 -07:00
Michael Berg
e75f5a5cde 8135028: support for vectorizing double precision sqrt
Reviewed-by: kvn, twisti
2015-09-09 10:34:17 -07:00
Ahmed Khawaja
d7b8032741 8132081: C2 support for Adler32 on SPARC
Add C2 instrinsic support for Adler32 checksum on SPARC.

Reviewed-by: kvn
2015-09-03 15:03:12 -07:00
Michail Chernov
6814a6121a 8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests
Reviewed-by: iignatyev, dfazunen
2015-09-01 21:38:07 +03:00
Dmitry Fazunenko
187c7c2b58 8132709: [TESTBUG] gc/g1/TestHumongousShrinkHeap.java might fail on embedded
Reviewed-by: tschatzl, jwilhelm
2015-09-07 21:30:45 +04:00
Jim Laskey
f763183615 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:12:08 -03:00
Thomas Schatzl
83e4800c47 8134857: Inconsistency in maximum TLAB/PLAB size and humongous object size
Align TLAB/PLAB size with exact humongous object size threshold, not that value -1.

Reviewed-by: jmasa, dfazunen
2015-09-04 08:36:13 +02:00
Mikhailo Seledtsov
1078a41a0f 8133180: [TESTBUG] runtime/SharedArchiveFile/SharedStrings.java failed with WhiteBox.class : no such file or directory
Removed ambiguity on where JarBuilder looks for classes

Reviewed-by: jiangli, ctornqvi, gtriantafill
2015-09-03 08:57:16 -07:00
Sangheon Kim
c091c7348a 8134972: [BACKOUT] GC: implement ranges (optionally constraints) for those flags that have them missing
Reviewed-by: jwilhelm
2015-09-02 17:49:46 -07:00
Y. Srinivas Ramakrishna
62ccb0305a 8133818: Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Test contributed by brutisso

Reviewed-by: tonyp, tschatzl
2015-09-02 11:56:10 +02:00
Sangheon Kim
cf5132e887 8078555: GC: implement ranges (optionally constraints) for those flags that have them missing
Add ranges and constraint functions for GC flags.

Reviewed-by: jmasa, kbarrett, gziemski, ddmitriev, drwhite
2015-08-31 11:51:29 -07:00
Dmitry Samersoff
6ed285af0a Merge 2015-08-31 21:46:33 +03:00
Roland Westrelin
ed9e8b9ff2 8134031: Incorrect JIT compilation of complex code with inlining and escape analysis
Bad rewiring of memory edges when we split unique types during EA

Reviewed-by: kvn
2015-08-31 17:20:08 +02:00
Roland Westrelin
7ef7c96fde 8134468: Lucene test failures with 32 bit JDK 9b78, Server compiler
Test that checks whether an array load falls into the range of an arraycopy is incorrect on 32bits

Reviewed-by: iveresov, kvn
2015-09-02 10:00:27 +02:00
Roland Westrelin
9dcbe322e0 8134288: compiler/runtime/6859338/Test6859338.java crashes in PhaseIdealLoop::try_move_store_after_loop
Store nodes may not have a control if used to update profiling

Reviewed-by: kvn
2015-08-26 12:43:15 +02:00
Roland Westrelin
8942ef410f 8134321: tools/pack200/Pack200Test.java crashes in the VM PIT jdk9 b79
Code that capture field values of eliminated allocation at a safepoint when there's an arraycopy behind a Phi is broken

Reviewed-by: kvn
2015-08-26 09:49:37 +02:00
Iris Clark
64668f532a Merge 2015-08-25 14:45:00 -07:00
Jiangli Zhou
9ee2b211f9 8131734: assert(!is_null(v)) failed: narrow klass value can never be zero with -Xshared:auto
Handle shared string mapping failures.

Co-authored-by: Tom Benson <tom.benson@oracle.com>
Reviewed-by: tschatzl, kbarrett, ddmitriev, hseigel
2015-08-25 17:22:56 -04:00
Igor Ignatyev
24ddd9ba7c Merge 2015-08-25 21:05:26 +02:00
Gerard Ziemski
e085f49adb 8134239: compiler/arguments/CheckCICompilerCount.java still fails
Compiler team updated the test by adding a new test case, but due to merging timing it was still using the old constraint error message format, which needed updating

Reviewed-by: ctornqvi, hseigel
2015-08-24 16:17:15 -05:00
Roland Westrelin
a9e232a8ef Merge 2015-08-21 09:12:42 +02:00
Roland Westrelin
33b2496286 Merge 2015-08-20 09:31:28 +02:00
Jesper Wilhelmsson
b2a4dbc30a 8130308: Too low memory usage in TestPromotionFromSurvivorToTenuredAfterMinorGC.java
Reviewed-by: dfazunen, brutisso
2015-08-18 17:32:10 +02:00
Roland Westrelin
b7b1b2778c 8131969: jit/FloatingPoint/gen_math/Loops05 assert(2 <= size && size <= 16) failed: update low bits table
Assert in register allocation code when vector Phi for a loop is processed because code assumes all inputs already processed

Reviewed-by: kvn
2015-08-18 16:10:34 +02:00
Iris Clark
0f1aea45ac Merge 2015-08-17 13:02:33 -07:00
Gerard Ziemski
a00b32c815 8133678: test fails due to 'CICompilerCount=0 must be at least 1' missing from stdout/stderr
We changed the constraint error message formatting for CICompilerCount, but forgot to change the corresponding test.

Reviewed-by: kbarrett, dcubed
2015-08-16 09:33:52 -05:00
Zoltan Majo
6d858b63cb Merge 2015-08-19 10:14:04 +02:00
Zoltan Majo
1e55e60cb1 8076373: In 32-bit VM interpreter and compiled code process NaN values differently
Change interpreter to use XMM registers on x86_32 if they are available. Add stubs for methods transforming from/to int/long float/double.

Reviewed-by: kvn, mcberg
2015-08-19 08:55:18 +02:00
Roland Westrelin
0baf2f7e8a 8130847: Cloned object's fields observed as null after C2 escape analysis
Eliminated instance/array written to by an array copy variant must be correctly initialized when reallocated at a deopt

Reviewed-by: kvn, vlivanov
2015-08-15 02:54:18 +02:00
Iris Clark
007ac18811 Merge 2015-08-10 19:58:56 -07:00
Dmitry Samersoff
7a36a80c84 Merge 2015-08-10 13:56:27 +03:00
Mikhailo Seledtsov
15b4d3eff9 8133222: [TESTBUG] Quarantine runtime/SharedArchiveFile/SharedStrings.java until the fix
Quarantined using at-ingore tag

Reviewed-by: dcubed
2015-08-07 17:14:26 -07:00
Kirill Zhaldybin
176e1beb01 8132708: Add tests for Humongous objects allocation threshold
Added the test which checks that Humongous objects allocation threshold works as expected

Reviewed-by: tschatzl, dfazunen
2015-08-07 17:58:01 +03:00
Vladimir Kozlov
e9b0eedbc7 8156480: Quarantine compiler/jvmci/compilerToVM/ReadUncompressedOopTest.java
Reviewed-by: dcubed
2016-05-06 15:41:08 -07:00
Karen Kinnear
7983a4235c 8087342: Crash in klassItable::initialize_itable_for_interface
Fix method searches to handle static, private instance and overpass

Reviewed-by: lfoltan, dholmes, hseigel
2015-08-06 13:02:15 -04:00
Rickard Bäckman
21f9e19316 Merge 2015-08-06 16:28:08 +00:00
Roland Westrelin
02ae6d2a31 Merge 2015-08-04 13:41:09 +02:00
Iris Clark
b9fcdd7472 Merge 2015-08-03 09:26:03 -07:00
Jiangli Zhou
747d91708c Merge 2015-07-31 16:00:26 -04:00
Mikhailo Seledtsov
824267a43a 8132214: [TESTBUG] Create basic shared strings test for CDS archive
Created new test

Reviewed-by: jiangli, ctornqvi
2015-07-31 10:33:02 -07:00
Jaroslav Bachorik
abd5c879c5 8129976: RunFinalizationTest.java times out frequently
Reviewed-by: sspitsyn
2015-07-31 15:36:19 +02:00
Jaroslav Bachorik
39aea4789c Merge 2015-07-31 12:13:57 +02:00
Yumin Qi
4895cfb3c0 Merge 2015-07-31 07:11:11 +00:00
Yumin Qi
bbe7bbd73a Merge 2015-07-31 06:13:13 +00:00
Dmitry Samersoff
f31a35e2ca Merge 2015-07-30 16:23:03 +00:00
Dmitry Samersoff
3b63ebf830 8059036: Implement Diagnostic Commands for heap and finalizerinfo
Implement Diagnostic Commands for heap and finalizerinfo

Reviewed-by: sla, plevart, mchung
2015-07-30 16:26:00 +03:00
Alexander Kulyakhtin
98fb52479f 8130527: Serviceability tests fails with Can't attach to process
A helper method changed to provide workaround for 8132539

Reviewed-by: jbachorik
2015-07-30 12:41:39 +03:00
Goetz Lindenmaier
fdbe749d2a 8132242: LogTouchedMethods (8025692) asserts if TieredCompilation is off
LogTouchedMethods causes the template interpreter to generate profiling code even if no compiler is used. If TieredCompilation is off, code containing an assertion that checks that UseCompiler is set, is reached. This assertion exists on the sparc and ppc platforms.

Reviewed-by: simonis, iklam, minqi
2015-07-29 15:08:42 -07:00
Roland Westrelin
96b004cd82 8080289: Intermediate writes in a loop not eliminated by optimizer
Move Stores out of loop (after or before) when possible

Reviewed-by: kvn, vlivanov
2015-07-29 17:25:04 +02:00
Zoltan Majo
422cd18f23 8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
Add a new method, sun.hotspot.WhiteBox.isIntrinsicAvailable, that can be used to determine if an intrinsic is available.

Reviewed-by: kvn, jrose
2015-07-28 19:20:42 +02:00
Sangheon Kim
a13fe250b0 8130459: Add additional validation after heap creation
Some PLAB related flags' validation can happen after heap creation. Introduced additional stage of validation check.

Reviewed-by: coleenp, dholmes, kbarrett, gziemski, ecaspole, ddmitriev
2015-07-27 13:56:26 -07:00
Michail Chernov
5ab1b7ce9d 8131343: Remove unused imports from hotspot/test/testlibrary/jdk/test/lib/*.java
Reviewed-by: dfazunen, tschatzl
2015-07-27 18:23:35 +03:00
Jaroslav Bachorik
cac68725c7 Merge 2015-07-24 20:45:07 +02:00
Coleen Phillimore
d7eb22156b Merge 2015-07-23 22:31:10 -04:00
Iris Clark
e17f5c6f06 Merge 2015-07-23 13:19:13 -07:00
Coleen Phillimore
77edd5baad 8087315: SIGBUS error in nsk/jvmti/RedefineClasses/StressRedefine
Need to get source_file_name from the_class's constant pool not previous version constant pool

Reviewed-by: dcubed, sspitsyn
2015-07-23 15:18:56 -04:00
Roland Westrelin
51ddedd5c7 Merge 2015-07-23 19:11:28 +02:00
Goetz Lindenmaier
c005ae3ec0 8130676: [TESTBUG] aix: Port CreateCoreDumpOnCrash added in 8078121
Reviewed-by: simonis, ctornqvi
2015-07-23 05:48:26 -07:00
Dmitry Samersoff
eb6ea8b585 Merge 2015-07-22 18:01:11 +00:00
Thomas Schatzl
cacfaec1d0 Merge 2015-07-22 16:46:36 +02:00
Goetz Lindenmaier
dbdadd5e40 8130434: [TESTBUG] Harden TestLargePageUseForAuxMemory for more page size combinations
Reviewed-by: tschatzl
2015-07-22 16:25:20 +02:00
Harold Seigel
9ba9e4aecb 8129895: New verifier fails to reject erroneous cast from int[] to other arrays of small integer types
Only allow assignability of arrays of primitive types if the types are identical

Reviewed-by: dholmes, gtriantafill
2015-07-22 08:00:38 -04:00
Dmitry Samersoff
13be3a4374 8129971: TestStackTrace.java: ArrayIndexOutOfBoundsException thrown by AARCH64ThreadContext.setRegister
Added missed AARCH64 register

Reviewed-by: jbachorik, ykantser
2015-07-22 13:55:15 +03:00
Daniel D. Daugherty
d7f565d9eb 8075171: Contended Locking fast notify bucket
JEP-143/JDK-8073165 Contended Locking fast notify bucket

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: dholmes, acorn, dice, dcubed
2015-07-21 07:28:37 -07:00
Roland Westrelin
ae7cdb5972 8130858: CICompilerCount=1 when tiered is off is not allowed any more
8122937 broke handling of CICompilerCount

Reviewed-by: kvn, vlivanov, gziemski
2015-07-27 13:44:07 +02:00
Iris Clark
63624c13ef Merge 2015-07-20 11:00:30 -07:00
Vladimir Kozlov
1e08e6133d Merge 2015-07-17 14:51:28 -07:00
Daniel D. Daugherty
6f19e14049 Merge 2015-07-16 10:22:08 -07:00
Yumin Qi
49a45882d9 Merge 2015-07-15 20:58:06 +00:00
Yumin Qi
6384ca7b1f 8025692: Log what methods are touched at run-time
Added two diagnostic flags, LogTouchedMethods and PrintTouchedMethodsAtExit to list all methods that have been touched at run time. Added new jcmd, VM.print_touched_methods.

Reviewed-by: acorn, iklam
2015-07-15 12:24:41 -07:00
Christian Tornqvist
ce283b1347 8080733: [TESTBUG] several runtime/ErrorHandling/* tests time out on Windows
Reviewed-by: coleenp, gtriantafill
2015-07-15 10:37:11 -07:00
Katja Kantserova
99e5ddaa45 8131325: Remove hprof agent tests in hotspot repo
Reviewed-by: dholmes
2015-07-14 16:28:53 +02:00
Katja Kantserova
055105c707 8130057: serviceability/sa/TestStackTrace.java should be quarantined
Reviewed-by: egahlin, jbachorik
2015-07-14 11:40:49 +02:00
Iris Clark
11dad5584b Merge 2015-07-13 13:23:31 -07:00
Vladimir Ivanov
92d8281194 8078629: VM should constant fold Unsafe.get*() loads from final fields
Reviewed-by: kvn, jrose, psandoz
2015-07-14 06:44:50 -07:00
Jaroslav Bachorik
794f1616f0 Merge 2015-07-10 16:37:41 +02:00
Daniel D. Daugherty
8dbfda6628 Merge 2015-07-09 14:35:13 -07:00
Harold Seigel
9d7677a83f 8130669: VM prohibits <clinit> methods with return values
Ignore <clinit> methods with return values instead of throwing ClassFormatError exceptions

Reviewed-by: acorn, iklam
2015-07-09 15:39:05 -04:00
Harold Seigel
00da567d15 8130183: InnerClasses: VM permits wrong inner_class_info_index value of zero
Throw ClassFormatError if InnerClasses attribute's inner_class_info_index is 0

Reviewed-by: acorn, lfoltan
2015-07-09 08:36:37 -04:00
Iris Clark
dcda221b0d Merge 2015-07-06 11:47:51 -07:00
Tobias Hartmann
62112b23c9 Merge 2015-07-01 09:15:34 +02:00
Tobias Hartmann
fba308328b 8129937: compiler/codecache/jmx/UsageThresholdIncreasedTest.java fails with "Usage threshold was hit"
Tests should not assume that usage of non-profiled code heap is predictable.

Reviewed-by: kvn, dpochepk
2015-07-01 09:07:10 +02:00
Iris Clark
6e8c4747fb Merge 2015-06-29 11:27:19 -07:00
Zoltan Majo
547a40e75a 8130120: Handling of SHA intrinsics inconsistent across platforms
Introduce common warning message and common processing of SHA intrinsic-related arguments.

Reviewed-by: kvn, mcberg
2015-07-03 09:33:04 +02:00
Zoltan Majo
9245cdc214 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:25:03 +02:00
Andrew Haley
917f70414f Merge 2015-07-02 11:12:59 +01:00
Vladimir Kozlov
e5f22567ab 8130008: compiler/codecache/jmx/UsageThresholdIncreasedTest.java should be quarantined
Reviewed-by: iveresov
2015-06-26 15:55:54 -07:00
Vladimir Kozlov
0b9dfebfa4 Merge 2015-06-25 09:48:50 -07:00
Jesper Wilhelmsson
d60d6fdf40 Merge 2015-06-24 13:38:01 +02:00
Thomas Schatzl
0d85af8161 Merge 2015-06-24 11:55:18 +02:00
Thomas Schatzl
b07602d640 8079208: gc/g1/TestLargePageUseForAuxMemory.java fails due to not considering page allocation granularity for setup
The test case needs to use the OS'es allocation granularity to properly determine the boundary values for the test.

Reviewed-by: dfazunen, jmasa, ecaspole
2015-06-24 09:42:45 +02:00
Stefan Johansson
f6a2109bab 8081607: Change default GC for server configurations to G1
For more info see JEP 248.

Reviewed-by: pliden, tschatzl
2015-06-24 08:37:12 +02:00
Dmitry Samersoff
f65b2271ab Merge 2015-06-23 11:00:32 +00:00
Dmitry Samersoff
fdabdd5f40 8081576: serviceability/sa tests fail due to LingeredApp process fails to start
Provide a API to corrctly terminate LingeredApp

Reviewed-by: sspitsyn
2015-06-23 12:35:21 +03:00
Aleksey Shipilev
cd81d2845d 8129332: Missing test case for JDK-8078438
Add the test case originally developed for JDK-8078438

Reviewed-by: tschatzl
2015-06-23 10:12:44 +02:00
Andrew Haley
52b991b411 8130150: Implement BigInteger.montgomeryMultiply intrinsic
Add montgomeryMultiply intrinsics

Reviewed-by: kvn
2015-06-16 17:31:53 +01:00
Sergei Kovalev
0141308dfa 8067163: Several JT_HS tests fails due to ClassNotFoundException on compacts
Reviewed-by: dholmes, vlivanov
2015-06-17 16:22:38 +03:00
James Cheng
e2533553f6 8073583: C2 support for CRC32C on SPARC
Reviewed-by: jrose, kvn
2015-06-29 00:10:01 -07:00
Magnus Ihse Bursie
23dd2e12b1 Merge 2015-06-12 08:32:43 +02:00
Magnus Ihse Bursie
bd5a1079fe 8085822: JEP 223: New Version-String Scheme (initial integration)
Co-authored-by: Alejandro E Murillo <alejandro.murillo@oracle.com>
Reviewed-by: erikj, dcubed, dholmes, alanb
2015-06-12 08:31:01 +02:00
Vladimir Ivanov
90a42c2491 8074551: GWT can be marked non-compilable due to deopt count pollution
Reviewed-by: kvn
2015-06-11 14:19:40 +03:00
Anthony Scarpino
c4c528df14 8073108: Use x86 and SPARC CPU instructions for GHASH acceleration
Reviewed-by: kvn, jrose
2015-06-17 17:48:25 -07:00
Leonid Mesnik
5b6281adb8 8079134: [TESTBUG] Remove applicable_*gc and needs_*gc groups from TEST.groups
Reviewed-by: mgerdin, drwhite
2015-06-09 15:03:10 +03:00
Coleen Phillimore
97f69e8b42 Merge 2015-06-19 13:03:58 +00:00
Thomas Schatzl
5084eb24d0 8078669: G1 applies SurvivorAlignmentInBytes to both survivor and old gen
After refactoring of the relevant code in JDK-8060025 the survivor alignment had been applied to any allocation within PLABs. Only do that for survivor allocations again. Improve the related tests to have less variance.

Reviewed-by: jmasa, fzhinkin
2015-06-19 11:27:07 +02:00
Dmitry Dmitriev
4875379a42 8072931: JEP-JDK-8059557: Test task: test framework development
Test set for JEP 245 Validate JVM Command-Line Flag Arguments

Reviewed-by: ctornqvi, dholmes, gziemski
2015-06-19 07:57:31 +03:00
Gerard Ziemski
ed2bb8c9fc 8122937: [JEP 245] Validate JVM Command-Line Flag Arguments
Validate the arguments to all JVM command-line flags so as to avoid crashes, and ensure that appropriate error messages are displayed when they are invalid.

Reviewed-by: ddmitriev, dholmes, kbarrett, drwhite, brutisso, coleenp
2015-06-18 14:39:38 -05:00
Harold Seigel
058dd16f78 8042041: https://bugs.openjdk.java.net/browse/JDK-8042041
Don't assert if class has a bad element_tag in an element_value structure of a RuntimeVisibleAnnotation attribute.  Instead, ignore the attribute.

Reviewed-by: acorn, gtriantafill
2015-06-18 08:44:28 -04:00
Andreas Eriksson
606468abc4 8076110: VM crash when class is redefined with Instrumentation.redefineClasses
Reviewed-by: coleenp, sspitsyn
2015-06-16 15:59:57 +02:00
Jesper Wilhelmsson
a347180ac5 Merge 2015-06-15 13:48:30 +02:00
Sergei Kovalev
518225447f 8078145: testlibrary_tests/RandomGeneratorTest.java failed with AssertionError : Unexpected random number sequence for mode: NO_SEED
Reviewed-by: iignatyev, vlivanov
2015-06-15 16:47:24 +03:00
Roland Westrelin
d7522fb084 8086046: escape analysis generates incorrect code as of B67
Load bypasses arraycopy that sets the value after the ArrayCopyNode is expanded

Reviewed-by: kvn
2015-06-12 14:10:17 +02:00
Katja Kantserova
811fa6e09f 8085813: The targeted processes in sun/tools tests should be launched with -XX:+UsePerfData flag in order to work on embedded platforms
Reviewed-by: sspitsyn
2015-06-08 12:54:05 +02:00
Jesper Wilhelmsson
393cf6b287 Merge 2015-06-09 16:48:55 +02:00
David Lindholm
5f5af54f95 8081382: Make flags ParallelGCThreads and ConcGCThreads of type uint
Reviewed-by: drwhite, stefank
2015-06-05 09:50:09 +02:00
Alejandro Murillo
c219f06861 Merge 2015-06-04 15:38:00 -07:00
Vladimir Kozlov
fcd7686431 Merge 2015-06-04 12:52:30 -07:00
Jesper Wilhelmsson
618a7e124a Merge 2015-06-04 14:19:51 +02:00
Jesper Wilhelmsson
63abaa2c2b Merge 2015-06-04 14:19:51 +02:00
Alexander Alexeev
252b1be912 8081790: aarch64: SHA tests fail
Fix SHA tests in JTReg so they recognize aarch64

Reviewed-by: duke
2015-06-03 08:23:09 +00:00
Yasumasa Suenaga
242ce54cc7 8072913: [REDO] GCCause should distinguish jcmd GC.run from System.gc()
GCCause which is caused by GC.run diagnostic command should be different from System.gc() .

Reviewed-by: jmasa, jwilhelm
2015-06-03 08:49:34 +09:00
Kim Barrett
30a72c7647 8076613: gc/TestSmallHeap.java failed with OOME
Disable test when compressed oops are disabled.

Reviewed-by: tschatzl, brutisso
2015-06-02 19:19:37 -04:00
Andreas Eriksson
f3f4608e09 8072588: JVM crashes in JNI if toString is declared as an interface method
Check for a valid itable index instead of checking if the holder is an interface

Reviewed-by: dsimms, dholmes
2015-06-02 10:41:18 +02:00
Roland Westrelin
81b0f156c8 8080976: Unexpected AIOOB thrown from 1.9.0-ea-b64 on (regression)
Loop variant use in reduction should prevent vectorization

Reviewed-by: kvn, mcberg
2015-05-29 16:09:16 +02:00
Tobias Hartmann
59f2a0f85f Merge 2015-05-29 12:49:31 +02:00
Katja Kantserova
742b1ff410 8081037: serviceability/sa/ tests time out on Windows
Reviewed-by: jbachorik, sla, dsamersoff
2015-05-27 14:13:20 +02:00
Alejandro Murillo
52c501dfb1 Merge 2015-06-02 09:15:32 -07:00
Alexander Alexeev
a1eb515812 8081669: aarch64: JTreg TestStable tests failing
Fix TestStable failures

Reviewed-by: vlivanov
2015-06-02 14:28:08 +00:00
Kirill Zhaldybin
5ee47e4f95 8134523: Humongous object test fails with OOME
Added Xms for runs with region' size 16M and 32M to prevent OOME

Reviewed-by: mgerdin, dfazunen
2015-09-09 15:14:05 +03:00
Jesper Wilhelmsson
30b987f6b7 Merge 2015-09-08 16:10:37 +02:00
Roland Westrelin
0296c2894b 8080699: Assert failed: Not a Java pointer in JCK test
Eliminated arraycopy node still reachable through exception edges

Reviewed-by: kvn
2015-05-22 09:14:18 +02:00
Tobias Hartmann
149c6327be Merge 2015-05-22 13:08:50 +02:00
Tobias Hartmann
14a1d71874 8080156: Integer.toString(int value) sometimes throws NPE
Added test to check correctness of type propagation to CmpUNodes.

Reviewed-by: kvn
2015-05-22 13:02:47 +02:00
Tobias Hartmann
068d5d78b1 Merge 2015-05-22 09:50:32 +02:00
Katja Kantserova
bd1a0cf8ec 8080855: Create sanity test for JDK-8080692
Reviewed-by: sla
2015-05-22 13:52:46 +02:00
Katja Kantserova
ab94a15b48 Merge 2015-05-22 08:53:46 +02:00
Katja Kantserova
a6ffb28ff8 8080828: Create sanity test for JDK-8080155
Reviewed-by: sla
2015-05-22 08:47:27 +02:00