Mercurial > hg > graal-compiler
comparison src/share/vm/memory/barrierSet.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 37f87013dfd8 |
comparison
equal
deleted
inserted
replaced
110:a49a647afe9a | 113:ba764ed4b6f2 |
---|---|
24 | 24 |
25 // Inline functions of BarrierSet, which de-virtualize certain | 25 // Inline functions of BarrierSet, which de-virtualize certain |
26 // performance-critical calls when when the barrier is the most common | 26 // performance-critical calls when when the barrier is the most common |
27 // card-table kind. | 27 // card-table kind. |
28 | 28 |
29 void BarrierSet::write_ref_field(oop* field, oop new_val) { | 29 void BarrierSet::write_ref_field(void* field, oop new_val) { |
30 if (kind() == CardTableModRef) { | 30 if (kind() == CardTableModRef) { |
31 ((CardTableModRefBS*)this)->inline_write_ref_field(field, new_val); | 31 ((CardTableModRefBS*)this)->inline_write_ref_field(field, new_val); |
32 } else { | 32 } else { |
33 write_ref_field_work(field, new_val); | 33 write_ref_field_work(field, new_val); |
34 } | 34 } |