changeset 22508:537e8e426bf9

Add missing virtual keyword
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Wed, 02 Sep 2015 10:14:53 -0700
parents 693e1df2b808
children 267eecd6d92a
files src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp	Wed Sep 02 10:13:06 2015 -0700
+++ b/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp	Wed Sep 02 10:14:53 2015 -0700
@@ -126,8 +126,8 @@
     jbyte val = _byte_map[card_index];
     return (val & (clean_card_mask_val() | deferred_card_val())) == deferred_card_val();
   }
-  void write_ref_nmethod_pre(oop* dst, nmethod* nm);
-  void write_ref_nmethod_post(oop* dst, nmethod* nm);
+  virtual void write_ref_nmethod_pre(oop* dst, nmethod* nm);
+  virtual void write_ref_nmethod_post(oop* dst, nmethod* nm);
 
 };