Thomas Schatzl
1653234dda
8040792: G1: Memory usage calculation uses sizeof(this) instead of sizeof(classname)
...
A few locations in the code use sizeof(this) which returns the size of the pointer instead of sizeof(classname) which returns the size of the sum of its members. This change fixes these errors and adds a few tests.
Reviewed-by: mgerdin, brutisso
2014-04-22 11:10:12 +02:00
Bharadwaj Yadavalli
24be3e5628
Merge
2014-04-18 14:30:58 -04:00
Daniel D. Daugherty
e403797d96
Merge
2014-04-18 10:55:41 -07:00
Alejandro Murillo
16d0213a96
Merge
2014-04-18 10:30:13 -07:00
Harold Seigel
cfa7d828d9
8040018: Remove bad assert in ClassFileParser.cpp
...
Remove assert that prevent throwing valid exception
Reviewed-by: coleenp, lfoltan
2014-04-18 08:51:34 -04:00
Roland Westrelin
0acbad17c8
8039975: SIGSEGV in MethodData::next_data(ProfileData*)
...
Profiling code in interpreter broken when argument profiling is off.
Reviewed-by: iveresov, kvn
2014-04-18 14:25:21 +02:00
Lana Steuck
037f13c39a
Merge
2014-04-17 15:22:41 -07:00
Christian Tornqvist
db9dcbd63b
8040887: [TESTBUG] Remove test/runtime/6925573/SortMethodsTest.java
...
Removed test/runtime/6925573/SortMethodsTest.java
Reviewed-by: coleenp, rdurbin
2014-04-18 00:19:24 +02:00
Bharadwaj Yadavalli
32024b5144
Merge
2014-04-17 13:50:26 -04:00
David Katleman
eeb480a302
Added tag jdk9-b09 for changeset 4b998d7123d6
2014-04-17 10:13:41 -07:00
Per Lidén
820ae7109e
8040245: G1: VM hangs during shutdown
...
Temporarily disable the shutdown of the concurrent GC threads introduced in JDK-8037112
Reviewed-by: brutisso, tschatzl, jmasa
2014-04-17 18:47:15 +02:00
Lev Priima
a138550830
8039260: c.o.j.t.ProcessTools::createJavaProcessBuilder(boolean, String... ) must also take TestJavaOptions
...
Reviewed-by: kvn, iignatyev
2014-04-17 18:54:09 +04:00
Bengt Rutisson
5d967f0aea
8040722: G1: Clean up usages of heap_region_containing
...
Reviewed-by: tschatzl, jmasa
2014-04-17 15:57:02 +02:00
Christian Tornqvist
961a489536
6959423: [TESTBUG] runtime/6925573/SortMethodsTest.java times out
...
Decreased maximum number methods in generated classes and decreased ratio to make it reproduce more often
Reviewed-by: coleenp, lfoltan
2014-04-17 00:03:58 +02:00
Richard Reingruber
728ea561aa
8038048: assert(null_obj->escape_state() == PointsToNode::NoEscape,etc) runThese -full
...
Use correct set_escape_state() method.
Reviewed-by: kvn, iignatyev
2014-04-16 14:49:03 -07:00
Thomas Schatzl
69c3c31317
8040002: Clean up code and code duplication in re-diryting cards for verification
...
Card re-dirtying code for verification and actual redirtying uses two different, almost completely identical card closures. Also the verification code still assumes a perm gen.
Reviewed-by: brutisso, jmasa
2014-04-16 16:47:02 +02:00
Thomas Schatzl
c5ef16027b
8019342: G1: High "Other" time most likely due to card redirtying
...
Parallelize card redirtying to decrease the time it takes.
Reviewed-by: brutisso
2014-04-16 16:46:58 +02:00
Thomas Schatzl
0f9e30ad06
8028710: G1 does not retire allocation buffers after reference processing work
...
G1 does not retire allocation buffers after reference processing work when -XX:+ParallelRefProcEnabled is enabled. This causes wrong calculation of PLAB sizes, as the amount of space wasted is not updated correctly.
Reviewed-by: brutisso
2014-04-16 11:05:37 +02:00
Thomas Schatzl
d9a4d02abe
8039596: Remove HeapRegionRemSet::clear_incoming_entry
...
The mentioned method is never used and out of date. So it is removed.
Reviewed-by: mgerdin, brutisso
2014-04-16 10:56:17 +02:00
Thomas Schatzl
42e4a6003c
8037344: Use the "next" field to iterate over fine remembered instead of using the hash table
...
After changes to the PerRegionTable where all these PRTs are linked together in an additional field, simplify iterating over all PRTs by using these links instead of walki
Reviewed-by: mgerdin, jwilhelm, brutisso
2014-04-16 10:55:58 +02:00
Thomas Schatzl
aa00878260
8027553: Change the in_cset_fast_test functionality to use the G1BiasedArray abstraction
...
Instead of using a manually managed array for the in_cset_fast_test array, use a G1BiasedArray instance.
Reviewed-by: brutisso, mgerdin
2014-04-16 10:55:26 +02:00
Thomas Schatzl
f8088df0b4
8038930: G1CodeRootSet::test fails with assert(_num_chunks_handed_out == 0) failed: No elements must have been handed out yet
...
The test incorrectly assumed that it had been started with no other previous compilation activity. Fix this by allowing multiple code root free chunk lists, and use one separate from the global one to perform the test.
Reviewed-by: brutisso
2014-04-16 10:14:50 +02:00
Alejandro Murillo
331d26800c
Merge
2014-04-15 15:37:36 -07:00
Vladimir Kozlov
8badeecc2c
8039050: Crash in C2 compiler at Node::rematerialize
...
Added missing calls to record_for_igvn() in loop opts. Added verification of def-use domination.
Reviewed-by: iveresov
2014-04-15 14:34:48 -07:00
David Katleman
ce452b9f0f
Added tag jdk9-b08 for changeset 80e041234b06
2014-04-15 12:13:17 -07:00
Stefan Karlsson
a97ce35fab
8039957: Replace the last few %p usages with PTR_FORMAT in the GC code
...
Reviewed-by: jwilhelm, sjohanss, jmasa
2014-04-15 20:46:23 +02:00
Christian Tornqvist
ff48970954
8035173: [TESTBUG] runtime/threads/CancellableThreadTest fails with OOM on windows-i586
...
Test ported to jtreg, thread pairs decreased from 1024 to 128 to avoid OOM on 32 bit Windows
Reviewed-by: sla, dsimms
2014-04-15 19:03:51 +02:00
Andrey Zakharov
bacf6d7233
8037925: CMM Testing: an allocated humongous object at the end of the heap should not prevents shrinking the heap
...
New test added.
Reviewed-by: ehelin, tschatzl, jwilhelm
2014-04-15 18:09:53 +02:00
Roland Westrelin
3a724605fc
Merge
2014-04-15 02:27:34 -07:00
Filipp Zhinkin
17ad17c6ec
8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
...
Reviewed-by: kvn, iignatyev
2014-04-15 12:21:24 +04:00
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
Erik Helin
a00bf70f6f
8035667: EventMetaspaceSummary doesn't report committed Metaspace memory
...
Reviewed-by: jmasa, stefank
2014-03-26 14:15:02 +01:00
Per Lidén
15efa470b9
8038461: Test gc/g1/TestStringDeduplicationMemoryUsage.java fails with unexpected memory usage
...
Reviewed-by: jmasa, sjohanss
2014-04-03 10:39:27 +02:00
Lana Steuck
f334b48a84
Merge
2014-03-25 14:52:03 -07:00
Jiangli Zhou
7f7515a809
Merge
2014-03-25 17:33:16 -04:00
Lutz Schmidt
ac75d4fc2f
8037821: Account for trampoline stubs when estimating code buffer sizes
...
Take into account space needed for "trampoline code" used by calls on PPC64.
Reviewed-by: kvn
2014-03-25 12:54:21 -07:00
Lana Steuck
044ef7075b
Merge
2014-03-25 12:32:07 -07:00
Igor Veresov
ddc2f91ab4
8038222: Assembler::bsrl fails on assert when -UseCountLeadingZerosInstruction is used on CPU with LZCNT support
...
Remove the overly strict assert
Reviewed-by: kvn, twisti
2014-03-24 23:13:46 -07:00
Vladimir Kozlov
04e8f32451
8038286: nm->set_rtm_state() should be called after (nm != NULL) check
...
Move set_rtm_state() call after (nm != NULL) check
Reviewed-by: iveresov, twisti
2014-03-24 17:44:27 -07:00
Alejandro Murillo
3273c46daf
8038262: Workaround for ccache in vm.make is missing for aix
...
Reviewed-by: simonis, kvn
2014-03-24 11:51:40 -07:00
Calvin Cheung
1c9ebd2beb
8033566: [parfait] warning from b128 for hotspot/src/share/vm/runtime/frame.cpp: JNI primitive type mismatch
...
Added an assert for checking the return value is <= max_jint
Reviewed-by: coleenp, minqi
2014-03-24 10:48:44 -07:00
Poonam Bajaj
1516f610a1
6653795: C2 intrinsic for Unsafe.getAddress performs pointer sign extension on 32-bit systems
...
Native pointers less than 64 bits wide should be extended as an unsigned number.
Reviewed-by: kvn, kevinw
2014-03-24 08:43:10 -07:00
Dmitry Samersoff
ba76cc617e
Merge
2014-03-23 08:31:44 -07:00
Vladimir Kozlov
93c0cc2aa8
8038181: Can't build product VM without precompiled header
...
Added missing #include.
Reviewed-by: twisti
2014-03-21 18:03:11 -07:00
Filipp Zhinkin
8167043964
8035857: Add tests to verify correctness of operations with BMI1 and LZCNT instructions
...
Reviewed-by: iveresov, kvn, iignatyev
2014-03-22 00:26:48 +04:00
Erik Helin
386f42f40c
Merge
2014-03-21 09:11:56 +01:00
Calvin Cheung
c78becb610
8034034: [parfait] JNI exc. pending in hotspot/agent/src/os/bsd/MacosxDebuggerLocal.m
...
Added JNI exception check in the appropriate places
Reviewed-by: sla, zgu
2014-03-20 14:25:22 -07:00
David Katleman
7011d09724
Added tag jdk9-b05 for changeset 911cca83c115
2014-03-20 13:44:05 -07:00
Goetz Lindenmaier
e3ebae0947
8037962: metaspaceTracer.cpp misses a symbol
...
Reviewed-by: tschatzl, mgerdin
2014-03-20 15:53:17 +01:00
Markus Grönlund
15e6b91ca5
8037340: Linux semaphores to use CLOCK_REALTIME
...
Reviewed-by: dholmes, sla
2014-03-20 14:28:25 +01:00
Goetz Lindenmaier
fc7f4197f1
8037915: PPC64/AIX: Several smaller fixes
...
Reviewed-by: kvn
2014-03-20 11:03:06 +01:00
Vladimir Kozlov
97a51c5c2a
8031320: Use Intel RTM instructions for locks
...
Use RTM for inflated locks and stack locks.
Reviewed-by: iveresov, twisti, roland, dcubed
2014-03-20 17:49:27 -07:00
Christian Thalinger
315e4838e9
8031203: remove SafepointPollOffset
...
Reviewed-by: kvn, roland
2014-03-19 11:37:58 -07:00
Stefan Johansson
1ed5b22d6e
8029186: regression-hotspot nightly failure: assert(FLAG_IS_DEFAULT(MaxNewSize) || MaxNewSize < MaxHeapSize) failed
...
Cleaned up the collector policy and added more asserts to enforce that the heap is correctly setup.
Reviewed-by: jwilhelm, jmasa
2014-03-19 17:08:03 +01:00
Erik Helin
395c71590f
8034094: SA agent can't compile when jni_x86.h is used
...
Reviewed-by: dsamersoff, erikj
2014-03-19 17:04:28 +01:00
Andreas Sjoberg
0a39721031
8026784: Error message in AdaptiveFreeList<Chunk>::verify_stats is wrong
...
Changed faulty error message in the verification code
Reviewed-by: stefank, tschatzl
2014-05-06 09:41:04 +02:00
Jesper Wilhelmsson
f460a98570
Merge
2014-05-02 21:10:31 +00:00
Jesper Wilhelmsson
0346ae4c9d
8027643: Merge GenCollectorPolicy and TwoGenerationCollectorPolicy
...
Merged the two calsses GenCollectorPolicy and TwoGenerationCollectorPolicy
Reviewed-by: sjohanss, jcoomes
2014-04-29 22:57:19 +02:00
Daniel D. Daugherty
9778e277b7
Merge
2014-03-19 07:08:11 -07:00
Lana Steuck
3027e50aff
Merge
2014-03-18 17:49:11 -07:00
Alejandro Murillo
06461f9c1b
8033926: Update hotspot/make/jprt.properties to use jdk 9 instead of jdk 8
...
Reviewed-by: sla, dholmes
2014-03-18 14:07:38 -07:00
Per Lidén
4a4c0fce93
8029075: String deduplication in G1
...
Implementation of JEP 192, http://openjdk.java.net/jeps/192
Reviewed-by: brutisso, tschatzl, coleenp
2014-03-18 19:07:22 +01:00
Coleen Phillimore
4880019b3e
8036630: Null ProtectionDomain in JVM can cause NPE because principals field is not initialized to an empty array
...
Call ProtectionDomain constructor instead of making all fields null.
Reviewed-by: fparain, zgu
2014-03-18 13:45:27 -04:00
Nils Eliasson
5827f6e16c
Merge
2014-03-18 14:22:42 +01:00
Serguei Spitsyn
6c36e9d3fd
6976636: JVM/TI test ex03t001 fails assertion
...
Relax assert in the post_class_unload for the CMS case
Reviewed-by: dcubed, dsamersoff
2014-03-17 19:29:29 -07:00
Zhengyu Gu
da4aab3c1d
8025550: valgrind: Conditional jump depends on uninitialised value in Arena::set_size_in_bytes()
...
Fixed initialized variable that could miscount arena memory
Reviewed-by: coleenp, ccheung
2014-03-17 13:39:17 -04:00
Bharadwaj Yadavalli
52f97b0ee1
8036576: jtreg failed on Test6792161 timed out
...
Increase time out value of test since debug VM executes additional code
Reviewed-by: kvn
2014-03-17 11:33:21 -04:00
Dmitry Samersoff
903d462556
Merge
2014-03-15 04:03:42 -07:00
Vladimir Kozlov
d3f1dc78ef
8037226: compiler/7196199/Test7196199.java fails on 32-bit linux with MaxVectorSize > 16
...
Verify YMM registers after signal processing and set limit on vector's size.
Reviewed-by: iveresov, twisti
2014-03-14 17:28:58 -07:00
Yumin Qi
f2fbd2207d
6536943: Bogus -Xcheck:jni warning for SIG_INT action for SIGINT in JVM started from non-interactive shell
...
Under non-interactive shell, with -Xcheck:jni, check_signal_handler will print out Warning for SHURDOWN2_SIGNAL (SIGINT) which is replaced by non-interactive shell. Fix by supply more information of the replacement to user.
Reviewed-by: acorn, dsamersoff
2014-03-14 14:17:11 -07:00
Alejandro Murillo
1597e5f92a
Merge
2014-03-14 10:31:11 -07:00
Erik Helin
e88724d567
Merge
2014-03-14 13:27:18 +01:00
Frederic Parain
2655375438
8036128: Remove deprecated VM flag UseVMInterruptibleIO
...
Reviewed-by: acorn, dholmes, dcubed, coleenp
2014-03-14 12:02:54 +00:00
Nils Eliasson
8c46e61622
Merge
2014-03-14 09:26:27 +01:00
Erik Helin
358b5bbebc
Merge
2014-03-14 09:18:39 +01:00
Igor Veresov
a415d90691
8037140: C1: Incorrect argument type used for SharedRuntime::OSR_migration_end in LIRGenerator::do_Goto
...
Fix the type of osrBuffer parameter to depend on bitness
Reviewed-by: kvn, twisti
2014-03-13 14:55:34 -07:00
Igor Veresov
af7a190f21
8037149: C1: getThreadTemp should return a T_LONG register on 64bit
...
Fix the type of the register returned by getThreadTemp() to depend on bitness
Reviewed-by: kvn, twisti
2014-03-13 14:55:10 -07:00
Erik Helin
1d21f8975b
Merge
2014-03-12 13:02:47 +01:00
Alejandro Murillo
d7f9269527
Merge
2014-03-11 16:49:35 -07:00
David Katleman
6d3d6f7456
Added tag jdk9-b04 for changeset 7a33ca900ff0
2014-03-11 15:41:45 -07:00
Axel Siebenborn
6035ac234b
8036666: VMTI GetObjectMonitorUsage does not return correct recursion count
...
Fix object lock recursion count and add test
Reviewed-by: sspitsyn, dsamersoff
2014-03-11 15:22:44 +01:00
Yasumasa Suenaga
57d7e49ab1
7090324: gclog rotation via external tool
...
GC log rotation can be set via java command line, but customer sometime need to sync with OS level rotation setting.
Reviewed-by: sla, minqi, ehelin
2014-03-28 21:04:37 -07:00
Christian Tornqvist
0b0fdb97ce
8007890: [TESTBUG] JcmdWithNMTDisabled.java fails when invoked with NMT explicitly turned on
...
Wrapped the test in another layer process creation to avoid NMT being turned on.
Reviewed-by: coleenp, dcubed
2014-03-27 22:36:08 +01:00
Coleen Phillimore
472622d900
8031820: NPG: Fix remaining references to metadata as oops in comments
...
8012125: Comments for ConstantPoolCache should reflect the addition of resolved_references in ConstantPool
Updated comments in metadata header files, and renamed this_oop variables to this_cp or this_k when referring to constant pool or classes.
Reviewed-by: stefank, jmasa
2014-03-26 21:47:45 -04:00
Mikhailo Seledtsov
3c58faecfe
8032222: [TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java fails on Mac OS with java.lang.RuntimeException
...
Excluded the test from running on Mac OS
Reviewed-by: coleenp, ctornqvi
2014-03-25 09:26:18 -04:00
Erik Helin
80025a5e2b
Merge
2014-03-11 15:14:46 +01:00
Vladimir Ivanov
38d80b03c4
8023461: Thread holding lock at safepoint that vm can block on: MethodCompileQueue_lock
...
Reviewed-by: kvn, iveresov
2014-03-11 15:06:34 +04:00
Igor Veresov
54db2c2d61
8032463: VirtualDispatch test timeout with DeoptimizeALot
...
Introduce code aging for warm method detection
Reviewed-by: kvn, twisti
2014-05-13 11:32:10 -07:00
Tobias Hartmann
5938d3d5b9
8021770: BackEdgeThreshold option is no longer used and should be removed
...
The BackEdgeThreshold option is removed because it is no longer used.
Reviewed-by: twisti, kvn, cjplummer
2014-05-13 11:25:17 +02:00
Christian Thalinger
c780be1a3a
Merge
2014-05-12 17:01:57 -07:00
Tobias Hartmann
d2af4e35ec
8029343: CodeCache::allocate increments '_number_of_blobs' even if allocation fails
...
Incrementing the number of code blobs in CodeCache::allocate(...) is now only performed if allocation succeeds. The guarantee is fixed.
Reviewed-by: kvn, iveresov
2014-05-09 09:12:39 +02:00
Christian Thalinger
013509580f
Merge
2014-05-08 15:16:49 -07:00
Albert Noll
ae28b717f4
8042431: compiler/7200264/TestIntVect.java fails with: Test Failed: AddVI 0 < 4
...
Define a new function that determines the minimum number of compiler threads for a particular platform/configuration.
Reviewed-by: kvn
2014-05-08 12:49:21 +02:00
Mikhailo Seledtsov
ce25911489
8026154: [TESTBUG] runtime/CDSCompressedKPtrs/XShareAuto.java failed due to exception
...
Added statements in the tests to handle failures in sharing
Reviewed-by: zgu, ctornqvi
2014-03-10 14:50:20 -04:00
Axel Siebenborn
faad7883f2
8036976: PPC64: implement the template interpreter
...
Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Reviewed-by: kvn, coleenp
2014-03-10 12:58:02 +01:00
Igor Veresov
768beb9a23
8031321: Support Intel bit manipulation instructions
...
Add support for BMI1 instructions
Reviewed-by: kvn, roland
2014-03-12 11:24:26 -07:00
Christian Thalinger
1a1f9f0871
8037043: put Method flag bits in predictable positions
...
Reviewed-by: kvn, coleenp
2014-03-11 14:54:47 -07:00
David Chase
a0bb00ac27
Merge
2014-03-11 10:59:26 -07:00
David Chase
13a70d932e
8028037: [parfait] warnings from b114 for hotspot.src.share.vm
...
Insert null check for one warning; other warning handled in parfait config
Reviewed-by: kvn
2014-03-11 13:38:32 -04:00
Nils Eliasson
f457cabe80
Merge
2014-03-11 11:26:14 -04:00
Igor Veresov
35f1475d20
8025644: java/util/stream/test/org/openjdk/tests/java/util/stream/ToArrayOpTest.java fails with TestData$OfRef): failure java.lang.AssertionError: expected [true] but found [false]
...
In GraphKit::gen_checkcast() provide only exact superklass to GraphKit::maybe_cast_profiled_receiver()
Reviewed-by: kvn, roland
2014-03-10 11:09:02 -07:00
Albert Noll
e8bc971d19
8029799: vm/mlvm/anonloader/stress/oome prints warning: CodeHeap: # of free blocks > 10000
...
Double CodeCacheSegmentSize from 64 byte to 128 bytes if tiered compilation is enabled
Reviewed-by: kvn, twisti
2014-03-07 07:42:40 +01:00
Lana Steuck
5ea1b4439f
Merge
2014-03-06 10:37:26 -08:00
Volker Simonis
87b278c44c
8036777: AIX: Adapt implementation after '6546236: Thread interrupt() of Thread.sleep() can be lost on Solaris.'
...
Reviewed-by: kvn
2014-03-06 14:35:26 +01:00
Vladimir Kozlov
ee8db43354
Merge
2014-03-06 11:12:45 -08:00
Alexander Smundak
f90699ff16
8035647: PPC64: Support for elf v2 abi
...
ELFv2 ABI used by the little endian PowerPC64 on Linux.
Reviewed-by: kvn
2014-03-06 10:55:28 -08:00
Vladimir Ivanov
bd8255eaa4
8036667: "assert(adr->is_AddP() && adr->in(AddPNode::Offset)->is_Con()) failed: offset is a constant" with FoldStableValues on
...
Reviewed-by: kvn
2014-03-06 09:53:14 -08:00
Roland Westrelin
e021d60c5a
Merge
2014-03-06 02:37:44 -08:00
Roland Westrelin
d5ff84f8b3
8032633: Enable type speculation by default
...
Enable type speculation
Reviewed-by: kvn
2014-03-06 11:11:04 +01:00
Igor Ignatyev
8439d7fa51
8027124: [TESTBUG] NonTieredLevelsTest: java.lang.RuntimeException: private TestCase$Helper(java.lang.Object) must be osr_compiled
...
Reviewed-by: kvn, roland
2014-03-06 12:47:45 +04:00
Igor Ignatyev
4f2175f088
8027257: [TESTBUG] compiler/ciReplay/TestVM.sh : Error: Could not find or load main class negative_test
...
Reviewed-by: roland, kvn
2014-03-06 12:46:04 +04:00
Igor Ignatyev
54177912e8
8028482: [TESTBUG] tests that use JMX should be in need_compact3 test group
...
Reviewed-by: roland, sla, dholmes
2014-03-06 12:45:59 +04:00
Mikael Gerdin
74235d9630
8038399: Remove dead oop_iterate MemRegion variants from SharedHeap, Generation and Space classes
...
Reviewed-by: tschatzl, stefank
2014-03-06 09:08:18 +01:00
Erik Helin
102943d1f2
8033580: Old debug information in IMPORT_JDK is not removed
...
Reviewed-by: dcubed, erikj
2014-03-19 14:35:38 +01:00
Tao Mao
7a39c2c7d5
6521376: MaxTenuringThreshold and AlwayTenure/NeverTenure consistency
...
Adapt InitialTenuringThreshold and MaxTenuringThreshold according to AlwaysTenure/NeverTenure flag setting.
Reviewed-by: jmasa, tschatzl
2014-03-26 12:49:34 +01:00
Mikael Gerdin
547e8e4b75
8037958: ConcurrentMark::cleanup leaks BitMaps if VerifyDuringGC is enabled
...
Allocate temporary BitMaps in the VMThread's resource area
Reviewed-by: stefank, sjohanss
2014-03-26 10:54:52 +01:00
Erik Helin
63db52b7ed
Merge
2014-03-24 11:25:32 +01:00
Stefan Karlsson
8159b86e35
8037952: Remove code duplication in Metaspace::deallocate
...
Reviewed-by: tschatzl, pliden, coleenp
2014-03-20 15:03:18 +01:00
Vladimir Kozlov
533560cb3e
8035983: Fix "Native frames:" in crash report (hs_err file)
...
Check fr.sender_sp() in java thread instead of os::is_first_C_frame(&fr).
Reviewed-by: twisti, coleenp
2014-03-05 16:21:22 -08:00
Mikhailo Seledtsov
eedf369513
8033990: Add message to verbose output to indicate when JVM was unable to use shared archive (with -Xshare:auto)
...
Added message to indicate when sharing was attempted but failed
Reviewed-by: coleenp, ctornqvi
2014-03-05 12:31:09 -05:00
Jon Masamitsu
8c7d064ee8
7098155: Resize young gen at full collections for UseParallelGC
...
Reviewed-by: tschatzl
2014-03-05 07:34:35 -08:00
Roland Westrelin
7bee30f699
8036146: make CPP interpreter build again
...
Fix build of CPP interpreter on x86 and sparc
Reviewed-by: kvn
2014-03-05 15:14:25 +01:00
Roland Westrelin
7f243a6751
Merge
2014-03-05 02:41:57 -08:00
Albert Noll
a09c80205a
Merge
2014-03-05 01:26:52 -08:00
Albert Noll
9e39a2797d
8036091: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
...
Start test with -XX:-TieredCompilation so that one compiler thread works
Reviewed-by: kvn, twisti
2014-03-05 10:20:30 +01:00
Roland Westrelin
38fd717c30
8035841: assert(dp_src->tag() == dp_dst->tag()) failed: should be same tags 1 != 0 at ciMethodData.cpp:90
...
Concurrent update of traps with construction of ciMethodData
Reviewed-by: kvn, twisti
2014-03-05 09:29:12 +01:00
Albert Noll
796f0c989b
Merge
2014-03-04 21:15:33 -08:00
Albert Noll
9150b93093
8036092: [TESTBUG] compiler/uncommontrap/TestSpecTrapClassUnloading.java fails with: Unrecognized VM option 'UseTypeSpeculation'
...
Add -XX:+IgnoreUnrecognizedVMOptions to @main/othervm to make the test pass on Client VM
Reviewed-by: kvn, roland
2014-03-05 06:08:19 +01:00
Mario Torre
694a2d010b
8036619: Shark: add LLVM 3.4 support
...
Reviewed-by: twisti
2014-03-04 18:52:06 -08:00
Volker Simonis
7d7f4bf62a
8036614: AIX: fix adjust-mflags.sh to build with GNU Make 4.0 (adapt 8028407 for AIX)
...
Reviewed-by: kvn
2014-03-04 17:14:00 +01:00
Vladimir Ivanov
fc6e8666a1
8036100: Default method returns true for a while, and then returns false
...
Reviewed-by: kvn, jrose
2014-03-04 02:33:10 -08:00
Vladimir Ivanov
1dbe60a475
8025842: Convert warning("Thread holding lock at safepoint that vm can block on") to fatal(...)
...
Reviewed-by: iveresov, roland, coleenp
2014-03-04 02:23:16 -08:00
Vladimir Ivanov
3ba019c8b2
8035828: Turn on @Stable support in VM
...
Reviewed-by: jrose, twisti
2014-03-04 02:20:41 -08:00
Vladimir Ivanov
132fd335eb
8035887: VM crashes trying to force inlining the recursive call
...
Reviewed-by: kvn, twisti
2014-03-04 02:19:04 -08:00
Coleen Phillimore
1a95f3a409
8035735: Metaspace::contains become extremely slow in some cases
...
Call is_metadata instead which does less work for the call in debugInfo.hpp which is called for all compiled code stack frames.
Reviewed-by: jmasa, dcubed
2014-03-03 13:58:52 -05:00
Aleksey Shipilev
1d10b6813e
8031818: Experimental VM flag for enforcing safe object construction
...
-XX:+AlwaysSafeConstructors to unconditionally emit the trailing constructor barrier.
Reviewed-by: kvn, roland
2014-03-03 15:31:27 +04:00
Aleksey Shipilev
c4bd0f58d3
8033380: Experimental VM flag to enforce access atomicity
...
-XX:+AlwaysAtomicAccesses to unconditionally enforce the access atomicity.
Reviewed-by: roland, kvn, iveresov
2014-03-03 15:54:45 +04:00
Goetz Lindenmaier
4b9933a012
8036122: Fix warning 'format not a string literal'
...
Reviewed-by: mduigou, kvn
2014-03-03 11:54:35 +01:00
Coleen Phillimore
e8d4b7aee3
8036547: test/runtime/CompressedOops/CompressedClassPointers.java fails with product build since -XX:+PrintMiscellaneous is a debug only flag
...
Use PrintCompressedOopsMode and these other flags that match printing compressed oop information
Reviewed-by: ctornqvi, sla
2014-03-04 09:57:16 -05:00
Dmitry Samersoff
4482a30c61
8036102: part of the fix for 6498581 lost in mismerge
...
Restore code lost in mis-merge
Reviewed-by: dcubed
2014-03-01 09:56:15 -08:00
Serguei Spitsyn
791b5d2b0d
6471769: Error: assert(_cur_stack_depth == count_frames(),"cur_stack_depth out of sync")
...
It is more safe to get/update data for suspended threads at a safepoint
Reviewed-by: dcubed, twisti, dholmes
2014-03-01 08:05:55 -08:00
Dmitry Samersoff
e1998b8813
Merge
2014-03-01 01:36:48 -08:00
Alejandro Murillo
ad8d066a4a
Merge
2014-02-28 09:30:20 -08:00
Morris Meyer
c696dd6700
Merge
2014-02-28 08:02:20 -08:00
Jesper Wilhelmsson
1e1ad7f132
8036025: Sort the freelist in order to shrink the heap
...
The free list is being maintained in a sorted fashion and old and humongous regions are allocated from the bottom of the heap while young regions are allocated at the top.
Co-authored-by: Staffan Friberg <staffan.friberg@oracle.com>
Reviewed-by: tschatzl, mgerdin
2014-02-28 15:27:09 +01:00
Erik Helin
853fffb2cb
8036703: Add trace event with statistics for the metaspace chunk free lists
...
Reviewed-by: stefank, mgerdin, coleenp, egahlin
2014-03-18 09:03:28 +01:00
Erik Helin
0a79ba6680
8036701: Add trace event when a metaspace throws out of memory error
...
Reviewed-by: stefank, mgerdin
2014-03-18 08:00:21 +01:00
Erik Helin
b533eca89d
8036699: Add trace event when a metaspace allocation fails
...
Reviewed-by: jmasa, stefank
2014-03-18 07:00:06 +01:00
Bengt Rutisson
ddce6492be
8037495: Remove platform specific specification of SurvivorRatio for BSD
...
Reviewed-by: mgerdin, stefank
2014-03-18 06:15:45 +01:00
Andrey Zakharov
29387ae1a7
8037510: CMM Testing: Check Min/MaxHeapFreeRatio flags allows to shrink the heap when using ParallelGC
...
Added tests for Min/MaxHeapFreeRatio flags
Reviewed-by: jwilhelm, tschatzl
2014-03-17 16:29:13 +01:00
Erik Helin
51584519f4
8036698: Add trace event for updates to metaspace gc threshold
...
Reviewed-by: stefank, mgerdin
2014-03-17 20:59:19 +01:00
Erik Helin
1fb0683664
8036696: Add metaspace gc threshold to metaspace summary trace event
...
Reviewed-by: jmasa, stefank, mgerdin
2014-03-17 17:31:46 +01:00
Per Lidén
731ef44b87
8036673: G1: Abort weak reference processing if mark stack overflows
...
Reviewed-by: brutisso, tschatzl
2014-03-17 15:18:45 +01:00
Per Lidén
d75f47a49d
8036672: G1: alloc_purpose in copy_to_survivor_space() used incorrectly
...
Reviewed-by: brutisso, tschatzl
2014-03-17 15:18:38 +01:00
Erik Helin
616b86635d
Merge
2014-03-17 15:12:33 +01:00
Erik Helin
c45adf1dca
Merge
2014-03-17 14:54:12 +01:00
Bengt Rutisson
13792b1aa7
8037407: G1: Remove heapRegionSets.cpp
...
Reviewed-by: tschatzl, pliden
2014-03-17 13:42:16 +01:00
Thomas Schatzl
a07b2194f7
8036860: Pad and cache-align the BiasedMappedArray
...
Pad and cache-align BiasedMappedArray instances by default to avoid performance variability problems due to false sharing, as instances of this data structures are typically used for performance sensitive code.
Reviewed-by: brutisso, stefank
2014-03-17 13:07:55 +01:00
Thomas Schatzl
483ea400a5
8035330: Remove G1ParScanPartialArrayClosure and G1ParScanHeapEvacClosure
...
Mentioned closures are actually wrapped methods. This adds confusion to readers, and in this case also increases code size as G1ParScanHeapEvacClosure is part of the oop_oop_iterate() methods. Move them into G1ParScanThreadState as methods.
Reviewed-by: stefank
2014-03-17 10:07:51 +01:00
Thomas Schatzl
375e6df9ee
8034868: Extract G1 From Card Cache into separate class
...
Refactor the From Card Cache into a separate class.
Reviewed-by: jmasa
2014-03-17 10:13:55 +01:00
Thomas Schatzl
2a8616c9d6
8035654: Add times for evacuation failure handling in "Other" time
...
Detailed breakdown of time spent in the evacuation failure handling phases to make the "Other" time roughly correspond to the sum of its parts.
Reviewed-by: jwilhelm, jmasa
2014-03-17 10:13:42 +01:00
Thomas Schatzl
80188ce0b2
8035398: Add card redirty time in "Other" time in G1
...
Show the time taken by card redirtying during GC in a new "Redirty Cards" line.
Reviewed-by: jwilhelm, brutisso
2014-03-17 10:13:27 +01:00
Thomas Schatzl
d3e28ca682
8027295: Free CSet takes ~50% of young pause time
...
Improve fast card cache iteration and avoid taking locks when freeing the collection set.
Reviewed-by: brutisso
2014-03-17 10:13:18 +01:00
Thomas Schatzl
cde8aa670b
8035815: Cache-align and pad the from card cache
...
The from card cache is a very frequently accessed data structure. It is essentially a 2d array of per-region values, one row of values for every GC thread. Pad and align the data structure to avoid false sharing.
Reviewed-by: stefank
2014-03-17 10:12:47 +01:00
Thomas Schatzl
329e55e7b0
8035406: Improve data structure for Code Cache remembered sets
...
Change the code cache remembered sets data structure from a GrowableArray to a chunked list of nmethods. This makes the data structure more amenable to parallelization, and decreases freeing time.
Reviewed-by: mgerdin, brutisso
2014-03-17 10:12:21 +01:00
Bengt Rutisson
c88e3def4d
8034079: G1: Refactor the HeapRegionSet hierarchy
...
Reviewed-by: tschatzl, pliden
2014-03-14 10:15:46 +01:00
Erik Helin
000c4d9734
Merge
2014-02-28 14:56:04 +01:00
Roland Westrelin
227129c4d9
8031754: Type speculation should favor profile data from outermost inlined method
...
Favor profile data coming from outer most method
Reviewed-by: kvn, twisti
2014-02-28 13:44:16 +01:00
Ivan Gerasimov
9bb0f46d00
8035893: JVM_GetVersionInfo fails to zero structure
...
Reviewed-by: sla, zgu
2014-02-28 16:00:40 +04:00
Staffan Larsen
1d81fd35d6
8036010: hs: Some jtreg tests use hard coded ports
...
Bind to an ephemeral port
Reviewed-by: jbachorik, sla
2014-02-28 14:30:25 +04:00
Goetz Lindenmaier
74db1cc753
8035970: PPC64: fix ad file after 8027754: Enable loop optimizations for loops with MathExact
...
Reviewed-by: kvn
2014-02-27 20:40:24 +01:00
Stefan Karlsson
959bdfb211
8035746: Add missing Klass::oop_is_instanceClassLoader() function
...
Reviewed-by: mgerdin, coleenp
2014-02-27 10:36:50 +01:00
Stefan Karlsson
ba2326e19f
8035648: Don't use Handle in java_lang_String::print
...
Reviewed-by: coleenp, pliden
2014-02-27 10:34:55 +01:00
Roland Westrelin
58c97205d0
8032011: nsk/stress/jck60/jck60022 crashes in src\share\vm\runtime\synchronizer.cpp:239
...
Biased locking's revoke_bias locks monitor in compiled frame with eliminated lock
Reviewed-by: kvn, iveresov
2014-02-27 09:37:16 +01:00
Igor Veresov
2c99a4ef9f
8035283: Second phase of branch shortening doesn't account for loop alignment
...
Added missing check for loop padding case.
Reviewed-by: kvn, jrose
2014-02-26 16:45:15 -08:00
Yumin Qi
bfb1c42657
6498581: ThreadInterruptTest3 produces wrong output on Windows
...
There is race condition between os::interrupt and os::is_interrupted on Windows. In JVM_Sleep(Thread.sleep), check if thread gets interrupted, it may see interrupted but not really interrupted so cause spurious waking up (early return from sleep). Fix by checking if interrupt event really gets set thus prevent false return. For intrinsic of _isInterrupted, on Windows, go fastpath only on bit not set.
Co-authored-by: David Holmes <david.holmes@oracle.com>
Reviewed-by: acorn, kvn
2014-02-26 15:20:41 -08:00
Goetz Lindenmaier
c01a8b9263
8035396: Introduce accessor for tmp_oop in frame
...
Avoid #ifs by introducing the accessor function interpreter_frame_temp_oop_addr().
Reviewed-by: kvn, twisti
2014-02-26 11:33:34 -08:00
Staffan Larsen
e1e850a132
8035150: ShouldNotReachHere() in ConstantPool::copy_entry_to
...
Reviewed-by: dcubed, mgronlun
2014-02-26 15:47:44 +01:00
Jesper Wilhelmsson
ead6152f73
8035822: Unable to test minimalVM
...
Moved the test code inside INCLUDE_ALL_GCS
Reviewed-by: dholmes, stefank
2014-02-26 14:52:42 +01:00
Albert Noll
6dcf058035
Merge
2014-02-26 02:54:49 -08:00
Albert Noll
1258452546
Merge
2014-02-26 02:38:46 -08:00
Albert Noll
aa570e227c
8034839: jvm hangs with gc/gctests/LoadUnloadGC test
...
Provide fast lookup of checked dependencies via hashmap
Reviewed-by: kvn, roland
2014-02-26 11:29:47 +01:00
Henry Jen
ac4f26242b
8033898: undefined symbol when build hotspot with Xcode5
...
Reviewed-by: sla, dholmes
2014-02-25 23:59:04 -08:00
Niclas Adlertz
94a86285a7
8010500: [parfait] Possible null pointer dereference at hotspot/src/share/vm/opto/loopnode.hpp
...
Added NULL check for loopnode() in get_pre_loop_end()
Reviewed-by: kvn, roland
2014-02-26 07:46:46 +01:00
Albert Noll
39b5a040cd
8032642: [TESTBUG] Fix testbugs in compiler/startup/.*
...
Fixed issues with these tests
Reviewed-by: kvn, twisti
2014-02-26 07:44:59 +01:00
Roland Westrelin
84c68fc78a
Merge
2014-02-25 10:42:25 -08:00
Roland Westrelin
493557fc90
8031752: Failed speculative optimizations should be reattempted when root of compilation is different
...
Support for speculative traps that keep track of the root of the compilation in which a trap occurs.
Reviewed-by: kvn, twisti
2014-02-25 18:16:24 +01:00
Niclas Adlertz
5d4b624caf
8033260: assert(lrg._area >= 0.0) failed: negative spill area
...
Change type from float to double on block frequency, and add check for +Inf - +Inf operation
Reviewed-by: kvn, roland
2014-02-25 17:51:27 +01:00
Niclas Adlertz
532b570e81
8032656: Tag the MachSpillCopies with purpose information
...
Subclassed the MachSpillCopyNode with different subnodes for different spill purposes to enhance debugging / visualization
Reviewed-by: kvn, roland
2014-02-25 14:09:02 +01:00
Albert Noll
a609fe84bb
8034775: Failing to initialize VM when running with negative value for -XX:CICompilerCount
...
Ensure appropriate min. number of compiler threads (1 for non-tiered, and 2 for tiered)
Reviewed-by: kvn
2014-02-25 13:52:37 +01:00
Erik Helin
a45b9ead44
Merge
2014-02-25 11:02:11 +01:00
Niclas Adlertz
e3931e81eb
8032894: Remove dead code in Pressure::lower
...
Remove dead code in Pressure::lower
Reviewed-by: kvn, roland
2014-02-25 10:26:21 +01:00
Calvin Cheung
bfbc3a0d51
8025519: [TESTBUG] runtime/7107135/Test7107135.sh need to use COMPILEJAVA for javac task
...
Modified some tests to use COMPILEJAVA instead of TESTJAVA for javac and include path
Reviewed-by: dholmes, mseledtsov
2014-02-24 21:54:22 -08:00
Lana Steuck
d2ff220cc2
Merge
2014-02-24 12:56:19 -08:00
Thomas Schatzl
7de1730b10
8034948: Back out JDK-6976350 since it does not fix any issue
...
Revert JDK-6976350 because it does not improve PLAB fragmentation. To the contrary, it tends to increase the amount of wasted space with many threads.
Reviewed-by: brutisso
2014-02-24 10:45:15 +01:00
Jaroslav Bachorik
2b75897176
4505697: nsk/jdi/ExceptionEvent/_itself_/exevent006 and exevent008 tests fail with InvocationTargetException
...
Reviewed-by: dcubed, dholmes, sspitsyn
2014-02-24 10:28:22 +01:00
Markus Grönlund
605e69a0dc
8035650: Exclude AIX from VS.NET make/windows/projectcreator.make
...
Reviewed-by: dholmes, sla
2014-02-24 13:29:14 +01:00
Thomas Schatzl
2ae60596ed
8035329: Move G1ParCopyClosure::copy_to_survivor_space into G1ParScanThreadState
...
Move G1ParCopyClosure::copy_to_survivor_space to decrease code size.
Reviewed-by: stefank, jmasa
2014-02-24 09:41:04 +01:00
Thomas Schatzl
dbc8581147
8035326: Assume non-NULL references in G1CollectedHeap::in_cset_fast_test
...
Remove the assumption that G1CollectedHeap::in_cset_fast_test needs to check for NULL references. Most of the time this is not required, making the code doing this check multiple times.
Reviewed-by: stefank, mgerdin, jmasa
2014-02-24 09:40:49 +01:00
Thomas Schatzl
6c588725c1
8027559: Decrease code size and templatizing in G1ParCopyClosure::do_oop_work
...
Move methods that are not dependent on any of G1ParCopyClosure's template parameters into G1ParCopyHelper. Further remove unused methods and members of the class hierarchy.
Reviewed-by: mgerdin, stefank
2014-02-24 09:40:21 +01:00
Axel Siebenborn
cdc5c0c966
8034867: Object references from expression stack are not visible as roots via jvmti FollowReferences and HeapDump
...
The heap walking is inconsistent without following references from expression stack, so need to fix it
Reviewed-by: coleenp, sspitsyn
2014-02-23 22:36:19 -08:00
Harold Seigel
b2c117b170
Merge
2014-02-23 13:16:03 -05:00