1.1 --- a/src/share/vm/gc_implementation/g1/ptrQueue.hpp Tue Jan 10 20:02:41 2012 +0100 1.2 +++ b/src/share/vm/gc_implementation/g1/ptrQueue.hpp Tue Jan 10 18:58:13 2012 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -70,7 +70,7 @@ 1.11 // given PtrQueueSet. 1.12 PtrQueue(PtrQueueSet* qset, bool perm = false, bool active = false); 1.13 // Release any contained resources. 1.14 - void flush(); 1.15 + virtual void flush(); 1.16 // Calls flush() when destroyed. 1.17 ~PtrQueue() { flush(); } 1.18