Mercurial > hg > graal-jvmci-8
diff src/share/vm/oops/methodData.hpp @ 12316:190899198332
7195622: CheckUnhandledOops has limited usefulness now
Summary: Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.
Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
Contributed-by: lois.foltan@oracle.com
author | hseigel |
---|---|
date | Thu, 26 Sep 2013 10:25:02 -0400 |
parents | 69f26e8e09f9 |
children | cefad50507d8 d13d7aba8c12 |
line wrap: on
line diff
--- a/src/share/vm/oops/methodData.hpp Wed Sep 25 17:47:51 2013 +0200 +++ b/src/share/vm/oops/methodData.hpp Thu Sep 26 10:25:02 2013 -0400 @@ -333,10 +333,10 @@ return (int)data()->cell_at(index); } void set_oop_at(int index, oop value) { - set_intptr_at(index, (intptr_t) value); + set_intptr_at(index, cast_from_oop<intptr_t>(value)); } oop oop_at(int index) { - return (oop)intptr_at(index); + return cast_to_oop(intptr_at(index)); } void set_flag_at(int flag_number) {