953 Commits

Author SHA1 Message Date
Jiangli Zhou
ad65e81ce7 8044269: Analysis of archive files
Add checksum verification.

Reviewed-by: iklam, dholmes, mschoene
2014-10-14 18:47:46 -07:00
Daniel D. Daugherty
f1ab0fae73 8049737: Contended Locking reorder and cache line bucket
JEP-143/JDK-8046133 - optimization #1 - reorder and cache line bucket.

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: shade, dice, dholmes, dsimms
2014-10-14 10:32:12 -07:00
Mikael Gerdin
8daca859f8 8055479: TLAB stability
Reviewed-by: brutisso, stefank, ahgross
2014-10-09 15:42:23 +02:00
Igor Veresov
0f0d955738 Merge 2014-10-03 01:10:39 +00:00
Erik Helin
6f4355a3a6 8049599: MetaspaceGC::_capacity_until_GC can overflow
Reviewed-by: jmasa, stefank
2014-10-01 16:09:01 +02:00
Zoltan Majo
72eb3f0643 8059390: code cache fills up for bigapps/Weblogic+medrec/nowarnings
Retrieve code heap in CodeCache::allocate(), ::report_codemem_full(), and ::unallocated_capacity()  also if segmented code cache is disabled.

Reviewed-by: vlivanov, thartmann
2014-10-01 10:01:46 +02:00
Erik Helin
d072dfaf9d 8058963: CollectorPolicy::satisfy_failed_metadata_allocation can avoid some safepoints
Reviewed-by: brutisso, mgerdin
2014-09-29 10:38:50 +02:00
Kim Barrett
72a9a49cfb 8047125: (ref) More phantom object references
Reviewed-by: mchung, dfuchs, ahgross, jmasa, brutisso, mgerdin
2014-09-26 17:48:10 -04:00
Jesper Wilhelmsson
f9b921bd25 Merge 2014-09-22 16:22:21 +02:00
David Chase
f92d959195 8058827: XCode 6.0 (Clang) warning "operator new' should not return a null pointer unless..."
Rewrote the null pointer in a way that is not recognized by the compiler (the code is never executed).

Reviewed-by: kvn
2014-09-22 14:19:11 -04:00
Niclas Adlertz
37c8ef911c Merge 2014-09-19 17:14:13 +02:00
Jesper Wilhelmsson
e97944b0b1 Merge 2014-09-18 19:41:50 +02:00
Tobias Hartmann
cd01de591a 8015774: Add support for multiple code heaps
Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types.

Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla
2014-09-17 08:00:07 +02:00
Christian Tornqvist
9e6d432562 8022865: [TESTBUG] Compressed Oops testing needs to be revised
Rewrote compressed oops tests

Reviewed-by: kvn, coleenp, mseledtsov
2014-09-11 17:54:22 -07:00
John Coomes
d50a563314 8057827: notify an obj when allocation context stats are available
Reviewed-by: mikael, jmasa, tschatzl
2014-09-10 16:06:53 -07:00
Stefan Johansson
3e6d46d28b 8057658: Enable G1 FullGC extensions
Refactored the G1 FullGC code to enable it to be extended.

Reviewed-by: mgerdin, brutisso
2014-09-09 00:05:25 +02:00
Jon Masamitsu
2d8379afd4 Merge 2014-09-04 12:25:05 -07:00
Marcus Larsson
59bc281604 8035729: Code using assert(is_oop_or_null) needs better error messages
Modified error messages to include the oops

Reviewed-by: stefank, tschatzl
2014-09-18 11:04:00 +02:00
Marcus Larsson
f6ab247c45 8055091: CollectedHeap::_reserved usage should be cleaned up
Added an initialization function for _reserved.

Reviewed-by: mgerdin, jwilhelm
2014-09-18 12:45:45 +02:00
Serguei Spitsyn
f1aa6a6d0c Merge 2014-08-29 11:35:03 -07:00
Mikael Gerdin
10379e7e82 8048268: G1 Code Root Migration performs poorly
Replace G1CodeRootSet with a Hashtable based implementation, merge Code Root Migration phase into Code Root Scanning

Reviewed-by: jmasa, brutisso, tschatzl
2014-08-29 13:12:21 +02:00
Jon Masamitsu
a85209f8a5 Merge 2014-08-28 11:25:09 -07:00
Volker Simonis
d9da8946df 8056175: Change "8048150: Allow easy configurations for large CDS archives" triggers conversion warning with older GCC
Cast the result of the conversion to uintx

Reviewed-by: ccheung, coleenp
2014-08-27 10:42:28 -07:00
Stefan Johansson
204425b78f 8028787: tmtools/jstat/gcoldcapacity/jstat_gcoldcapacity02 fails nsk.share.Failure: OGC < OGCMN in RT_Baseline
Passing the min and max size of the generation into the counter instead of using the space to estimate sizes.

Reviewed-by: stefank, tschatzl
2014-08-27 09:47:06 +02:00
Calvin Cheung
e7456dcf86 8048150: Allow easy configurations for large CDS archives
Estimate the size of shared archive based on the number of classes in the classlist file

Reviewed-by: iklam, jiangli, minqi, dholmes
2014-08-25 00:13:36 -07:00
Jon Masamitsu
ab48e9abc1 Merge 2014-08-22 07:12:23 -07:00
Jesper Wilhelmsson
66abbc4862 Merge 2014-09-18 18:19:44 +02:00
Jesper Wilhelmsson
e238141b5c 8061802: REDO - Remove the generations array
The _gens array is removed and replaced by explicit _young_gen and _old_gen variables.

Reviewed-by: kbarrett, mgerdin
2014-08-22 10:10:08 +02:00
Stefan Karlsson
0241e477f1 8073388: Get rid of the depenecy from handles.hpp to oop.inline.hpp
Reviewed-by: mgerdin, coleenp
2015-02-18 09:22:37 +01:00
Jesper Wilhelmsson
71edbb2d96 8055702: Remove the generations array
The _gens array is removed and replaced by explicit _young_gen and _old_gen variables.

Reviewed-by: mgerdin, kbarrett
2014-08-22 10:10:08 +02:00
Daniel D. Daugherty
4e9a6c7d35 Merge 2014-08-22 11:23:36 -07:00
Staffan Larsen
fe076d8a29 8055754: filemap.cpp does not compile with clang
Reviewed-by: kvn, iklam, coleenp
2014-08-22 08:13:38 +02:00
Jon Masamitsu
0b2abe6053 Merge 2014-08-21 10:51:31 -07:00
Leonid Mesnik
6715fc0bed 8055098: WB API should be extended to provide information about size and age of object
Extend the WhiteBox API to provide information about the size and age of objects. Further add a mechanism to trigger a young GC.

Reviewed-by: tschatzl, sjohanss
2014-08-21 16:44:41 +02:00
Thomas Schatzl
100e51a339 8038423: G1: Decommit memory within heap
Allow G1 to decommit memory of arbitrary regions within the heap and their associated auxiliary data structures card table, BOT, hot card cache, and mark bitmaps.

Reviewed-by: mgerdin, brutisso, jwilhelm
2014-08-19 14:09:10 +02:00
Serguei Spitsyn
bc23c9949e Merge 2014-08-15 11:25:55 -07:00
Daniel D. Daugherty
8937a201e0 Merge 2014-08-13 13:29:45 -07:00
Ioi Lam
bbe6f51f81 8046070: Class Data Sharing clean up and refactoring
Cleaned up CDS to be more configurable, maintainable and extensible

Reviewed-by: dholmes, coleenp, acorn, mchung
2014-08-12 17:29:00 -07:00
Zhengyu Gu
d595244c27 Merge 2014-08-11 07:20:39 -07:00
Zhengyu Gu
f0cf82f571 8046598: Scalable Native memory tracking development
Enhance scalability of native memory tracking

Reviewed-by: coleenp, ctornqvi, gtriantafill
2014-08-07 12:18:58 -07:00
Stefan Karlsson
ef47f5dc0e 8048269: Add flag to turn off class unloading after G1 concurrent mark
Added -XX:+/-ClassUnloadingWithConcurrentMark

Reviewed-by: jmasa, brutisso, mgerdin
2014-08-06 09:55:16 +02:00
Jon Masamitsu
e57b1279b2 8034056: assert(_heap_alignment >= _space_alignment) failed: heap_alignment less than space_alignment
Reviewed-by: tschatzl, sjohanss
2014-08-05 15:41:12 -07:00
Albert Noll
6520320d1a 8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full
Use separate sweeper thread; enables more aggressive sweeping.

Reviewed-by: kvn, jrose
2014-10-24 14:25:46 +02:00
Jon Masamitsu
5f2c33e42b 8031323: Optionally align objects copied to survivor spaces
Reviewed-by: brutisso, tschatzl
2014-08-01 15:40:12 -07:00
Jon Masamitsu
e242f23105 Merge 2014-07-23 14:06:28 -07:00
Thomas Schatzl
bc56e061ec 8048112: G1 Full GC needs to support the case when the very first region is not available
Refactor preparation for compaction during Full GC so that it lazily initializes the first compaction point. This also avoids problems later when the first region may not be committed. Also reviewed by K. Barrett.

Reviewed-by: brutisso
2014-07-21 10:00:31 +02:00
Coleen Phillimore
e051932425 Merge 2014-07-18 11:22:49 -04:00
Coleen Phillimore
3f0a945468 8004128: NPG: remove stackwalking in Threads::gc_prologue and gc_epilogue code
Remove bcx and mdx handling.  We no longer have to convert bytecode pointers to indices for GC since Methods aren't moved.

Reviewed-by: mgerdin, kvn
2014-07-17 15:45:46 -04:00
Coleen Phillimore
c9b2bc62c9 Merge 2014-07-14 10:15:21 -04:00
Jon Masamitsu
fbe6d80096 Merge 2014-07-10 13:39:18 -07:00