1045 Commits

Author SHA1 Message Date
Goetz Lindenmaier
f2051ed6fa 8048241: Introduce umbrella header os.inline.hpp and clean up includes
Reviewed-by: coleenp, dholmes, lfoltan
2014-06-26 16:05:15 +02:00
Thomas Schatzl
aec070cb69 8040977: G1 crashes when run with -XX:-G1DeferredRSUpdate
When G1 is run with -XX:-G1DeferredRSUpdate, the VM crashes because of wrong initialization order of member variables. The change makes the initalization explicit, not relying on initialization order any more.

Reviewed-by: brutisso, mgerdin
2014-06-26 16:01:07 +02:00
Thomas Schatzl
b4e0c547b8 8035401: Fix visibility of G1ParScanThreadState members
After JDK-8035400 there were several opportunities to fix the visibility of several members of the G1ParScanThreadState class.

Reviewed-by: brutisso, mgerdin
2014-06-26 15:48:05 +02:00
Thomas Schatzl
0bd028231f 8035400: Move G1ParScanThreadState into its own files
Extract the G1ParScanThreadState class from G1CollectedHeap.?pp into its own files.

Reviewed-by: brutisso, mgerdin
2014-06-26 15:45:07 +02:00
Mikael Gerdin
1e1ef4f73f 8047818: G1 HeapRegions can no longer be ContiguousSpaces
Change parent of G1OffsetTableContigSpace to CompactibleSpace, reimplement missing functionality

Reviewed-by: stefank, jmasa, tschatzl
2014-06-26 11:36:58 +02:00
Mikael Gerdin
ebdab477c7 8048214: Linker error when compiling G1SATBCardTableModRefBS after include order changes
Reviewed-by: stefank, brutisso, tschatzl
2014-06-26 13:20:18 +02:00
Mikael Gerdin
83303777f7 8047821: G1 Does not use the save_marks functionality as intended
Rename save_marks to record_top_and_timestamp and remove som unused but related methods

Reviewed-by: stefank, ehelin
2014-06-26 10:00:00 +02:00
Mikael Gerdin
cfa1c5e67c 8047820: G1 Block offset table does not need to support generic Space classes
Reviewed-by: tschatzl, stefank
2014-06-25 16:53:13 +02:00
Mikael Gerdin
5b7c529bb2 8047819: G1 HeapRegionDCTOC does not need to inherit ContiguousSpaceDCTOC
Reviewed-by: stefank, tschatzl
2014-06-25 10:55:10 +02:00
Stefan Karlsson
24fcad36b4 8047323: Remove unused _copy_metadata_obj_cl in G1CopyingKeepAliveClosure
Reviewed-by: mgerdin, tschatzl
2014-06-25 08:28:01 +02:00
Stefan Karlsson
fd43773a10 8046670: Make CMS metadata aware closures applicable for other collectors
Reviewed-by: ehelin, mgerdin
2014-06-24 16:20:15 +02:00
Erik Helin
3eff7a8f64 8049864: TestParallelHeapSizeFlags fails with unexpected heap size
Reviewed-by: sjohanss, jmasa
2014-06-24 15:50:50 +02:00
Antonios Printezis
a2984b6c88 8057768: Make heap region region type in G1 HeapRegion explicit
Reviewed-by: brutisso, tschatzl
2014-09-15 12:19:31 +02:00
Antonios Printezis
b9d46eee2c 8057799: Unnecessary NULL check in G1KeepAliveClosure
Reviewed-by: tschatzl, stefank
2014-09-10 11:55:33 +02:00
Erik Helin
4241d1c605 8027915: TestParallelHeapSizeFlags fails with unexpected heap size on sparcv9
Reviewed-by: jmasa, sjohanss
2014-06-24 15:50:50 +02:00
Per Lidén
d0e17d1ff0 8046231: G1: Code root location ... from nmethod ... not in strong code roots for region
Reviewed-by: tschatzl, ehelin
2014-06-23 16:43:41 +02:00
Goetz Lindenmaier
8e7c8f1d88 8044775: Improve usage of umbrella header atomic.inline.hpp
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02: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
Dan Horak
88577971d0 8043722: Swapped usage of idx_t and bm_word_t types in parMarkBitMap.cpp
Clean up usage of idx_t and uintptr_t when using it in conjunction with BitMap::set_map(), casting to the appropriate type. Fixes compilation on S390.

Reviewed-by: tschatzl
2014-06-18 13:25:40 +02:00
Per Lidén
5e1811cd0e 8044796: G1: Enable G1CollectedHeap::stop()
Reviewed-by: brutisso, sjohanss
2014-06-13 13:46:06 +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
Per Lidén
9c1843a7c3 8044768: Backout fix for JDK-8040807
Reviewed-by: brutisso, ehelin
2014-06-04 14:16:20 +02:00
Bengt Rutisson
f013a5db3b Merge 2014-06-03 09:34:04 +00:00
Bengt Rutisson
426151a22e 8043239: G1: Missing post barrier in processing of j.l.ref.Reference objects
Removed all write barriers during reference processing and added explicit write barriers when iterating through the discovered list.

Reviewed-by: pliden, jmasa, tschatzl
2014-06-03 10:44:36 +02:00
Per Lidén
2652623308 8040807: G1: Enable G1CollectedHeap::stop()
Reviewed-by: brutisso, jmasa, tschatzl
2014-06-03 10:37:46 +02:00
Christian Thalinger
67ad89efd5 Merge 2014-05-22 16:26:05 -07:00
Jon Masamitsu
6fc7041617 Merge 2014-05-22 06:39:47 -07:00
Per Lidén
eddf95338d 8039042: G1: Phantom zeros in cardtable
Reviewed-by: tschatzl, mgerdin
2014-05-20 10:24:30 +02:00
Jon Masamitsu
92baa3214c Merge 2014-05-19 08:09:35 -07:00
Coleen Phillimore
c336175c94 8038212: Method::is_valid_method() check has performance regression impact for stackwalking
Only prune metaspace virtual spaces at safepoint so walking them is safe outside a safepoint.

Reviewed-by: mgerdin, mgronlun, hseigel, stefank
2014-05-15 18:23:26 -04:00
Per Lidén
04341bfffb 8040804: G1: Concurrent mark stuck in loop calling os::elapsedVTime()
Reviewed-by: brutisso, tschatzl
2014-05-14 14:32:23 +02:00
Per Lidén
3f35cb0ca0 8040803: G1: Concurrent mark hangs when mark stack overflows
Reviewed-by: brutisso, ehelin
2014-05-14 13:32:44 +02:00
Coleen Phillimore
388434f387 Merge 2014-05-12 09:47:57 -04:00
Jon Masamitsu
c69251b879 Merge 2014-05-09 19:47:41 -07: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
Jon Masamitsu
39154726de Merge 2014-05-08 18:22:22 -07:00
Christian Thalinger
b2d6f9f78a Merge 2014-05-08 15:08:45 -07:00
Goetz Lindenmaier
fb62773268 8042737: Introduce umbrella header prefetch.inline.hpp
Reviewed-by: twisti, stefank
2014-05-08 15:37:17 +02:00
Andreas Sjoberg
09c2deeb5a 8042474: Clean up duplicated code in RSHashTable
Removed duplicate code in RSHashTable to fetch SparsePRTEntries

Reviewed-by: tschatzl, brutisso
2014-05-08 10:29:17 +02:00
Gerard Ziemski
ed9c096396 8038654: Separate SymbolTable and StringTable code
Refactor stringTable class out of symbolTable, making sure all includes are minimal set and are sorted.

Reviewed-by: coleenp, stefank
2014-05-07 14:16:45 -05:00
Daniel D. Daugherty
0b8b6462e4 Merge 2014-05-02 11:06:26 -07:00
Zhengyu Gu
16a3e2f16d 6885993: Named Thread: introduce print() and print_on(outputStream* st) methods
Eliminating duplicated code by introducing print_on(outputStream* st) methods in NamedThread

Reviewed-by: twisti, coleenp, dholmes
2014-05-01 05:52:28 -07:00
Goetz Lindenmaier
6e6f0720a9 8042195: Introduce umbrella header orderAccess.inline.hpp
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Bengt Rutisson
9968a23667 7132678: G1: verify that the marking bitmaps have no marks for objects over TAMS
Co-authored-by: Tony Printezis <tony.printezis@oracle.com>
Reviewed-by: jmasa, tschatzl, ehelin
2014-04-29 09:33:20 +02:00
Michal Frajt
bc55ed0b83 8038265: CMS: enable time based triggering of concurrent cycles
Reviewed-by: mgerdin, brutisso
2014-04-23 12:37:36 +02:00
Thomas Schatzl
1653234dda 8040792: G1: Memory usage calculation uses sizeof(this) instead of sizeof(classname)
A few locations in the code use sizeof(this) which returns the size of the pointer instead of sizeof(classname) which returns the size of the sum of its members. This change fixes these errors and adds a few tests.

Reviewed-by: mgerdin, brutisso
2014-04-22 11:10:12 +02:00
Per Lidén
820ae7109e 8040245: G1: VM hangs during shutdown
Temporarily disable the shutdown of the concurrent GC threads introduced in JDK-8037112

Reviewed-by: brutisso, tschatzl, jmasa
2014-04-17 18:47:15 +02:00
Bengt Rutisson
5d967f0aea 8040722: G1: Clean up usages of heap_region_containing
Reviewed-by: tschatzl, jmasa
2014-04-17 15:57:02 +02:00
Thomas Schatzl
69c3c31317 8040002: Clean up code and code duplication in re-diryting cards for verification
Card re-dirtying code for verification and actual redirtying uses two different, almost completely identical card closures. Also the verification code still assumes a perm gen.

Reviewed-by: brutisso, jmasa
2014-04-16 16:47:02 +02:00
Thomas Schatzl
c5ef16027b 8019342: G1: High "Other" time most likely due to card redirtying
Parallelize card redirtying to decrease the time it takes.

Reviewed-by: brutisso
2014-04-16 16:46:58 +02:00