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

agent/src/share/classes/sun/jvm/hotspot/utilities/PointerFinder.java

Print this page

        

*** 1,7 **** /* ! * Copyright 2000-2004 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. --- 1,7 ---- /* ! * 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 **** 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); loc.inBlobUnknownLocation = (!(loc.inBlobInstructions || loc.inBlobData || loc.inBlobOops)); return loc; } --- 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); ! ! 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