comparison src/share/vm/opto/machnode.cpp @ 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 70120f47d403
children 044b28168e20
comparison
equal deleted inserted replaced
12315:c1fbf21c7397 12316:190899198332
1 /* 1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
339 // NULL base, any offset means any pointer whatever 339 // NULL base, any offset means any pointer whatever
340 if (offset == Type::OffsetBot) { 340 if (offset == Type::OffsetBot) {
341 return TypePtr::BOTTOM; 341 return TypePtr::BOTTOM;
342 } 342 }
343 // %%% make offset be intptr_t 343 // %%% make offset be intptr_t
344 assert(!Universe::heap()->is_in_reserved((oop)offset), "must be a raw ptr"); 344 assert(!Universe::heap()->is_in_reserved(cast_to_oop(offset)), "must be a raw ptr");
345 return TypeRawPtr::BOTTOM; 345 return TypeRawPtr::BOTTOM;
346 } 346 }
347 347
348 // base of -1 with no particular offset means all of memory 348 // base of -1 with no particular offset means all of memory
349 if (base == NodeSentinel) return TypePtr::BOTTOM; 349 if (base == NodeSentinel) return TypePtr::BOTTOM;