src/share/vm/memory/barrierSet.inline.hpp

changeset 1280
df6caf649ff7
parent 791
1ee8caae33af
child 1526
6aa7255741f3
     1.1 --- a/src/share/vm/memory/barrierSet.inline.hpp	Fri Jul 10 16:01:20 2009 -0700
     1.2 +++ b/src/share/vm/memory/barrierSet.inline.hpp	Tue Jul 14 15:40:39 2009 -0700
     1.3 @@ -23,10 +23,10 @@
     1.4   */
     1.5  
     1.6  // Inline functions of BarrierSet, which de-virtualize certain
     1.7 -// performance-critical calls when when the barrier is the most common
     1.8 +// performance-critical calls when the barrier is the most common
     1.9  // card-table kind.
    1.10  
    1.11 -void BarrierSet::write_ref_field_pre(void* field, oop new_val) {
    1.12 +template <class T> void BarrierSet::write_ref_field_pre(T* field, oop new_val) {
    1.13    if (kind() == CardTableModRef) {
    1.14      ((CardTableModRefBS*)this)->inline_write_ref_field_pre(field, new_val);
    1.15    } else {

mercurial