# HG changeset patch # User Tom Rodriguez # Date 1441214093 25200 # Node ID 537e8e426bf93a38c40626e81b0f4377459d112a # Parent 693e1df2b8084cc721da9d58f7df72fb062f928c Add missing virtual keyword diff -r 693e1df2b808 -r 537e8e426bf9 src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp --- 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); };