本文整理汇总了Java中gnu.classpath.jdwp.util.MonitorInfo类的典型用法代码示例。如果您正苦于以下问题:Java MonitorInfo类的具体用法?Java MonitorInfo怎么用?Java MonitorInfo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MonitorInfo类属于gnu.classpath.jdwp.util包,在下文中一共展示了MonitorInfo类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: executeMonitorInfo
点赞 2
import gnu.classpath.jdwp.util.MonitorInfo; //导入依赖的package包/类
private void executeMonitorInfo(ByteBuffer bb, DataOutputStream os)
throws JdwpException, IOException
{
if (!VMVirtualMachine.canGetMonitorInfo)
{
String msg = "getting monitor info not supported";
throw new NotImplementedException(msg);
}
ObjectId oid = idMan.readObjectId(bb);
Object obj = oid.getObject();
MonitorInfo info = VMVirtualMachine.getMonitorInfo(obj);
info.write(os);
}
开发者ID:vilie,
项目名称:javify,
代码行数:15,
代码来源:ObjectReferenceCommandSet.java
示例2: executeMonitorInfo
点赞 2
import gnu.classpath.jdwp.util.MonitorInfo; //导入依赖的package包/类
private void executeMonitorInfo(ByteBuffer bb, DataOutputStream os)
throws JdwpException, IOException
{
if (!VMVirtualMachine.canGetMonitorInfo)
{
String msg = "getting monitor info not supported";
throw new NotImplementedException(msg);
}
ObjectId oid = idMan.readObjectId(bb);
Object obj = oid.getObject();
MonitorInfo info = VMVirtualMachine.getMonitorInfo(obj);
info.write(os);
}
开发者ID:nmldiegues,
项目名称:jvm-stm,
代码行数:15,
代码来源:ObjectReferenceCommandSet.java
示例3: getMonitorInfo
点赞 1
import gnu.classpath.jdwp.util.MonitorInfo; //导入依赖的package包/类
/**
* Returns monitor information about an object. VM must support
* the canGetMonitorInformation capability.
*
* @param obj the object
* @returns monitor information (owner, entry count, waiters)
*/
public static native MonitorInfo getMonitorInfo(Object obj)
throws JdwpException;
开发者ID:vilie,
项目名称:javify,
代码行数:10,
代码来源:VMVirtualMachine.java