1154 Commits

Author SHA1 Message Date
David Lindholm
04fdb5ca76 8076055: cms: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: brutisso, tschatzl
2015-03-27 15:10:11 +01:00
David Lindholm
dcd40878af 8076054: g1: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: brutisso, stefank
2015-03-27 15:03:44 +01:00
Bengt Rutisson
fd46a24a3e 8076076: Move SharedHeap::print_size_transition() into G1 code
Reviewed-by: tschatzl, mgerdin
2015-03-27 09:28:47 +01:00
Jesper Wilhelmsson
2c63bc9175 8075635: Remove GenerationSpec array
Replaced the array with explicit variables for young and old

Reviewed-by: kbarrett, mgerdin
2015-03-16 13:28:27 +01:00
Stefan Karlsson
ba1d121fe0 8075957: Reduce calls to the GC specific object visitors in oopDesc
Reviewed-by: brutisso, mgerdin, pliden
2015-03-26 11:28:19 +01:00
Stefan Karlsson
602b7d79e9 8075829: Move CSpaceCounters implementation to cSpaceCounters.cpp
Reviewed-by: jwilhelm, brutisso
2015-03-25 10:13:56 +01:00
Stefan Karlsson
b980d93909 8075809: Add missing includes of stack.inline.hpp
Reviewed-by: jmasa, pliden
2015-03-25 10:08:09 +01:00
Stefan Karlsson
0c57e77d43 8075803: Fix GC includes and forward declarations
Reviewed-by: pliden, mgerdin
2015-03-24 11:21:21 +01:00
Jesper Wilhelmsson
5f5b27baba Merge 2015-03-23 22:08:14 +01:00
Zoltan Majo
379e3d6fb6 Merge 2015-03-19 18:01:39 +01:00
Coleen Phillimore
57f3125882 Merge 2015-03-13 18:59:41 +00:00
Coleen Phillimore
7b384c6958 8061205: MetadataOnStackMark only needs to walk code cache during class redefinition
Only do full metadata walk during class redefinition and only walk handles during class unloading.

Reviewed-by: sspitsyn, stefank
2015-03-13 12:40:39 -04:00
Sangheon Kim
1a4c355bbc 8073654: Marking statistics should use size_t
Change data type from int to size_t to avoid overflows

Reviewed-by: jwilhelm, drwhite, tschatzl
2015-03-09 09:30:16 -07:00
Jesper Wilhelmsson
c1bc0a31b2 8074459: Flags handling memory sizes should be of type size_t
Changed the type to size_t for flags that handles memory sizes

Reviewed-by: kbarrett, tschatzl
2015-03-03 18:01:27 +01:00
Thomas Schatzl
77fc522153 Merge 2015-03-03 13:25:23 +00:00
Thomas Schatzl
2d22f2780c 8073466: Remove buffer retaining functionality and clean up in ParGCAllocBuffer
Reviewed-by: jmasa, kbarrett
2015-03-03 12:38:42 +01:00
David Lindholm
a827cdfa10 8073464: GC workers do not have thread names
Reviewed-by: brutisso, tschatzl
2015-03-03 12:19:35 +01:00
Bengt Rutisson
8c7781ec72 8027962: Per-phase timing measurements for strong roots processing
Reviewed-by: tschatzl, ecaspole
2015-03-19 15:25:54 +01:00
Kim Barrett
40d3986051 8069016: Add BarrierSet downcast support
Add FakeRttiSupport utility and use to provide barrier_set_cast.

Reviewed-by: jmasa, sangheki
2015-02-27 19:52:48 -05:00
Goetz Lindenmaier
a7edf52a02 8073315: Enable gcc -Wtype-limits and fix upcoming issues
Relevant fixes in blockOffsetTable.cpp, os_linux.cpp, parCardTableModRefBS.cpp.

Reviewed-by: jwilhelm, kbarrett, simonis
2015-02-16 14:07:36 +01:00
Erik Helin
be4035c60a 8030646: track collection set membership in one place
Reviewed-by: tschatzl, jwilhelm
2015-01-26 10:32:35 +01:00
Staffan Friberg
67fddc10a6 8031538: G1 eden usage is sometimes higher than target eden (printed Eden size)
When recalculating the number of target eden size, correctly consider the amount of existing eden regions in the target calculation.

Reviewed-by: tschatzl
2015-03-06 09:07:33 +01:00
David Lindholm
8fe1e48f0c 8073545: Use shorter and more descriptive names for GC worker threads
Reviewed-by: ehelin, jwilhelm
2015-03-05 16:43:26 +01:00
Stefan Karlsson
cd997db44d 8073543: Circular include dependency between psScavenge.inline.hpp and psPromotionManager.inline.hpp
Reviewed-by: brutisso, mgerdin
2015-02-20 13:54:42 +01:00
Thomas Schatzl
cb05b8a496 8058446: G1 Hot card cache should use ArrayAllocator to allocate the cache array
Allocate large hot card caches using OS functions instead of the C heap to avoid native memory exhaustion.

Reviewed-by: mgerdin, jwilhelm
2015-02-20 16:07:12 +01:00
Mikael Gerdin
f5292016ee 8075210: Refactor strong root processing in order to allow G1 to evolve separately from GenCollectedHeap
Create a G1RootProcessor and move SharedHeap root processing to GenCollectedHeap

Reviewed-by: brutisso, tschatzl, ehelin
2014-12-01 15:24:56 +01:00
Stefan Karlsson
207fadd39e 8075416: Cleanup GC include dependencies in memoryPool.hpp
Reviewed-by: ehelin, mgerdin
2015-03-18 10:51:00 +01:00
Stefan Karlsson
28adfbf0be 8075249: Cleanup forward_to_atomic and ClaimedForwardPtr
Reviewed-by: kbarrett, brutisso
2015-03-17 15:53:55 +01:00
Stefan Karlsson
366bf9ff09 8075247: Cleanup specialized_oop_closures.hpp
Reviewed-by: mgerdin, brutisso, tschatzl
2015-03-17 14:18:52 +01:00
Stefan Karlsson
426a345fec 8075242: Remove SpecializationStats
Reviewed-by: brutisso, mgerdin
2015-03-17 13:23:49 +01:00
Andrey Zakharov
9272128a46 8061715: gc/g1/TestShrinkAuxiliaryData15.java fails with java.lang.RuntimeException: heap decommit failed - after > before
Added WhiteBox methods to count regions and exact aux data sizes

Reviewed-by: tschatzl, jwilhelm, mgerdin
2015-03-16 17:51:28 +03:00
Jesper Wilhelmsson
7e86840f64 8057632: Remove auxiliary code used to handle the generations array
Removed next_gen(), prev_gen(), and get_gen().

Reviewed-by: kbarrett, tschatzl
2015-03-05 23:47:26 +01:00
David Lindholm
bcf9ea6cbf 8073463: G1 does not mangle freed heap regions
Reviewed-by: mgerdin, jwilhelm
2015-03-12 14:09:36 +01:00
Bengt Rutisson
395543dadc 8074037: Refactor the G1GCPhaseTime logging to make it easier to add new phases
Reviewed-by: tschatzl, mgerdin, ecaspole
2015-03-12 10:11:20 +01: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
Sangheon Kim
14916eab46 8073115: assert(_covered_region.contains(p)) needs better error messages
Changed to print out related values

Reviewed-by: jwilhelm, brutisso, stefank
2015-02-16 08:38:23 -08:00
Stefan Karlsson
4913ad5d7d 8072911: Remove includes of oop.inline.hpp from .hpp files
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Stefan Karlsson
c132a5a0a5 8072910: Move the g1EvacFailure.hpp implementation to g1EvacFailure.cpp
Reviewed-by: jwilhelm, tschatzl
2015-02-10 17:16:17 +01:00
Marcus Larsson
71cfff7df1 8066771: Refactor VM GC operations caused by allocation failure
Reviewed-by: brutisso, jmasa
2015-02-13 10:31:52 +01:00
Marcus Larsson
7727fe0044 8072621: Clean up around VM_GC_Operations
Reviewed-by: brutisso, jmasa
2015-02-13 09:48:49 +01:00
Marcus Larsson
20bfd4cf7c 8066566: Refactor ParNewGeneration to contain ParNewTracer
Reviewed-by: ehelin, kbarrett
2015-02-11 14:47:21 +01:00
Stefan Johansson
dc5a35154d 8069034: gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java nightly failure
When checking for humongous objects to reclaim, we dirty cards that might belong to freed regions. Fixed by checking the region before dirtying.

Reviewed-by: tschatzl, brutisso
2015-02-03 15:50:06 +01:00
Thomas Schatzl
ba4a04aa05 8069760: When iterating over a card, G1 often iterates over much more references than are contained in the card
Properly bound the iteration work for objArray-oops.

Reviewed-by: mgerdin, kbarrett
2015-02-02 10:38:39 +01:00
Kim Barrett
1a1ddd0d4b 8068942: Improve validation of -XX:G1ConfidencePercent value
Validate during argument processing and simplify usage by assuming validated.

Reviewed-by: jmasa, tschatzl
2015-01-29 00:08:38 -05:00
Claes Redestad
155c09ca6b 8069273: Decrease Hot Card Cache Lock contention
Reviewed-by: tschatzl, mgerdin
2015-01-29 15:05:25 +01:00
Joseph Provino
3bd08574dc 8064947: Clean up BarrierSet ctor/dtor
Make abstract base call contructors protected and require a "kind" argument.

Reviewed-by: jmasa, jwilhelm
2015-01-27 13:50:31 -05:00
Alejandro Murillo
bbd13b5561 Merge 2015-01-22 22:42:31 -08:00
Erik Helin
759740976b 8068971: A heap region being cleared should not belong to the cset
Reviewed-by: brutisso, tschatzl
2015-01-16 14:43:45 +01:00
Erik Helin
c671f2ff04 Merge 2015-01-16 10:32:40 +00:00
Erik Helin
86f95c464f 8066875: VirtualSpace does not use large pages
Reviewed-by: stefank, tschatzl, anoll, thartmann
2015-01-16 10:29:12 +01:00