Commit Graph

2607 Commits

Author SHA1 Message Date
Tobias Hartmann
3a358f4cff 8086057: Crash with "modified node is not on IGVN._worklist" when running with -XX:-SplitIfBlocks
Pre-loop Opaque1 node 'pre_opaq' should be put on the IGVN worklist after modification.

Reviewed-by: kvn
2016-04-25 10:53:42 +02:00
Tobias Hartmann
ebc384160f 8154763: Crash with "assert(RangeCheckElimination)" if RangeCheckElimination is disabled
Disable multiversioning if range check elimination is turned off.

Reviewed-by: mcberg, kvn
2016-04-25 10:51:44 +02:00
Alejandro Murillo
638bcd60aa Merge 2016-04-22 00:08:54 -07:00
Dmitry Samersoff
85deb5aa7e 8154258: [TESTBUG] Various serviceability tests fail compilation
Replace sun.misc.Unsafe with jdk.internal.misc.Unsafe

Reviewed-by: chegar, kvn
2016-05-01 12:47:00 +03:00
Max Ockner
da0fe9d476 8154110: Update class* and safepoint* logging subsystems
Refactored logging tags in class and safepoint subsystems.

Reviewed-by: coleenp, rehn, hseigel
2016-04-29 22:40:51 -04:00
Vladimir Ivanov
84d06ff2d0 Merge 2016-04-29 14:17:34 +03:00
Pavel Punegov
d417d4012a Merge 2016-04-29 03:02:43 +02:00
Vladimir Ivanov
72747f47fd Merge 2016-04-29 02:13:40 +03:00
Harold Seigel
d30adc68f2 8151342: Add module name/version to class histogram output
Add additional column to histogram containing module@version

Reviewed-by: sundar, gtriantafill
2016-04-28 13:44:36 -04:00
Kirill Zhaldybin
d423c99efc 8155527: New test TestHumongousClassLoader fails with "-XX:+ExplicitGCInvokesConcurrent" option
Reviewed-by: dfazunen, drwhite, jwilhelm
2016-04-28 16:55:04 +03:00
Pavel Punegov
9c04e65bda 8155034: [TESTBUG] ctw tests fail to compile: module reads package sun.reflect from both jdk.unsupported and java.base
Replace sun.reflect with jdk.internal.reflect

Reviewed-by: iignatyev, ddmitriev
2016-04-28 17:58:18 +03:00
Calvin Cheung
023aa74fc2 8154976: UseSharedSpaces error message is incomplete
Reviewed-by: cjplummer, jiangli, mseledtsov
2016-04-27 11:40:43 -07:00
Pavel Punegov
a1e8e87784 Merge 2016-04-26 18:54:37 +02:00
Kirill Zhaldybin
75d8a4b585 8155092: [TESTBUG] TestHumongousClassLoader.java needs UnlockDiagnosticVMOptions before WhiteBoxAPI
Reviewed-by: tschatzl, dfazunen
2016-04-26 16:50:34 +03:00
Rachel Protacio
09add35155 8152844: JVM InstanceKlass Methods For Obtaining Package/Module Should Be Moved to Klass
Converted package() and module() functions to pure virtual functions of Klass

Reviewed-by: dholmes, coleenp, lfoltan, hseigel
2016-04-26 09:08:12 -04:00
Dmitry Dmitriev
b788b49698 Merge 2016-04-26 11:49:37 +00:00
Alexander Kulyakhtin
7cf6a15162 8153992: Some hotspot tests fail on compact2 due to an unnecessary test library dependency
Removing unnecessary dependency on java.management from the ProcessTool.getProcessId()

Reviewed-by: mchung
2016-04-26 13:22:32 +03:00
Dmitry Fazunenko
5071cda359 Merge 2016-04-26 09:14:06 +00:00
Coleen Phillimore
de88e58a82 8154580: Save mirror in interpreter frame to enable cleanups of CLDClosure
GC walks the mirror using OopClosure rather than using CLDClosure in oops_interpreted_do()

Reviewed-by: dlong, twisti, stefank
2016-04-25 09:51:00 -04:00
Michail Chernov
0fc708181a 8154341: [TESTBUG] G1 stress test for humongous objects allocation
Reviewed-by: jwilhelm, dfazunen
2016-04-22 18:19:29 +03:00
Michail Chernov
4397d91642 8154759: [TESTBUG] GC tests should be changed to be able to execute with -Xlog:all=trace
Reviewed-by: jmasa, dfazunen
2016-04-22 17:49:15 +03:00
Michail Chernov
14a8adfd9f 8154843: GC tests should be correctly marked with @module
Reviewed-by: jwilhelm, dfazunen
2016-04-22 17:46:06 +03:00
Alejandro Murillo
f9426642c6 Merge 2016-04-22 01:04:00 -07:00
Bharadwaj Yadavalli
d1b219ba3c Merge 2016-04-21 20:11:40 +00:00
Bharadwaj Yadavalli
80a156e005 Merge 2016-04-21 15:59:07 -04:00
Kirill Zhaldybin
b15c8503ab 8132718: Add tests which check that when humongous classloader object becomes unreachable it and all classes that were loaded in it should be collected
Reviewed-by: jmasa, dfazunen
2016-04-21 17:55:14 +03:00
Kirill Zhaldybin
769aba784a 8153764: Add auxiliary method that generates class by class prototype to gc testlibrary
Reviewed-by: dfazunen, iignatyev
2016-04-21 18:01:10 +03:00
Tobias Hartmann
257c8ccafc 8086068: VM crashes with "-Xint -XX:+UseCompiler" options
Prevent incompatible compiler flag combination.

Reviewed-by: zmajo, kvn, ddmitriev
2016-04-21 10:52:00 +02:00
Roland Westrelin
794bbd1a36 8154537: AArch64: some integer rotate instructions are never emitted
Reviewed-by: aph, adinn, kvn
2016-04-19 19:52:39 -07:00
Mikhailo Seledtsov
c791bde668 8153549: [TESTBUG] remove obsolete runtime/SharedArchiveFile/BasicJarBuilder
Removed the obsolete file, after ensuring no other jdk components depend on it

Reviewed-by: iklam, lfoltan, hseigel, gtriantafill, ctornqvi
2016-04-19 15:11:23 -07:00
Bharadwaj Yadavalli
d61df5babe Merge 2016-04-19 15:26:59 -04:00
Jiangli Zhou
2d65e6174c 8154457: runtime/SharedArchiveFile/SharedStrings Shared string table stats missing
Added more information when print out message reporting disabling the shared strings at CDS dump time.

Reviewed-by: lfoltan, hseigel, mseledtsov, gtriantafill
2016-04-20 16:04:38 -04:00
Kirill Zhaldybin
c66b2de971 8138607: gc/g1/mixedgc/TestLogging.java - G1 Evacuation Pause missing from output
Reviewed-by: tschatzl, dfazunen
2016-04-19 19:13:18 +03:00
Kim Barrett
7ced38a6b5 Merge 2016-04-18 22:40:47 +02:00
Kim Barrett
3079c942b6 8133051: Concurrent refinement threads may be activated and deactivated at random
Establish min threshold step; earlier primary refinement thread activation.

Reviewed-by: tschatzl, drwhite, mgerdin, jmasa
2016-04-18 14:52:31 -04:00
Harold Seigel
33aa33f03a 8154268: [TESTBUG] Compilation of ExportAllUnnamed.java failed, missing @modules
Add missing @modules and @build tags

Reviewed-by: ctornqvi, lfoltan, gtriantafill
2016-04-18 13:42:52 -04:00
Anton Ivanov
6c95220480 8154174: Improve JitTester performance
Reviewed-by: iignatyev
2016-04-18 15:40:11 +03:00
Ioi Lam
6526d15d6e 8150607: Clean up CompactHashtable
Refactored code, and added test cases for serviceability agent

Reviewed-by: jiangli, ccheung
2016-04-17 19:15:52 -07:00
Jesper Wilhelmsson
633da50166 Merge 2016-04-15 17:17:58 +02:00
Daniel D. Daugherty
2e49c43a00 Merge 2016-04-14 20:43:16 -07:00
Alejandro Murillo
b3349ef0ea Merge 2016-04-14 19:55:39 -07:00
Daniel D. Daugherty
f6e4fcc556 Merge 2016-04-14 17:42:29 -07:00
Erik Joelsson
2710266ac2 8149777: Enable enhanced failure handler for "make test"
Reviewed-by: ihse
2016-04-14 15:13:42 +02:00
Michail Chernov
8c6cc265f6 8153222: [TESTBUG] Move tests in stress/gc to gc/stress
Reviewed-by: dfazunen, jwilhelm
2016-04-14 15:45:38 +03:00
Thomas Schatzl
2d6f4ee98f 8154141: [TESTBUG] test/gc/g1/TestRegionLivenessPrint.java misses -XX:+UnlockDiagnosticVMOption flag
Reviewed-by: dfazunen, jwilhelm
2016-04-14 10:57:09 +02:00
Dmitry Fazunenko
23da19a790 8153755: Improve test: stress/gc/TestStressRSetCoarsening.java
Reviewed-by: tschatzl, kzhaldyb
2016-04-13 19:55:40 +04:00
Nils Eliasson
90d0e9a566 8153013: BlockingCompilation test times out
Task has no invocation count and get stale at once

Reviewed-by: kvn, iveresov, twisti
2016-04-13 14:48:22 +02:00
Nils Eliasson
c8593eff81 8154151: VM crashes with assert "Ensure we don't compile before compilebroker init"
Drop compiles submitted with complevel_none

Reviewed-by: kvn
2016-04-18 11:30:10 +02:00
Alejandro Murillo
7ab9e3f794 8154028: Several hotspot tests need to be updated after 8153737 (Unsupported Module)
Reviewed-by: darcy, kvn
2016-04-11 20:38:38 -07:00
Alejandro Murillo
45b6e4a1ca Merge 2016-04-11 14:21:25 -07:00
Marcus Larsson
8b2f63bd2b 8146879: Add option for handling existing log files in UL
Reviewed-by: dsamersoff, gziemski, rehn
2016-04-11 12:22:09 +02:00
Chris Hegarty
b7075c2db9 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 23:03:39 +01:00
Bharadwaj Yadavalli
cecf2d83d5 Merge 2016-04-08 12:36:27 -04:00
Stefan Karlsson
cf254af2fb 8152491: Convert TracePageSizes to use UL
Reviewed-by: sjohanss, pliden
2016-04-12 07:17:44 +02:00
Stefan Karlsson
0f89b2e137 8153583: Make OutputAnalyzer.reportDiagnosticSummary public
Reviewed-by: brutisso, sjohanss
2016-04-11 08:51:53 +02:00
Max Ockner
ae7543e824 Merge 2016-04-12 02:30:13 +02:00
Max Ockner
da8b3bf9a7 Merge 2016-04-12 00:24:39 +02:00
Jesper Wilhelmsson
545a5175ca Merge 2016-04-11 20:38:50 +00:00
Max Ockner
cf540ad2af 8145704: Make test for classinit logging more robust
8145704: Make test for classinit logging more robust.

Reviewed-by: hseigel, gtriantafill
2016-04-11 16:10:41 -04:00
Jesper Wilhelmsson
2497c61bc6 Merge 2016-04-11 20:16:35 +02:00
Max Ockner
ac0824cbad 8152468: PrintMiscellaneous in constantPool should use classresolve logging
Some instances of PrintMiscellaneous have ben replaced by classresolve logging.

Reviewed-by: coleenp, rprotacio
2016-04-11 11:33:52 -04:00
Cheleswer Sahu
3a4f4362a6 8153319: new test serviceability/tmtools/jstack/JstackThreadTest.java fails
Reviewed-by: dsamersoff, lmesnik
2016-04-11 12:50:08 +00:00
Dmitry Samersoff
18ee0a135b Merge 2016-04-11 09:39:49 +00:00
Coleen Phillimore
6cec4d5047 Merge 2016-04-09 08:34:51 -04:00
Dmitry Samersoff
78a7d2c169 8152679: DeadlockDetectionTest.java fails due to expected output missing
Detect OS X and bailout

Reviewed-by: sspitsyn, tbell
2016-04-09 12:15:13 +03:00
Coleen Phillimore
e9a1251fb3 8033735: make Throwable.backtrace visible to Class.getDeclaredField again
Removed old hack to workaround an old crash.

Reviewed-by: hseigel, twisti, mchung
2016-04-08 19:39:32 -04:00
Per Lidén
67ed025379 8152989: serviceability/tmtools/jstat/GcCauseTest02.java fails with OOME
Reviewed-by: dsamersoff, sjohanss, dfazunen
2016-04-08 08:51:45 +02:00
Bharadwaj Yadavalli
1e6ac67ecf 8153816: [BACKOUT] Make intrinsics flags diagnostic
Backout fix for 8145348

Reviewed-by: kvn, jwilhelm
2016-04-08 01:00:10 -04:00
Coleen Phillimore
c66cf8bde7 Merge 2016-04-07 21:24:12 +00:00
Coleen Phillimore
0d3e7977ae 8151939: VM_Version_init() print buffer is too small
Increase buffer size, use logging to print out version and os information

Reviewed-by: kvn, rprotacio, mockner
2016-04-07 16:37:35 -04:00
Daniel D. Daugherty
4f3b1c9ed5 Merge 2016-04-07 12:54:48 -07:00
Rachel Protacio
02d268d760 8152896: Convert PrintCompressedOopsMode to Unified Logging
Converted -XX:+PrintCompressedOopsMode to -Xlog:gc+heap+coops and aliased old option

Reviewed-by: coleenp, sjohanss, kvn, hseigel
2016-04-07 13:11:15 -04:00
Daniel D. Daugherty
4397e85e26 Merge 2016-04-07 09:47:48 -07:00
Dmitry Fazunenko
efb6b67d27 Merge 2016-04-07 15:01:56 +00:00
Thomas Schatzl
a9cf95480f 8153734: TestHumongousReferenceObject.java occasionally crashes with "unable to allocate heap of 1g" on win32
Decrease the heap size used in the test from 1g to 128M.

Reviewed-by: dfazunen, sjohanss
2016-04-07 15:17:08 +02:00
Michail Chernov
0202ef201c 8153516: Hotspot TEST.group has error in GC groups definition
Reviewed-by: tschatzl, dfazunen
2016-04-07 16:01:16 +03:00
Michail Chernov
412ce42184 8148376: Test for PLAB behavior at evacuation failure
Reviewed-by: tschatzl, dfazunen
2016-04-07 15:58:24 +03:00
Dmitry Fazunenko
2b7a70a9d3 8152432: Implement setting jtreg @requires properties vm.flavor, vm.bits, vm.compMode
Reviewed-by: iignatyev
2016-04-07 17:42:30 +04:00
Pavel Punegov
3a407ecde7 Merge 2016-04-14 15:28:46 +02:00
Tobias Hartmann
63403a410e 8154073: Several compiler tests fail when are executed with C1 only
Added missing flag checks to the tests and Whitebox API.

Reviewed-by: kvn
2016-04-14 08:32:39 +02:00
Pavel Punegov
792ccb5056 8153852: [jittester] move TypeUtil to utils package
Rewrite TypeUtil and move to utils package

Reviewed-by: kvn
2016-04-13 18:56:51 +03:00
Pavel Punegov
82dc0d42a6 8140354: Unquarantine tests that failed with OutOfMemoryError
Unquarantine CompilerControl tests

Reviewed-by: iignatyev
2016-04-13 18:31:43 +03:00
Bharadwaj Yadavalli
b2ead5ac2d Merge 2016-04-12 14:17:42 -04:00
Nils Eliasson
a74ee72e1e 8153885: [TESTBUG] few regression tests failed after 8151880 changes
Test that uses compile() as missed in update

Reviewed-by: kvn
2016-04-12 11:29:08 +02:00
Daniel D. Daugherty
0fc167eb01 Merge 2016-04-06 15:49:40 -07:00
Jesper Wilhelmsson
3f00e1fcef 8153671: Quarantine serviceability/tmtools/jstack/JstackThreadTest.java until JDK-8153319 is fixed
Reviewed-by: jprovino, dcubed
2016-04-06 14:51:39 -07:00
Vladimir Ivanov
7fc81004e3 8152590: C2: @Stable support doesn't always work w/ incremental inlining
Reviewed-by: kvn
2016-04-11 21:42:55 +03:00
Doug Simon
1131e05b66 8153439: do not install an empty SpeculationLog in an nmethod
Reviewed-by: iveresov, twisti
2016-04-07 08:57:26 -10:00
Nils Eliasson
c70e07ccbe 8151880: EnqueueMethodForCompilationTest.java still fails to compile method
Extract SimpleTestCaseHelper inner class

Reviewed-by: kvn
2016-04-06 14:48:45 +02:00
Zoltan Majo
86e696a816 Merge 2016-07-19 11:02:28 +02:00
Zoltan Majo
a9adc6f650 8161660: Quarantine TestParallelHeapSizeFlags.java and TestSmallHeap.java
Quarantine test.

Reviewed-by: dholmes, thartmann
2016-07-19 10:14:34 +02:00
Zoltan Majo
c7bc59b6cb 8161581: Quarantine compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJavaType.java
Quarantine test.

Reviewed-by: goetz, thartmann
2016-07-18 15:53:56 +02:00
Aleksey Shipilev
b349843be4 8153265: [TESTBUG] compiler/whitebox/ForceNMethodSweepTest should not assume asserts are benign
Reviewed-by: twisti, ikrylov
2016-04-06 10:55:46 +03:00
Ioi Lam
3d629c6dd3 8153300: [TESTBUG] Enhance test/testlibrary/ClassFileInstaller.java to support JAR files
Reviewed-by: lfoltan, mseledtsov
2016-04-05 14:52:12 -07:00
Bharadwaj Yadavalli
e258fc4bc7 Merge 2016-04-05 15:39:35 -04:00
Rachel Protacio
d077700179 8153026: Change logging tag 'verboseverification' to 'verification'
Changed UL tag to 'verification'

Reviewed-by: hseigel, lfoltan
2016-04-05 09:42:27 -04:00
Tobias Hartmann
edee2ddca8 Merge 2016-04-05 10:11:07 +00:00
Thomas Schatzl
d77d2cc010 8151499: gc/g1/g1OopClosures.inline.hpp: assert(_from->is_in_reserved(p)) failed: p is not in from
Fix wrong assertion.

Reviewed-by: tbenson, shade
2016-04-05 11:22:20 +02:00
Jamsheed Mohammed C M
b26b78a4d4 8067247: Crash: assert(method_holder->data() == 0 ...) failed: a) MT-unsafe modification of inline cache
Made invoker LambdaForm instance & its compiled form lifetime tightly coupled.

Reviewed-by: vlivanov
2016-04-05 01:46:40 -07:00
Per Lidén
07299d4428 8152929: Remove UNSUPPORTED_GC_OPTION, use UNSUPPORTED_OPTION instead
Reviewed-by: brutisso, jmasa
2016-04-05 09:05:19 +02:00
Dmitry Dmitriev
a0d59719d3 8153437: Temporary exclude AllocatePrefetchDistance from testing
Reviewed-by: dcubed
2016-04-05 00:36:59 +03:00
Jesper Wilhelmsson
7233d45a4d 8153410: Disable tests until JDK-8151460 gets to main
Reviewed-by: gtriantafill, dcubed
2016-04-04 20:39:42 +02:00
Zoltan Majo
69d14c811b 8072422: Cleanup: Remove some unused flags/code in loop optimizations
Remove unused flags, change test using them.

Reviewed-by: kvn, twisti
2016-04-04 12:52:11 +02:00
Dmitrij Pochepko
05de4a3fe0 8138798: improve tests for HotSpotVMEventListener::notifyInstall
Reviewed-by: twisti
2016-04-01 16:56:49 +03:00
Dmitrij Pochepko
b595c21417 8151828: Jittester: array creation node handled inproperly in source code visitor for non-int numerical arrays
Reviewed-by: iignatyev
2016-04-01 16:31:08 +03:00
Zoltan Majo
526582022d 8153195: Quarantine compiler/gcbarriers/PreserveFPRegistersTest.java
Quarantine test.

Reviewed-by: thartmann
2016-03-31 16:09:29 +02:00
Tobias Hartmann
3aa353de7b 8136798: TestMonomorphicObjectCall.java fails with compilation error
Refactored test to work with Jake.

Reviewed-by: kvn, zmajo
2016-03-31 09:26:13 +02:00
Ivan Krylov
429b1c80a1 8147844: new method j.l.Runtime.onSpinWait() and the corresponding x86 hotspot instrinsic
Adds c1 & c2 x86 intrinsics for j.l.Runtime.onSpinWait() that utilize the PAUSE instruction

Co-authored-by: Yuri Gaevsky <ygaevsky@azul.com>
Reviewed-by: iveresov, kvn
2016-03-30 17:04:14 +02:00
Christian Thalinger
58c9c16e11 Merge 2016-03-29 22:39:17 +00:00
Igor Ignatyev
9723b912e9 8152636: TestHasNegatives.java fails after Jigsaw changes were integrated
Reviewed-by: kvn
2016-03-30 00:25:39 +03:00
Vladimir Ivanov
03d9887e1c 8152945: TestStableU* tests aren't Jigsaw-ready
Reviewed-by: kvn, thartmann
2016-03-29 21:33:22 +03:00
Vladimir Ivanov
79c80f1282 8152857: [TESTBUG] UnsafeGetConstantField.testUnsafeGetFieldUnaligned fails w/ -XX:-UseUnalignedAccesses in -Xcomp mode
Reviewed-by: kvn, thartmann
2016-03-29 21:33:16 +03:00
Rahul Raghavan
9acc5ad3ce 8145348: Make intrinsics flags diagnostic
Converted product or develop intrinsics flags to diagnostic.

Reviewed-by: kvn
2016-03-28 01:08:02 -07:00
Vladimir Ivanov
ee1caca2a6 8148175: C1: G1 barriers don't preserve FP registers
Reviewed-by: kvn
2016-03-28 13:49:34 +03:00
Vladimir Ivanov
661796fe3f 8152179: C2: Folding of unsigned loads is broken w/ @Stable
Reviewed-by: jrose, kvn
2016-03-28 13:49:34 +03:00
Aleksey Shipilev
0a8f970d76 Merge 2016-03-25 13:15:41 +00:00
Aleksey Shipilev
d8f23ea33b 8152698: Remove obsolete Unsafe.putOrdered{X} methods, usages, runtime and compiler support
Reviewed-by: kvn, psandoz
2016-03-25 15:34:30 +03:00
Konstantin Shefov
ec1e7dbde1 8152344: JVMCI test task: Unit tests for ConstantReflectionProvider
Reviewed-by: twisti, dpochepk, tpivovarova
2016-03-25 14:46:09 +03:00
Roland Schatz
49558c8d6e 8152634: generalize exception throwing routines in JVMCIRuntime
Reviewed-by: twisti
2016-03-25 12:43:23 +01:00
Zoltan Majo
720f99dec9 Merge 2016-03-24 16:21:18 +01:00
Zoltan Majo
c47b3aee01 8152640: Quarantine compiler/intrinsics/string/TestHasNegatives.java
Quarantine test

Reviewed-by: thartmann
2016-03-24 11:44:12 +01:00
Stefan Johansson
d30aeec30c 8151460: Metaspace counters can have inconsistent values
Reviewed-by: jmasa, pliden
2016-03-24 10:49:08 +01:00
Jesper Wilhelmsson
ee442d71e1 Merge 2016-04-02 05:39:25 +02:00
Michail Chernov
c3469071aa 8148397: Create new tests for IHOP
Reviewed-by: tschatzl, dfazunen
2016-04-01 16:15:37 +03:00
Cheleswer Sahu
6f3cb076c4 8151442: jstack doesn't close quotation marks properly with threads' name greater than 1996 characters
Reviewed-by: dsamersoff, kevinw
2016-04-01 13:51:29 +05:30
Christian Tornqvist
84e45bf683 Merge 2016-04-01 03:33:39 +00:00
Christian Tornqvist
dedfabbaac 8150899: [TESTBUG] Split hotspot_all job into smaller jobs
Reviewed-by: gtriantafill, iignatyev
2016-03-31 11:39:00 -04:00
Gerard Ziemski
b1e438f157 Merge 2016-03-31 14:18:25 +00:00
Gerard Ziemski
5a7ecbdf94 8143958: CDS Shared flags need constraint function
Implement range constraints for CDS flags.

Reviewed-by: iklam, jiangli
2016-03-30 11:28:51 -05:00
Dmitry Fazunenko
7e6e45906b 8152422: Optimize GC JPRT test set
Reviewed-by: sjohanss, pliden
2016-03-30 17:25:32 +03:00
Max Ockner
0ce26421c4 Merge 2016-03-29 21:44:06 +02:00
Max Ockner
e721b555eb Merge 2016-03-29 20:51:59 +02:00
Max Ockner
45b8dc27fe 8150084: Convert TraceMonitorMismatch to Unified Logging
TraceMonitorMismatch has been converted to Unified Logging.

Reviewed-by: coleenp, rprotacio
2016-03-29 14:37:07 -04:00
Max Ockner
aa9da340e0 8149996: TraceLoaderConstraints has been converted to Unified Logging
TraceLoaderConstraints has been converted to Unified Logging.

Reviewed-by: coleenp, dholmes, rprotacio
2016-03-29 13:02:16 -04:00
Per Lidén
0fb3d6a52e 8068579: Running with -XX:-UseParallelGC does not turn ParalleGC off
Reviewed-by: jmasa, dfazunen, brutisso
2016-03-29 08:42:22 +02:00
Harold Seigel
cd3f80324f Merge 2016-03-24 15:19:06 +00:00
Harold Seigel
ff8f7e4a2b 8140665: SIGSEGV when a primitive type's class is used as the host class in a call to DefineAnonymousClass call
Instead of assertng, throw an exception

Reviewed-by: acorn, coleenp
2016-03-24 08:13:28 -04:00
Dmitry Fazunenko
0f687b0bd5 Merge 2016-03-24 15:51:31 +04:00
Tobias Hartmann
ce350e07fa 8136458: Remove "marked for reclamation" nmethod state
Removed "marked for reclamation" nmethod state because only sweeper sets nmethods to zombie.

Reviewed-by: kvn, neliasso
2016-03-24 09:09:52 +01:00
Jesper Wilhelmsson
b7ca1e57ee Merge 2016-03-23 23:36:29 +01:00
Eric Mccorkle
6bf9194f41 8078112: [TESTBUG] Integrate Selection/Resolution test suite into jtreg tests
Reviewed-by: ctornqvi, acorn
2016-03-25 15:54:18 +03:00
Jon Masamitsu
d7e8dc2fef Merge 2016-03-25 03:53:18 +00:00
Rachel Protacio
0f7f8e05ab 8146947: Remove PrintOopAddress rather than converting to UL
Deprecated PrintOopAddress and made functionality default

Reviewed-by: coleenp, stefank
2016-03-24 13:25:10 -04:00
Zoltan Majo
3edb7b95ba Merge 2016-03-23 15:01:42 +01:00
Michail Chernov
cd1a1d139c 8149662: Refactor hotspot/test/gc/g1/plab/lib/LogParser.java
Reviewed-by: tschatzl, dfazunen
2016-03-23 15:48:25 +03:00
Alejandro Murillo
1bd14828a0 8152483: Fix a couple of tests that are being incorrectly run on C1 after jigsaw M3
Reviewed-by: ctornqvi, kvn
2016-03-22 18:41:09 -07:00
Max Ockner
dca64ad62d 8146632: Add descriptive error messages for removed non-product logging flags
Added table with removed non-product flags and error messages.

Reviewed-by: dholmes, coleenp, hseigel
2016-03-22 15:03:07 -04:00
Chris Hegarty
9978f9b065 Merge 2016-03-22 17:04:25 +00:00
Chris Hegarty
5af2dcd643 Merge 2016-03-22 10:43:58 +00:00
Chris Plummer
6e4fd7f938 Merge 2016-03-21 20:19:46 +00:00
Chris Plummer
4cc14cb17e 8146436: Add -XX:-ShrinkHeapInSteps option (previously -XX:+UseAggressiveHeapShrink)
Added ShrinkHeapInSteps option.

Reviewed-by: jmasa, tbenson
2016-03-21 13:14:31 -07:00
Nils Eliasson
f058b201f6 8152169: LockCompilationTest.java fails due method present in the compiler queue
Too many compiles waiting, wait time not enough

Reviewed-by: twisti
2016-03-18 15:54:47 +01:00
Zoltan Majo
1c19fa8c18 Merge 2016-03-21 11:21:07 +01:00
Guy Delamarter
579f0ea8ec 8144693: Intrinsify StringCoding.hasNegatives() on SPARC
Implemented C2 instrinsic for StringCode.hasNegatives() on SPARC.

Reviewed-by: kvn, jrose, thartmann
2016-03-21 08:42:20 +01:00
Alan Bateman
f30fc1c88b 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jiangli Zhou <jiangli.zhou@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
2016-03-17 19:04:01 +00:00
Michail Chernov
ce4315d21c 8150648: Re-enable TestPLABResize.java after JDK-8150183 is fixed
Reviewed-by: tschatzl
2016-03-17 17:07:09 +03:00
Zoltan Majo
a7f8d170bf Merge 2016-03-17 13:48:11 +01:00
Nils Eliasson
338ff211b4 8152090: Code missing from JDK-8150054 causing many test failures
Add missing method

Reviewed-by: kvn
2016-03-17 21:55:55 +01:00
Jon Masamitsu
37370fa733 8060463: ParNew: SurvivorAlignmentInBytes greater then YoungPLABSize cause assert(obj != NULL || plab->words_remaining() < word_sz) failed: Else should have been able to allocate
Reviewed-by: sangheki, tschatzl, mchernov
2016-03-16 14:47:55 -07:00
Jesper Wilhelmsson
7b7aad5481 Merge 2016-03-16 14:31:33 +01:00
Nils Eliasson
a7d116c1f3 8150054: Make compilercontrol test ignore xcomp
Add -Xmixed and use jtreg driver

Reviewed-by: kvn
2016-03-16 10:45:43 +01:00
Tobias Hartmann
23a62fdfca 8150804: C2 Compilation fails with assert(_base >= OopPtr && _base <= AryPtr) failed: Not a Java pointer
Wait with removing casts from inputs in PhiNode::ideal() until after parsing for the type information to propagate.

Reviewed-by: kvn
2016-03-15 17:42:28 +01:00
Pavel Punegov
616744c4c9 8150955: RandomValidCommandsTest.java fails with UnsatisfiedLinkError: sun.hotspot.WhiteBox.registerNatives
Replace invalid command with a valid one

Reviewed-by: kvn
2016-03-15 16:23:31 +03:00
Nils Eliasson
a20ceb80f4 8151796: compiler/whitebox/BlockingCompilation.java fails due to method not compiled
Make test more robust

Reviewed-by: simonis
2016-03-15 11:17:22 +01:00
Kirill Zhaldybin
0e76458fca 8144073: Refactor hotspot/test/gc/g1/humongousObjects/TestHumongousThreshold.java
Reviewed-by: tschatzl, dfazunen
2016-03-14 20:00:57 +03:00
Thomas Schatzl
0c06163b35 8077144: Concurrent mark initialization takes too long
Remove per-marking thread liveness bitmaps and recreate liveness bitmap concurrently after the cleanup pause.

Reviewed-by: mgerdin, ehelin, kbarrett
2016-04-06 13:32:48 +02:00
Aleksey Shipilev
b51a55a78c 8153277: [TESTBUG] gc/arguments/TestMaxMinHeapFreeRatioFlags is too sensitive for stray allocations in verifyRatio
Reviewed-by: mgerdin, dfazunen
2016-04-06 10:50:19 +03:00
Vladimir Ivanov
6ea5772a9b 8143407: C1: @Stable array support
Reviewed-by: twisti
2016-03-14 12:35:52 +03:00
Nils Eliasson
e34f88b0a6 Merge 2016-03-11 21:02:09 +01:00
Jesper Wilhelmsson
132e217524 Merge 2016-03-19 01:23:46 +01:00
Stefan Karlsson
97d34dd67a 8152104: G1 StringTable cleaning incorrectly logs with the stringdedup tag
Reviewed-by: mgerdin, jwilhelm, sjohanss
2016-03-18 09:01:51 +01:00
Thomas Schatzl
0588ecf584 8151920: Region liveness printing is broken
Remove obsolete code that causes an assert.

Reviewed-by: drwhite, brutisso
2016-03-17 09:36:04 +01:00
Per Lidén
d10cb8912d 8148239: TestSelectDefaultGC.java incorrectly expects G1 on non-server class machines
Reviewed-by: brutisso, kzhaldyb
2016-03-15 08:02:17 +01:00
Per Lidén
a93ebd8e89 8067768: Check for too small values for -Xmx
Reviewed-by: jwilhelm, dfazunen
2016-03-14 09:42:17 +01:00
Max Ockner
edd3f7ca77 Merge 2016-03-11 17:02:04 +01:00
Doug Simon
b87feb324c 8151664: [JVMCI] add missing test in 8151266 integration
Reviewed-by: never, twisti
2016-03-10 14:06:21 -08:00
Max Ockner
155a64deb4 8146551: The output from classresolve tag has been shortened and moved to debug level
The output from classresolve tag has been shortened and moved to debug level.

Reviewed-by: coleenp, rprotacio
2016-03-10 15:52:56 -05:00
Coleen Phillimore
4a05d83db0 8150778: Reduce Throwable.getStackTrace() calls to the JVM
Replace JVM_GetStackTraceDepth and JVM_GetStackTraceElement, with JVM_GetStackTraceElements that gets all the elements in the StackTraceElement[]

Reviewed-by: shade, mchung, dholmes, hseigel
2016-03-10 13:43:47 -05:00
Nils Eliasson
b01a1a42e3 8066770: EnqueueMethodForCompilationTest.java fails to compile method
Make compiles blocking and always check queue

Reviewed-by: kvn
2016-03-09 21:20:43 +01:00
Nils Eliasson
9e21021abb 8073793: serviceability/dcmd/compiler/CodelistTest.java fails with ClassNotFoundException trying to load VM anonymous class
Make test less fragile using whitebox API

Reviewed-by: kvn
2016-03-09 21:19:13 +01:00
Jon Masamitsu
09a7ae4e60 8149343: assert(rp->num_q() == no_of_gc_workers) failed: sanity
Reviewed-by: tschatzl, kbarrett
2016-03-07 11:28:06 -08:00
Alejandro Murillo
2da4580684 Merge 2016-03-05 20:46:42 -08:00
Daniel D. Daugherty
3a33180c01 8151348: quarantine compiler/codecache/jmx/PeakUsageTest.java in JDK9-dev
Reviewed-by: ctornqvi, amurillo
2016-03-05 19:22:57 -08:00
Jesper Wilhelmsson
f6609ea3d2 Merge 2016-03-05 10:10:23 +01:00
Christian Tornqvist
30bbb5ee4b 8151156: [TESTBUG] Integrate trivial Hotspot test changes from Jake before Jigsaw M3
Reviewed-by: hseigel, gtriantafill
2016-03-03 12:44:34 -08:00
Stefan Johansson
af21a0d3e3 8149642: gc/g1/TestShrinkAuxiliaryData* tests fail with "GC triggered before VM initialization completed"
Reviewed-by: brutisso, dfazunen
2016-03-07 15:07:58 +01:00
Thomas Schatzl
9780abb978 Merge 2016-03-07 12:49:35 +01:00
Sangheon Kim
74cc38ff12 8145204: JVM can hang when ParGCArrayScanChunk=4294967296 and ParallelGC is used
Changed the max value of ParGCArrayScanChunk to max_jint/3

Reviewed-by: jwilhelm, drwhite
2016-03-07 01:20:12 -08:00
Volker Simonis
173a62a8d6 8150646: Add support for blocking compiles though whitebox API
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Reviewed-by: kvn, ppunegov, simonis, neliasso
2016-03-03 16:21:16 +01:00
Vladimir Ivanov
c69ad2078e 8151157: Quarantine test/compiler/unsafe/UnsafeGetStableArrayElement.java
Reviewed-by: zmajo, thartmann
2016-03-03 16:46:58 +03:00
Andreas Eriksson
041e265d0d 8150986: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java failing because expects HPROF JAVA PROFILE 1.0.1 file format
Reviewed-by: dcubed, dsamersoff
2016-03-03 12:36:54 +01:00
Rachel Protacio
b7658ef0b7 8145098: JNI GetVersion should return JNI_VERSION_9
Updated JNI_VERSION for current version to be JNI_VERSION_9

Reviewed-by: hseigel, gtriantafill, dholmes, alanb
2016-03-02 15:10:38 -05:00
Coleen Phillimore
b437ee835e Merge 2016-03-02 17:09:32 +00:00
Thomas Schatzl
1f76cb2833 Merge 2016-03-02 17:08:40 +01:00
Rachel Protacio
1c5a7710e3 8150746: runtime/logging/ItablesTest.java fails with: java.lang.RuntimeException: 'Resolving: klass: ' missing from stdout/stderr
Deleted logging line from code and test because unnecessary

Reviewed-by: twisti, coleenp
2016-03-02 10:59:25 -05:00
Thomas Schatzl
619ec3dd6f 8141141: Young and Old gen PLAB stats are similar in output with -XX:+PrintPLAB
Improve PLAB statistic by adding generation, output values are now in bytes, including units, and split it into multiple messages.

Reviewed-by: brutisso, sjohanss
2016-03-02 15:57:48 +01:00
Dmitry Samersoff
9035e84805 8150318: serviceability/dcmd/jvmti/LoadAgentDcmdTest.java - Could not find JDK_DIR/lib/x86_64/libinstrument.so
Refactor test

Reviewed-by: jbachorik, sspitsyn
2016-03-02 17:08:26 +03:00
Vladimir Ivanov
68ce6b3b9f 8151020: [TESTBUG] UnsafeGetStableArrayElement::testL_* fail intermittently
Reviewed-by: zmajo, shade
2016-03-02 15:42:03 +03:00
Aleksey Shipilev
ff51364bf6 8151017: [TESTBUG] test/compiler/c1/CanonicalizeArrayLength does not work on product builds
Reviewed-by: thartmann, zmajo
2016-03-02 12:29:17 +03:00
Derek White
1cd0d034f8 8078673: Update TEST.groups for recent GC tests
Updates the needs_g1gc list in TEST.groups and adds appropriate "@requires vm.gc" annotations to a few GC tests.

Reviewed-by: tschatzl, dfazunen
2016-03-01 12:10:50 -05:00
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