Staffan Larsen
0ef4fb7100
8040140: System.nanoTime() is slow and non-monotonic on OS X
...
Reviewed-by: sspitsyn, shade, dholmes, acorn
2014-04-25 07:40:33 +02:00
Bharadwaj Yadavalli
ce3b7871d0
Merge
2014-04-24 17:20:29 -04:00
Alejandro Murillo
a162ea836e
8030011: Update Hotspot version string output
...
Reviewed-by: dholmes, jcoomes, kvn
2014-04-24 14:06:40 -07:00
Tobias Hartmann
d16c89c108
8041468: Field nmethod::_lock_count should be declared volatile
...
The jint field nmethod::_lock_count which is used in nmethodLocker::lock_nmethod and nmethodLocker::unlock_nmethod should be declared volatile (see also signature of Atomic::inc)
Reviewed-by: kvn, roland
2014-04-24 09:47:34 +02:00
Michal Frajt
bc55ed0b83
8038265: CMS: enable time based triggering of concurrent cycles
...
Reviewed-by: mgerdin, brutisso
2014-04-23 12:37:36 +02:00
Erik Helin
1e094bab2d
Merge
2014-04-23 10:12:34 +02:00
Vladimir Kozlov
26de6296e0
8041351: Crash in src/share/vm/opto/loopnode.cpp:3215 - assert(!had_error) failed: bad dominance
...
Add missing is_mem() check when we collect load nodes in SuperWord::co_locate_pack().
Reviewed-by: iveresov
2014-04-22 17:45:56 -07:00
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
Bharadwaj Yadavalli
32024b5144
Merge
2014-04-17 13:50:26 -04: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
Bengt Rutisson
5d967f0aea
8040722: G1: Clean up usages of heap_region_containing
...
Reviewed-by: tschatzl, jmasa
2014-04-17 15:57:02 +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
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
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
Peter Allwin
d048828d66
Merge
2014-04-14 10:43:04 +02:00
Erik Helin
9fc2b0affb
Merge
2014-04-14 10:08:10 +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
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
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 Ignatyev
613af45d92
8039597: WhiteBox :: clean type profiling data
...
Reviewed-by: kvn, roland
2014-04-09 22:37:37 +04: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
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
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