1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.hpp Mon Feb 06 12:18:24 2012 -0800 1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.hpp Fri Feb 10 17:40:20 2012 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2002, 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 @@ -171,7 +171,7 @@ 1.11 void set_old_gen_is_full(bool state) { _old_gen_is_full = state; } 1.12 1.13 // Promotion methods 1.14 - oop copy_to_survivor_space(oop o); 1.15 + template<bool promote_immediately> oop copy_to_survivor_space(oop o); 1.16 oop oop_promotion_failed(oop obj, markOop obj_mark); 1.17 1.18 void reset();