comparison src/share/vm/memory/genRemSet.inline.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 a61af66fc99e
children d1605aabd0a1
comparison
equal deleted inserted replaced
110:a49a647afe9a 113:ba764ed4b6f2
24 24
25 // Inline functions of GenRemSet, which de-virtualize this 25 // Inline functions of GenRemSet, which de-virtualize this
26 // performance-critical call when when the rem set is the most common 26 // performance-critical call when when the rem set is the most common
27 // card-table kind. 27 // card-table kind.
28 28
29 void GenRemSet::write_ref_field_gc(oop* field, oop new_val) { 29 void GenRemSet::write_ref_field_gc(void* field, oop new_val) {
30 if (kind() == CardTableModRef) { 30 if (kind() == CardTableModRef) {
31 ((CardTableRS*)this)->inline_write_ref_field_gc(field, new_val); 31 ((CardTableRS*)this)->inline_write_ref_field_gc(field, new_val);
32 } else { 32 } else {
33 write_ref_field_gc_work(field, new_val); 33 write_ref_field_gc_work(field, new_val);
34 } 34 }