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
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
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
Tom Benson
2c63608419
8065093: Remove unused variable/output argument
...
Remove total_reserved from GenCollectedHeap::initialize and ::allocate
Reviewed-by: tschatzl, kbarrett
2015-02-10 17:41:19 -05:00
Kim Barrett
57198d2b63
8067499: G1SATBCardTableModRefBS should not inherit from CardTableModRefBSForCTRS
...
G1SATBCardTableModRefBS inherits from CardTableModRefBS
Reviewed-by: mgerdin, brutisso, tschatzl
2014-12-18 13:26:37 -05:00
Kim Barrett
093d2698fc
8066827: Remove ReferenceProcessor::clean_up_discovered_references()
...
Abandon rather than clean up discovered references.
Reviewed-by: jmasa, ysr
2014-12-17 22:32:44 -05:00
Bengt Rutisson
5c41d82d78
8065993: Merge OneContigSpaceCardGeneration with TenuredGeneration
...
Reviewed-by: mgerdin, kbarrett
2014-12-01 14:37:25 +01:00
Bengt Rutisson
ca3e287e96
8065992: Change CMSCollector::_young_gen to be a ParNewGeneration*
...
Reviewed-by: mgerdin, kbarrett
2014-12-02 09:51:16 +01:00
Bengt Rutisson
0ecc753586
8065972: Remove support for ParNew+SerialOld and DefNew+CMS
...
Reviewed-by: mgerdin, stefank
2014-11-27 21:02:13 +01:00
Andreas Eriksson
f65caabf9c
7176220: 'Full GC' events miss date stamp information occasionally
...
Move date stamp logic into GCTraceTime
Reviewed-by: brutisso, tschatzl
2013-05-17 17:24:20 +02:00
Erik Helin
f3997d8eed
8064721: The card tables only ever need two covering regions
...
Reviewed-by: jmasa, tschatzl, kbarrett
2014-11-18 10:36:42 +01: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
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
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
Stefan Karlsson
1b001a2afd
8049421: G1 Class Unloading after completing a concurrent mark cycle
...
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Stefan Karlsson
ef1e9b3c80
8049420: Backout 8048248 to correct attribution
...
Reviewed-by: ehelin, brutisso
2014-07-07 12:37:11 +02:00
Stefan Karlsson
8c3aced316
8048248: G1 Class Unloading after completing a concurrent mark cycle
...
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
John Coomes
900ca33ab0
8034246: remove CMS and ParNew adaptive size policy code
...
Reviewed-by: tschatzl, jwilhelm, mgerdin
2014-06-26 13:30:43 -07:00
Bengt Rutisson
9672a26d51
8043607: Add a GC id as a log decoration similar to PrintGCTimeStamps
...
Reviewed-by: jwilhelm, ehelin, tschatzl
2014-06-19 13:31:14 +02:00
Jesper Wilhelmsson
ded8b863dd
8042298: Remove the names gen0 and gen1 from the GC code
...
Renamed gen0 and gen1 to young and old throughout the GC code.
Reviewed-by: sjohanss, jcoomes
2014-05-02 02:11:34 +02:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04: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
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
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
Stefan Karlsson
2a866afcdb
8034761: Remove the do_code_roots parameter from process_strong_roots
...
Reviewed-by: tschatzl, mgerdin, jmasa
2014-02-13 17:44:39 +01:00
Bengt Rutisson
9b29efeb63
8030177: G1: Enable TLAB resizing
...
Reviewed-by: tschatzl, stefank, jmasa
2014-01-27 13:14:53 +01:00
Jesper Wilhelmsson
81ba2e32c0
8025856: Fix typos in the GC code
...
Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
2014-01-23 14:47:23 +01:00
Mikael Gerdin
4c7c3f0613
8032379: Remove the is_scavenging flag to process_strong_roots
...
Refactor the strong root processing to avoid using a boolean in addition to the ScanOption enum.
Reviewed-by: stefank, tschatzl, ehelin, jmasa
2014-01-14 16:40:33 +01:00
Bengt Rutisson
810bc0c558
8029524: Remove unsused method CollectedHeap::unsafe_max_alloc()
...
Reviewed-by: pliden, jmasa
2013-12-16 08:54:14 +01:00
Jesper Wilhelmsson
0fa3a71c8a
8016309: assert(eden_size > 0 && survivor_size > 0) failed: just checking
...
7057939: jmap shows MaxNewSize=4GB when Java is using parallel collector
Major cleanup of the collectorpolicy classes
Reviewed-by: tschatzl, jcoomes
2013-11-01 17:09:38 +01:00
Jesper Wilhelmsson
9705a6e3f9
8026853: Prepare GC code for collector policy regression fix
...
Cleanup related to the NewSize and MaxNewSize bugs
Reviewed-by: tschatzl, jcoomes, ehelin
2013-10-21 18:56:20 +02:00
Stefan Karlsson
7ade7987a0
8007074: SIGSEGV at ParMarkBitMap::verify_clear()
...
Replace the broken large pages implementation on Linux. New flag: -XX:+UseTransparentHugePages - Linux specific flag to turn on transparent huge page hinting with madvise(..., MAP_HUGETLB). Changed behavior: -XX:+UseLargePages - tries to use -XX:+UseTransparentHugePages before trying other large pages implementations (on Linux). Changed behavior: -XX:+UseHugeTLBFS - Use upfront allocation of Large Pages instead of using the broken implementation to dynamically committing large pages. Changed behavior: -XX:LargePageSizeInBytes - Turned off the ability to use this flag on Linux and provides warning to user if set to a value different than the OS chosen large page size. Changed behavior: Setting no large page size - Now defaults to use -XX:UseTransparentHugePages if the OS supports it. Previously, -XX:+UseHugeTLBFS was chosen if the OS was configured to use large pages.
Reviewed-by: tschatzl, dcubed, brutisso
2013-08-16 13:22:32 +02:00
Erik Helin
3ea9481c2f
8014659: NPG: performance counters for compressed klass space
...
Reviewed-by: mgerdin, coleenp, hseigel, jmasa, ctornqvi
2013-08-07 16:47:32 +02:00
Bengt Rutisson
19ba466575
8022800: Use specific generations rather than generation iteration
...
Reviewed-by: jmasa, ehelin
2013-08-14 09:02:32 +02:00
Jiangli Zhou
b454ece6d7
7133260: AllocationProfiler uses space in metadata and doesn't seem to do anything useful
...
Remove -Xaprof and Klass::_alloc_count & ArrayKlass::_alloc_size.
Reviewed-by: stefank, coleenp
2013-07-03 17:26:59 -04:00
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Stefan Karlsson
f0ae855b07
8013132: Add a flag to turn off the output of the verbose verification code
...
Reviewed-by: johnc, brutisso
2013-04-24 20:13:37 +02:00
Jon Masamitsu
d72b516201
8008966: NPG: Inefficient Metaspace counter functions cause large young GC regressions
...
Reviewed-by: mgerdin, coleenp
2013-02-12 14:15:45 -08:00
Stefan Karlsson
bdf829cf3e
8012687: Remove unused is_root checks and closures
...
Reviewed-by: tschatzl, jmasa
2013-04-22 20:27:36 +02:00
Stefan Karlsson
e96efdaa1a
8011872: Include Bit Map addresses in the hs_err files
...
Reviewed-by: brutisso, jmasa
2013-04-10 14:26:49 +02:00
John Cuthbertson
90d010120f
8011343: Add new flag for verifying the heap during startup
...
Perform verification during VM startup under control of new flag and within a VMOperation.
Reviewed-by: stefank, jmasa, brutisso
2013-04-05 10:20:04 -07:00
Mikael Gerdin
a4a4c34e96
8005602: NPG: classunloading does not happen while CMS GC with -XX:+CMSClassUnloadingEnabled is used
...
Call purge() on CLDG after sweep(), reorder purge() call in GenCollectedHeap
Reviewed-by: jmasa, stefank
2013-03-14 10:54:44 +01:00
Joseph Provino
698fba94ef
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
...
Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.
Reviewed-by: coleenp, stefank
2013-01-23 13:02:39 -05:00
John Cuthbertson
9abdcd4a3c
8000831: Heap verification output incorrect/incomplete
...
Restore non-silent output of heap verification.
Reviewed-by: ysr, brutisso, jmasa
2012-10-15 10:02:42 -07:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Bengt Rutisson
212ab5c73a
7172279: G1: Clean up TraceGen0Time and TraceGen1Time data gathering
...
Simplify code, remove unused code, remove ExitAfterGCNum
Reviewed-by: huntch, johnc
2012-05-31 21:10:33 +02:00
Bengt Rutisson
eba9965d54
7166894: Add gc cause to GC logging for all collectors
...
Reviewed-by: mgerdin, johnc
2012-05-15 10:25:06 +02:00
Bengt Rutisson
f695b75d78
4988100: oop_verify_old_oop appears to be dead
...
Removed oop_verify_old_oop and allow_dirty. Also reviewed by: alexlamsl@gmail.com
Reviewed-by: jmasa, jwilhelm
2012-04-16 08:57:18 +02:00
Tom Rodriguez
5a41427b37
7141200: log some interesting information in ring buffers for crashes
...
Reviewed-by: kvn, jrose, kevinw, brutisso, twisti, jmasa
2012-02-01 07:59:01 -08:00
Jon Masamitsu
0ebc10bb13
7121618: Change type of number of GC workers to unsigned int
...
Change variables representing the number of GC workers to uint from int and size_t. Change the parameter in work(int i) to work(uint worker_id).
Reviewed-by: brutisso, tonyp
2011-12-14 13:34:57 -08:00