agent/src/share/classes/sun/jvm/hotspot/utilities/PointerFinder.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/agent/src/share/classes/sun/jvm/hotspot/utilities/PointerFinder.java	Mon May 10 08:59:37 2010
--- new/agent/src/share/classes/sun/jvm/hotspot/utilities/PointerFinder.java	Mon May 10 08:59:37 2010

*** 1,7 **** --- 1,7 ---- /* ! * Copyright 2000-2004 Sun Microsystems, Inc. All Rights Reserved. ! * Copyright 2000-2010 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 96,106 **** --- 96,111 ---- if (Assert.ASSERTS_ENABLED) { Assert.that(loc.blob != null, "Should have found CodeBlob"); } loc.inBlobInstructions = loc.blob.instructionsContains(a); loc.inBlobData = loc.blob.dataContains(a); loc.inBlobOops = loc.blob.oopsContains(a); + + if (loc.blob.isNMethod()) { + NMethod nm = (NMethod) loc.blob; + loc.inBlobOops = nm.oopsContains(a); + } + loc.inBlobUnknownLocation = (!(loc.inBlobInstructions || loc.inBlobData || loc.inBlobOops)); return loc; }

agent/src/share/classes/sun/jvm/hotspot/utilities/PointerFinder.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File