4692 Commits

Author SHA1 Message Date
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
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
Erik Helin
9fc2b0affb Merge 2014-04-14 10:08:10 +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
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
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
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
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
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
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
Goetz Lindenmaier
419ae8206b 8039045: PPC64: need include in adl generated files after 8001532
Reviewed-by: kvn
2014-04-02 10:16:46 +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
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
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
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