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
Jesper Wilhelmsson
b14eca8aac
Merge
2014-12-08 18:52:03 +01:00
Jesper Wilhelmsson
9b430f2262
Merge
2014-12-04 10:40:19 +01:00
Yumin Qi
9767fa7cb2
Merge
2014-12-03 20:32:33 -08:00
Erik Helin
cbe8efabfe
8059066: CardTableModRefBS might commit the same page twice
...
Reviewed-by: tschatzl, kbarrett, jmasa
2014-12-02 09:53:30 +01:00
Max Ockner
91dbd4f088
8060074: os::free() takes MemoryTrackingLevel but doesn't need it
...
Cleaned up unused arguments in os::free and it's callers.
Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
Bengt Rutisson
5c41d82d78
8065993: Merge OneContigSpaceCardGeneration with TenuredGeneration
...
Reviewed-by: mgerdin, kbarrett
2014-12-01 14:37:25 +01: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
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
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
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
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00
Jesper Wilhelmsson
40ba2bba2c
8026849: Fix typos in the GC code, part 2
...
Fixed typos in assert messages, flag descriptions and verbose messages
Reviewed-by: stefank, tschatzl
2013-12-10 15:11:02 +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
Goetz Lindenmaier
46c4ef6572
8029396: PPC64 (part 212): Several memory ordering fixes in C-code
...
Memory ordering fixes in GC and other runtime code showing on PPC64.
Reviewed-by: kvn, coleenp
2013-12-02 10:26:14 +01:00
Mikael Gerdin
b8363e6615
8025305: Cleanup CardTableModRefBS usage in G1
...
Move some G1 specific code from CardTableModRefBS to G1SATBCardTableModRefBS.
Reviewed-by: brutisso, tschatzl, ehelin
2013-09-24 14:46:29 +02:00
Calvin Cheung
53448fdbed
8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
...
Co-authored-by: Jeremy Manson <jeremymanson@google.com>
Reviewed-by: dholmes, coleenp
2013-06-13 22:02:40 -07:00
Daniel D. Daugherty
72a51a0c44
8013057: assert(_needs_gc || SafepointSynchronize::is_at_safepoint()) failed: only read at safepoint
...
Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory(). Add os::commit_memory_or_exit(). Also tidy up some NMT accounting and some mmap() return value checking.
Reviewed-by: zgu, stefank, dholmes, dsamersoff
2013-06-13 11:16:38 -07:00
Yumin Qi
98151c30c8
8012902: remove use of global operator new - take 2
...
The fix of 8010992, disable use of global operator new and new[] which caused failure on some tests. This takes two of the bugs also add ALLOW_OPERATOR_NEW_USAGE to prevent crash for third party code calling operator new of jvm on certain platforms.
Reviewed-by: coleenp, dholmes, zgu
2013-05-14 09:41:12 -07:00
Calvin Cheung
0f7adcc3d9
8011661: Insufficient memory message says "malloc" when sometimes it should say "mmap"
...
Reviewed-by: coleenp, zgu, hseigel
2013-04-30 11:56:52 -07:00
Mikael Vidstedt
960480c53d
8008081: Print outs do not have matching arguments
...
Corrected formatted prints to have matching arguments, removed dead print_frame_layout function
Reviewed-by: sla, dholmes
2013-02-26 08:54:03 -08: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
Mikael Vidstedt
769dd50182
7197424: update copyright year to match last edit in jdk8 hotspot repository
...
Update copyright year to 2012 for relevant files
Reviewed-by: dholmes, coleenp
2012-10-09 10:09:34 -07:00
Zhengyu Gu
a39b17624a
6995781: Native Memory Tracking (Phase 1)
...
7151532: DCmd for hotspot native memory tracking
Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Tom Rodriguez
8fc6b2ef2a
7157141: crash in 64 bit with corrupted oops
...
Reviewed-by: kvn, iveresov
2012-04-02 16:05:56 -07:00
Jon Masamitsu
404bb0d0ac
7106024: CMS: Removed unused code for precleaning in remark phase
...
Remove dead code.
Reviewed-by: stefank, ysr
2011-11-22 14:18:39 -08:00
Jon Masamitsu
15070123fa
6593758: RFE: Enhance GC ergonomics to dynamically choose ParallelGCThreads
...
Select number of GC threads dynamically based on heap usage and number of Java threads
Reviewed-by: johnc, ysr, jcoomes
2011-08-09 10:16:01 -07:00
Y. Srinivas Ramakrishna
8e56205189
6883834: ParNew: assert(!_g->to()->is_in_reserved(obj),"Scanning field twice?") with LargeObjects tests
...
Fixed process_chunk_boundaries(), used for parallel card scanning when using ParNew/CMS, so as to prevent double-scanning, or worse, non-scanning of imprecisely marked objects exceeding parallel chunk size. Made some sizing parameters for parallel card scanning diagnostic, disabled ParallelGCRetainPLAB, and elaborated and clarified some comments.
Reviewed-by: stefank, johnc
2011-05-10 00:33:21 -07:00
Antonios Printezis
10f6cc7fc3
7035144: G1: nightly failure: Non-dirty cards in region that should be dirty (failures still exist...)
...
We should only undirty cards after we decide that they are not on a young region, not before. The fix also includes improvements to the verify_dirty_region() method which print out which cards were not found dirty.
Reviewed-by: johnc, brutisso
2011-04-29 14:59:04 -04:00
Y. Srinivas Ramakrishna
b4d40650b2
7037276: Unnecessary double traversal of dirty card windows
...
Short-circuited an unnecessary double traversal of dirty card windows when iterating younger refs. Also renamed some cardtable methods for more clarity.
Reviewed-by: jmasa, stefank, poonam
2011-04-20 19:19:30 -07:00
Y. Srinivas Ramakrishna
91657bd273
7036482: clear argument is redundant and unused in cardtable methods
...
Removed the unused clear argument to various cardtbale methods and unused mod_oop_in_space_iterate method. Unrelated to synopsis, added a pair of clarifying parens in AllocationStats constructor.
Reviewed-by: brutisso, jcoomes
2011-04-14 12:10:15 -07:00
Stefan Karlsson
8006fe8f75
6989984: Use standard include model for Hospot
...
Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Jon Masamitsu
c443776640
6952853: SIGSEGV with UseAdaptiveGCBoundary on 64b linux running jvm2008
...
Shrinking of a generation and the corresponding card table was causing part of the card table to be uncommitted.
Reviewed-by: jcoomes
2010-06-23 08:35:31 -07:00
Erik Trimble
ba7c173659
6941466: Oracle rebranding changes for Hotspot repositories
...
Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
Y. Srinivas Ramakrishna
d875a8e0f1
6906727: UseCompressedOops: some card-marking fixes related to object arrays
...
Introduced a new write_ref_array(HeapWords* start, size_t count) method that does the requisite MemRegion range calculation so (some of the) clients of the erstwhile write_ref_array(MemRegion mr) do not need to worry. This removed all external uses of array_size(), which was also simplified and made private. Asserts were added to catch other possible issues. Further, less essential, fixes stemming from this investigation are deferred to CR 6904516 (to follow shortly in hs17).
Reviewed-by: kvn, coleenp, jmasa
2009-12-03 15:01:57 -08:00
Andrey Petrusenko
2491751525
6841313: G1: dirty cards of survivor regions in parallel
...
Reviewed-by: tonyp, iveresov
2009-08-31 05:27:29 -07:00
Jon Masamitsu
bd1c93a58e
6843292: "Expect to be beyond new region unless impacting another region" assertion too strong
...
In the assertion allow for collision with the guard page.
Reviewed-by: tonyp, ysr, jcoomes
2009-08-02 19:10:31 -07:00
Erik Trimble
8d6035660e
Merge
2009-03-12 18:16:36 -07:00
Xiomara Jayasena
2be2e027b0
6814575: Update copyright year
...
Update copyright for files that have been modified in 2009, up to 03/09
Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:46 -07:00
Igor Veresov
416d70bf91
6720309: G1: don't synchronously update RSet during evacuation pauses
...
6720334: G1: don't update RSets of collection set regions during an evacuation pause
Introduced a deferred update mechanism for delaying the rset updates during the collection pause
Reviewed-by: apetrusenko, tonyp
2009-03-06 13:50:14 -08:00
Jon Masamitsu
f1847266b7
6786346: intermittent Internal Error (src/share/vm/memory/cardTableModRefBS.cpp:226)
...
Two assertions were incorrectly composed.
Reviewed-by: tonyp
2009-02-17 15:35:58 -08:00
Swamy Venkataramanappa
06e37c03fb
6653214: MemoryPoolMXBean.setUsageThreshold() does not support large heap sizes
...
Reviewed-by: ysr, mchung
2008-12-15 13:58:57 -08:00
Antonios Printezis
615777b6da
Merge
2008-08-21 23:36:31 -04:00
Erik Trimble
2d6f42d18c
Merge
2008-07-11 01:14:44 -07:00
Xiomara Jayasena
c96a95c4b8
6719955: Update copyright year
...
Update copyright year for files that have been modified in 2008
Reviewed-by: ohair, tbell
2008-07-02 12:55:16 -07:00
Y. Srinivas Ramakrishna
c201c739e4
Merge
2008-06-17 08:40:48 -07:00
Jon Masamitsu
0568ea9ed4
6688799: Second fix for Guarantee failure "Unexpected dirty card found"
...
Expand cardtable without committing over existing regions.
Reviewed-by: apetrusenko
2008-06-10 07:26:42 -07:00
Y. Srinivas Ramakrishna
18f3386a98
6711316: Open source the Garbage-First garbage collector
...
First mercurial integration of the code for the Garbage-First garbage collector.
Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
2008-06-05 15:57:56 -07:00