comparison test/testlibrary/whitebox/sun/hotspot/WhiteBox.java @ 17817:4abb719c5620

8038240: new WB API to get nmethod Reviewed-by: morris, kvn
author iignatyev
date Thu, 27 Mar 2014 11:17:26 +0400
parents a48e16541e6b
children 0c48231c5c84
comparison
equal deleted inserted replaced
17816:3829d0343db0 17817:4abb719c5620
1 /* 1 /*
2 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2012, 2014, 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.
133 return enqueueMethodForCompilation(method, compLevel, -1 /*InvocationEntryBci*/); 133 return enqueueMethodForCompilation(method, compLevel, -1 /*InvocationEntryBci*/);
134 } 134 }
135 public native boolean enqueueMethodForCompilation(Executable method, int compLevel, int entry_bci); 135 public native boolean enqueueMethodForCompilation(Executable method, int compLevel, int entry_bci);
136 public native void clearMethodState(Executable method); 136 public native void clearMethodState(Executable method);
137 public native int getMethodEntryBci(Executable method); 137 public native int getMethodEntryBci(Executable method);
138 public native Object[] getNMethod(Executable method, boolean isOsr);
138 139
139 // Intered strings 140 // Intered strings
140 public native boolean isInStringTable(String str); 141 public native boolean isInStringTable(String str);
141 142
142 // Memory 143 // Memory