1.1 --- a/src/share/vm/runtime/unhandledOops.cpp Fri Aug 31 16:39:35 2012 -0700 1.2 +++ b/src/share/vm/runtime/unhandledOops.cpp Sat Sep 01 13:25:18 2012 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2005, 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 @@ -84,7 +84,7 @@ 1.11 void UnhandledOops::allow_unhandled_oop(oop* op) { 1.12 assert (CheckUnhandledOops, "should only be called with checking option"); 1.13 1.14 - int i = _oop_list->find_at_end(op, match_oop_entry); 1.15 + int i = _oop_list->find_from_end(op, match_oop_entry); 1.16 assert(i!=-1, "safe for gc oop not in unhandled_oop_list"); 1.17 1.18 UnhandledOopEntry entry = _oop_list->at(i); 1.19 @@ -106,7 +106,7 @@ 1.20 tty->print_cr("u "INTPTR_FORMAT, op); 1.21 } 1.22 1.23 - int i = _oop_list->find_at_end(op, match_oop_entry); 1.24 + int i = _oop_list->find_from_end(op, match_oop_entry); 1.25 assert(i!=-1, "oop not in unhandled_oop_list"); 1.26 _oop_list->remove_at(i); 1.27 }