Commit Graph

6333 Commits

Author SHA1 Message Date
Filipp Zhinkin
17ad17c6ec 8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
Reviewed-by: kvn, iignatyev
2014-04-15 12:21:24 +04:00
Lois Foltan
8c36d0cd2b 8033150: invokestatic: IncompatibleClassChangeError trying to invoke static method from a parent in presence of conflicting defaults
A static method should be preferred during method resolution over an overpass, search the current class as well as its superclasses.

Reviewed-by: acorn, coleenp, kamg
2014-04-14 14:27:45 -04:00
Lois Foltan
5ca274e0ce 8038076: constraint on multianewarray instruction is not checked since class version 50
No VerifiyError generated if multianewarray bytecode's array type descriptor was 1 dimension smaller than dimensions specified.

Reviewed-by: hseigel, ctornqvi, coleenp, kamg
2014-04-14 10:13:03 -04:00
David Simms
d7f12e04aa 8039947: Dtrace return probe name for jni_SetStaticBooleanField named incorrectly
Reviewed-by: sla, dholmes, gtriantafill
2014-04-14 11:23:06 +02:00
Albert Noll
bce45e9222 Merge 2014-04-14 09:04:36 +00:00
Albert Noll
e2305182b5 8039425: Code cleanup: PhaseIterGVN::optimize()
This code cleanup aims at improving code readability.

Reviewed-by: kvn, roland
2014-04-14 10:57:07 +02:00
Peter Allwin
d048828d66 Merge 2014-04-14 10:43:04 +02:00
Erik Helin
9fc2b0affb Merge 2014-04-14 10:08:10 +02:00
Albert Noll
dc8b57fb57 Merge 2014-04-13 23:39:22 -07:00
Tobias Hartmann
e4fc75979e 8029436: CICompilerCount is not updated when the number of compiler threads is adjusted to the number of CPUs
CICompilerCount is updated in AdvancedThresholdPolicy::initialize, SimpleThresholdPolicy::initialize and NonTieredCompPolicy::initialize. A warning is printed if the usersets both, CICompilerCount and CICompilerCountPerCPU.

Reviewed-by: kvn, twisti
2014-04-14 08:24:28 +02:00
Coleen Phillimore
e72c0ba18f 8039904: dtrace/hotspot/Monitors/Monitors001 fails with "assert(s > 0) failed: Bad size calculated"
Dtrace monitoring uses size before mirror size is set.

Reviewed-by: kamg, hseigel
2014-04-11 20:02:37 +00:00
Bharadwaj Yadavalli
78e27e22f4 Merge 2014-04-11 15:08:40 -04:00
Alejandro Murillo
6133fe5bd0 Merge 2014-04-11 11:39:04 -07:00
Alejandro Murillo
c473add3fc Merge 2014-04-11 11:23:30 -07:00
Andrey Zakharov
514cdc2b0d 8037924: CMM Testing: Check Min/MaxHeapFreeRatio flags allows to shrink the heap when using ParallelGC
New test implemented

Reviewed-by: ehelin, tschatzl
2014-04-11 18:28:39 +02:00
Pavel Punegov
2b5f33db1e 8038418: New tests development for type profiling and speculation
Reviewed-by: roland, iignatyev
2014-04-11 18:46:35 +04:00
Tobias Hartmann
e00a1f63f8 8039498: Add iterators to GrowableArray
To simplify the management of multiple code heaps in the code cache (see JDK-8015774), STL-style iterator capability is added to the GrowableArray. Further, custom iterators allow to only iterate over elements that satisfy a given predicate.

Reviewed-by: kvn, twisti
2014-04-11 13:52:51 +02:00
Peter Allwin
b12896283b Merge 2014-04-11 13:04:59 +02:00
Per Lidén
f1edf66ef8 8039147: Cleanup SuspendibleThreadSet
Reviewed-by: brutisso, tschatzl, mgerdin
2014-04-11 12:29:24 +02:00
Albert Noll
7e1059b62d 8034216: assert(false) failed: infinite loop in PhaseIterGVN::optimize
Eagerly remove all castPP nodes in PhaseCCP to get type convergence in memnode.

Reviewed-by: kvn, roland
2014-04-11 11:33:00 +02:00
Per Lidén
a3425b64f0 8037112: gc/g1/TestHumongousAllocInitialMark.java caused SIGSEGV
Reviewed-by: brutisso, mgerdin
2014-04-11 11:00:12 +02:00
Erik Helin
8ca6367144 Merge 2014-04-11 10:31:25 +02:00
Igor Veresov
e6456ff2a4 8038297: Avoid placing CTI immediately following cbcond instruction on T4
Insert a nop between cbcond and CTI

Reviewed-by: kvn, twisti
2014-04-10 23:15:13 -07:00
David Holmes
f15b18de1b 8039891: Remove ppcsflt builds from JPRT
Reviewed-by: sla, hseigel, coleenp
2014-04-10 21:36:56 -04:00
Bharadwaj Yadavalli
ea5aea40a5 Merge 2014-04-10 19:47:17 -04:00
Filipp Zhinkin
b3c9d243d3 8039496: Add sanity tests on RTM-related command line options
Reviewed-by: kvn, iignatyev
2014-04-11 00:35:28 +04:00
Filipp Zhinkin
746fe025b6 8037860: Add tests to cover Intel RTM instructions support
Reviewed-by: kvn, iignatyev
2014-04-11 00:35:23 +04:00
Filipp Zhinkin
75990f8013 8039499: Add all common classes used by tests on RTM support to testlibrary
Reviewed-by: kvn, iignatyev
2014-04-11 00:35:11 +04:00
Filipp Zhinkin
04d2944301 8039497: Testlibrary should be updated to provide information about all VM types as well as access to Unsafe
Reviewed-by: kvn, iignatyev
2014-04-11 00:34:56 +04:00
Anton Ivanov
2b032b10e1 8038953: Add sanity tests for BMI1 and LZCNT instructions
Reviewed-by: kvn, iignatyev
2014-04-11 00:34:51 +04:00
Roland Westrelin
522abfc113 8005079: fix LogCompilation for incremental inlining
Report late inlining as part of the rest of the inlining output

Reviewed-by: twisti, kvn
2014-04-10 11:38:12 +02:00
Tobias Hartmann
65d6e6b331 8036898: assert(t != NULL) failed: must set before get
Ignore nodes without a type when checking for speculative types in Compile::remove_speculative_types(...).

Reviewed-by: kvn, roland
2014-04-10 09:26:24 +02:00
Igor Ignatyev
ebe6520025 Merge 2014-04-09 19:45:59 +00:00
Igor Ignatyev
613af45d92 8039597: WhiteBox :: clean type profiling data
Reviewed-by: kvn, roland
2014-04-09 22:37:37 +04:00
Vladimir Kozlov
4841e826dd 8038939: Some options related to RTM locking optimization works inconsistently
Switch UseRTMXendForLockBusy flag ON by default and change code to retry RTM locking on lock busy condition by default.

Reviewed-by: roland
2014-04-09 11:18:02 -07:00
Lana Steuck
0eabe6c301 Merge 2014-04-09 09:20:30 -07:00
Dmitry Samersoff
b1295fc704 Merge 2014-04-09 15:01:24 +00:00
Dmitry Samersoff
f359b1fb2c 8029139: [TESTBUG] runtime/InitialThreadOverflow/testme.sh fails with exit code 127
The test launcher compiles against TESTJAVA but LD_LIBRARY_PATH set to COMPILE java.

Reviewed-by: sla, sspitsyn
2014-04-09 07:08:08 -07:00
Dmitry Samersoff
0301b791ef 8037279: runtime/6929067/Test6929067.sh crashes on 32bit linux
The test compile launcher with TESTJAVA but attempt to load vm from COMPILEJAVA

Reviewed-by: sla, sspitsyn
2014-04-09 06:09:43 -07:00
Stefan Karlsson
d78446aa45 8039743: Use correct format specifier to print size_t values and pointers in the GC code
Co-authored-by: Mikael Vidstedt <mikael.vidstedt@oracle.com>
Reviewed-by: jmasa, sjohanss
2014-04-09 13:54:32 +02:00
Roland Westrelin
eb8588549a 8007988: PrintInlining output is inconsistent with incremental inlining
Fix duplicate and conflicting inlining output

Reviewed-by: kvn, vlivanov
2014-04-09 09:17:43 +02:00
Coleen Phillimore
c8990959f2 8028497: SIGSEGV at ClassLoaderData::oops_do(OopClosure*, KlassClosure*, bool)
Keep class in CLD::_klasses list and mirror created for CDS classes if OOM during restore_shareable_info(). This keeps pointers consistent for CMS.

Reviewed-by: ehelin, stefank, jmasa, iklam
2014-04-08 13:58:38 -04:00
Erik Helin
4bc795f2db Merge 2014-04-08 13:50:58 +02:00
Markus Grönlund
eea84b4feb 8039348: -XX:+TraceDeoptimization -XX:+Verbose -Xcomp can crash VM
Reviewed-by: kvn, sla
2014-04-08 11:50:01 +02:00
Roland Westrelin
7da7a9c72a 8038636: speculative traps break when classes are redefined
Remove speculative traps that point to methods that are redefined

Reviewed-by: kvn, twisti
2014-04-08 09:51:25 +02:00
Staffan Larsen
385e2f4084 8038296: sun/tools/jinfo/Basic.sh: java.io.IOException: Command failed in target VM
Reviewed-by: sspitsyn, coleenp, dsamersoff
2014-04-08 08:14:14 +02:00
Dmitry Samersoff
ec2e296ec1 Merge 2014-04-05 20:59:37 +00:00
Markus Grönlund
47bf9f6d57 8038624: interpretedVFrame::expressions() must respect InterpreterOopMap for liveness
Reviewed-by: coleenp, minqi
2014-04-05 21:33:11 +02:00
Dmitry Samersoff
942d204e59 Merge 2014-04-05 05:55:05 -07:00
Alejandro Murillo
40609dfd04 Merge 2014-04-04 10:04:44 -07:00
Erik Helin
dda69c88e0 Merge 2014-04-04 10:24:48 +02:00
Stefan Karlsson
6583b826bb 8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
Reviewed-by: brutisso, tschatzl
2014-04-04 09:46:10 +02:00
Bharadwaj Yadavalli
a12d6f7a1e Merge 2014-04-03 17:05:19 -04:00
Jesper Wilhelmsson
034d486b08 8039089: List verification enabled in product builds
Replaced the verification call to a conditional one that only runs verification in debug builds.

Reviewed-by: brutisso, tschatzl
2014-04-03 16:20:16 +02:00
Kevin Walls
fd0bcaa2b2 Merge 2014-04-03 11:21:33 -07:00
Vladimir Kempik
0ab60ab172 8016302: Change type of the number of GC workers to unsigned int (2)
Reviewed-by: tschatzl, jwilhelm
2014-04-03 17:49:31 +04:00
Marcus Larsson
9efb17f38f 6664815: Eliminate redundant memcpy operation in jni_GetStringUTFRegion
Added support for target buffer in as_utf8_string(), minor refactoring of as_utf8 and added some internal VM testing

Reviewed-by: coleenp, dsimms, sla, dholmes
2014-04-03 14:54:42 +02:00
Christian Tornqvist
7ee6324490 8033405: metaspace/stressHierarchy/stressHierarchy005 hangs in atexit handler
<ake sure we shut down NMT before the VM exits and do not track malloc/free when NMT is shutting down

Reviewed-by: coleenp, zgu
2014-04-24 00:46:17 +02:00
Frederic Parain
9aa74d318c Merge 2014-04-03 06:39:26 -04:00
Goetz Lindenmaier
d7b640b3ce 8039146: Fix 64-bit store to int JNIHandleBlock::_top
Reviewed-by: coleenp, kvn
2014-04-03 12:37:53 +02:00
Bharadwaj Yadavalli
aae7e42b0b Merge 2014-04-04 15:12:58 -04:00
Tobias Hartmann
8a4d8a9a5d 8024769: Remove unused code in sharedRuntime.cpp
Removed unnecessary code

Reviewed-by: kvn, coleenp
2014-04-04 10:22:35 +02:00
Frederic Parain
ba522e5098 8038473: Remove support for old T1 libthread
Reviewed-by: dholmes, coleenp, acorn, dcubed
2014-04-03 09:28:28 +00:00
David Katleman
299644b039 Added tag jdk9-b07 for changeset f00a1292f3ab 2014-04-02 21:59:51 -07:00
Vladimir Kozlov
6d6e850203 Merge 2014-04-02 13:37:45 -07:00
Igor Veresov
dbefa99e6c Merge 2014-04-02 12:27:57 -07:00
Igor Veresov
6428c0a397 8039043: Implicit null check is in the wrong place in C1 -UseCompressedOops
Null check is placed in a wrong place when storing a null to an object field on x64 with compressed oops off

Reviewed-by: roland, vlivanov, kvn
2014-04-02 11:24:51 -07:00
Alexander Smundak
dd193f4eb2 8036767: PPC64: Support for little endian execution model
Reviewed-by: goetz, kvn, dholmes, simonis
2014-04-02 11:24:44 -07:00
Andreas Eriksson
fbb7bd8781 8033696: "assert(thread != NULL) failed: just checking" due to Thread::current() and JNI pthread interaction
Reviewed-by: dholmes, dsamersoff
2014-04-02 18:40:52 +02:00
Masato Yoshida
cf2bf09668 8026334: hs_err improvement: Print elapsed time in a humanly readable format
Reviewed-by: coleenp, dsamersoff
2014-04-02 16:08:59 +01:00
Mikael Gerdin
a52fd3388d 8037959: BitMap::resize frees old map before copying memory if !in_resource_area
Add reallocate functionality to ArrayAllocator and use it from BitMap::resize

Reviewed-by: brutisso, tschatzl
2014-04-02 14:17:34 +02:00
Christian Tornqvist
3c7ebc1745 8028733: [TESTBUG] Remove test exclusion for runtime/6626217/Test6626217.sh
Removed @ignore tag from Test6626217.sh, the fix for 7015395 had already solved the issue but left the @ignore tag

Reviewed-by: sla, lfoltan, gtriantafill
2014-04-02 14:15:39 +02:00
Goetz Lindenmaier
419ae8206b 8039045: PPC64: need include in adl generated files after 8001532
Reviewed-by: kvn
2014-04-02 10:16:46 +02:00
Lana Steuck
4452e6316f Merge 2014-04-01 17:27:19 -07:00
Christian Tornqvist
c3c7dcd507 7049895: [TESTBUG] vmerrors.sh should suppress windows .mdmp files
Added -XX:-CreateMinidumpOnCrash to vmerror.sh to suppress creation of dumps on Windows

Reviewed-by: coleenp, allwin, zgu
2014-04-01 22:39:09 +02:00
Morris Meyer
6db303a301 8001532: C2 node files refactoring
Split C2 node files into cast, convert, countbits, intrinsic, move, narrowptr and opaquenode classes

Reviewed-by: kvn, morris
2014-04-01 09:05:20 -07:00
David Simms
91dcc35215 8037295: Add size_t versions of Atomic::add, dec, and inc
Reviewed-by: dholmes, fparain
2014-04-01 15:45:36 +02:00
Goetz Lindenmaier
f190cc8c67 8038201: Clean up misleading usage of malloc() in init_system_properties_values()
Remove the misleading malloc macro and cleanup the code

Reviewed-by: dsamersoff, kvn
2014-04-01 03:59:01 -07:00
Roland Westrelin
f5adc57f94 8032410: compiler/uncommontrap/TestStackBangRbp.java times out on Solaris-Sparc V9
Make compiled code bang the stack by the worst case size of the interpreter frame at deoptimization points.

Reviewed-by: twisti, kvn
2014-04-01 09:36:49 +02:00
David Holmes
4643207df7 8016039: jvm.lib is missing from export list unless building server
Make the export declaration unconditional

Reviewed-by: sla, sspitsyn
2014-03-31 23:49:00 -04:00
Vladimir Kozlov
77d38feb95 8038633: crash in VM_Version::get_processor_features() on startup
Windows need an exception wrapper around getPsrInfo_stub() call in order to properly handle SEGV for YMM registers test.

Reviewed-by: iveresov, iignatyev
2014-03-31 13:08:03 -07:00
Dmitry Samersoff
59ef728609 7189721: nightly tests failed on JDI attaching
If for some reason elf section with section names is not loaded to cache it attempts to read data using NULL section pointer.

Reviewed-by: sspitsyn, sla, kevinw
2014-03-31 08:23:02 -07:00
Erik Helin
977d1f7a5d 8038934: Remove prefix allocated_ from methods and variables in Metaspace
Reviewed-by: jmasa, coleenp
2014-03-31 17:09:38 +02:00
Erik Helin
521e1207a7 8033251: Use DWARF debug symbols for Linux 32-bit as default
Reviewed-by: dcubed, dholmes, coleenp
2014-03-31 14:02:40 +02:00
Goetz Lindenmaier
f67a3b7e04 8038498: Fix includes and C inlining after 8035330
Change 8035330: Remove G1ParScanPartialArrayClosure and G1ParScanHeapEvacClosure broke the debug build on AIX. The method do_oop_partial_array() is added in a header, but requires the inline function par_write_ref() through several inlined calls. In some cpp files, like arguments.cpp, par_write_ref() is not defined as the corresponding inline header and is not included. The AIX debug VM does not start because of the missing symbol. This change solves this by cleaning up include dependencies.

Reviewed-by: tschatzl, stefank
2014-04-02 09:17:38 +02:00
Erik Helin
510abf997b Merge 2014-04-01 15:37:15 +02:00
Bengt Rutisson
1f5e01e4f4 8038829: G1: More useful information in a few assert messages
Reviewed-by: sjohanss, jmasa
2014-04-01 07:46:51 +02:00
Roland Westrelin
b21d142f01 8037970: make PrintMethodData a diagnostic options
Make PrintMethodData a diagnostic options for performance investigation

Reviewed-by: kvn, iveresov
2014-03-31 10:35:06 +02:00
Roland Westrelin
fa3b0a8f47 8031755: Type speculation should be used to optimize explicit null checks
Feed profiling data about reference nullness to type speculation.

Reviewed-by: kvn, iveresov
2014-03-31 09:08:53 +02:00
Dmitry Samersoff
5c15816a53 Merge 2014-03-30 03:29:48 -07:00
Igor Ignatyev
f5d6f0ceb8 8038393: [TESTBUG] ciReplay/* tests fail after 8034775
Reviewed-by: kvn
2014-03-29 14:54:48 +04:00
Alejandro Murillo
958938e6a4 Merge 2014-03-28 09:15:41 -07:00
Erik Helin
64a7637148 Merge 2014-03-28 10:41:20 +01:00
David Katleman
849d46e084 Added tag jdk9-b06 for changeset 1725abff0290 2014-03-27 11:38:17 -07:00
Nils Eliasson
72ef7a4f74 Merge 2014-03-27 08:03:57 -07:00
Filipp Zhinkin
45dd523fc6 8038193: Add command line option tests for BMI options
Reviewed-by: kvn, iignatyev
2014-03-27 17:29:41 +04:00
Nils Eliasson
c3f6e08de3 Merge 2014-03-27 14:15:42 +01:00
Dmitry Samersoff
444fceb59d Merge 2014-03-27 03:14:45 -07:00
Igor Ignatyev
d9187e9799 8038240: new WB API to get nmethod
Reviewed-by: morris, kvn
2014-03-27 11:17:26 +04:00
Erik Helin
98d8c51389 8027924: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java fails with warning
Reviewed-by: jmasa, tschatzl
2014-03-26 16:33:13 +01:00