Mercurial > hg > truffle
diff src/share/vm/memory/cardTableRS.hpp @ 113:ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv
Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author | coleenp |
---|---|
date | Sun, 13 Apr 2008 17:43:42 -0400 |
parents | 73e96e5c30df |
children | d1605aabd0a1 37f87013dfd8 |
line wrap: on
line diff
--- a/src/share/vm/memory/cardTableRS.hpp Fri Apr 11 09:56:35 2008 -0400 +++ b/src/share/vm/memory/cardTableRS.hpp Sun Apr 13 17:43:42 2008 -0400 @@ -106,18 +106,18 @@ // closure application. void younger_refs_iterate(Generation* g, OopsInGenClosure* blk); - void inline_write_ref_field_gc(oop* field, oop new_val) { + void inline_write_ref_field_gc(void* field, oop new_val) { jbyte* byte = _ct_bs.byte_for(field); *byte = youngergen_card; } - void write_ref_field_gc_work(oop* field, oop new_val) { + void write_ref_field_gc_work(void* field, oop new_val) { inline_write_ref_field_gc(field, new_val); } // Override. Might want to devirtualize this in the same fashion as // above. Ensures that the value of the card for field says that it's // a younger card in the current collection. - virtual void write_ref_field_gc_par(oop* field, oop new_val); + virtual void write_ref_field_gc_par(void* field, oop new_val); void resize_covered_region(MemRegion new_region);