Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp @ 845:df6caf649ff7
6700789: G1: Enable use of compressed oops with G1 heaps
Summary: Modifications to G1 so as to allow the use of compressed oops.
Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
author | ysr |
---|---|
date | Tue, 14 Jul 2009 15:40:39 -0700 |
parents | a61af66fc99e |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
839:bb18957ad21e | 845:df6caf649ff7 |
---|---|
29 DirtyCardToOopClosure* dcto_cl, | 29 DirtyCardToOopClosure* dcto_cl, |
30 MemRegionClosure* cl, | 30 MemRegionClosure* cl, |
31 bool clear, | 31 bool clear, |
32 int n_threads) { | 32 int n_threads) { |
33 if (n_threads > 0) { | 33 if (n_threads > 0) { |
34 assert(n_threads == (int)ParallelGCThreads, "# worker threads != # requested!"); | 34 assert((n_threads == 1 && ParallelGCThreads == 0) || |
35 | 35 n_threads <= (int)ParallelGCThreads, |
36 // Make sure the LNC array is valid for the space. | 36 "# worker threads != # requested!"); |
37 // Make sure the LNC array is valid for the space. | |
37 jbyte** lowest_non_clean; | 38 jbyte** lowest_non_clean; |
38 uintptr_t lowest_non_clean_base_chunk_index; | 39 uintptr_t lowest_non_clean_base_chunk_index; |
39 size_t lowest_non_clean_chunk_size; | 40 size_t lowest_non_clean_chunk_size; |
40 get_LNC_array_for_space(sp, lowest_non_clean, | 41 get_LNC_array_for_space(sp, lowest_non_clean, |
41 lowest_non_clean_base_chunk_index, | 42 lowest_non_clean_base_chunk_index, |