test/testlibrary/whitebox/sun/hotspot/WhiteBox.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8038240 Cdiff test/testlibrary/whitebox/sun/hotspot/WhiteBox.java

test/testlibrary/whitebox/sun/hotspot/WhiteBox.java

Print this page
rev 6136 : 8038240: new WB API to get nmethod
Reviewed-by: morris, kvn

*** 1,7 **** /* ! * Copyright (c) 2012, 2013, Oracle and/or its affiliates. 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 (c) 2012, 2014, Oracle and/or its affiliates. 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.
*** 133,142 **** --- 133,143 ---- return enqueueMethodForCompilation(method, compLevel, -1 /*InvocationEntryBci*/); } public native boolean enqueueMethodForCompilation(Executable method, int compLevel, int entry_bci); public native void clearMethodState(Executable method); public native int getMethodEntryBci(Executable method); + public native Object[] getNMethod(Executable method, boolean isOsr); // Intered strings public native boolean isInStringTable(String str); // Memory
test/testlibrary/whitebox/sun/hotspot/WhiteBox.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File