2362N/A * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * The class is used for implementing the "JvmThreadInstanceEntry" group. 0N/A public final static byte inNative = (
byte)
0x80;
// bit 1 0N/A public final static byte runnable = (
byte)
0x10;
// bit 4 0N/A public final static byte blocked = (
byte)
0x08;
// bit 5 0N/A public final static byte waiting = (
byte)
0x02;
// bit 7 0N/A public final static byte other = (
byte)
0x80;
// bit 9 0N/A public final static byte mask0 = (
byte)
0x3F;
0N/A public final static byte mask1 = (
byte)
0x80;
0N/A byte[]
bitmap =
new byte[] {(
byte)
0x00, (
byte)
0x00};
0N/A "Unexpected exception: " + r);
0N/A * Constructor for the "JvmThreadInstanceEntry" group. 0N/A * Getter for the "JvmThreadInstLockedOwnerId" variable. 0N/A * Getter for the "JvmThreadInstLockName" variable. 0N/A * Getter for the "JvmThreadInstName" variable. 0N/A * Getter for the "JvmThreadInstCpuTimeNs" variable. 0N/A log.
debug(
"getJvmThreadInstCpuTimeNs",
"Cpu time ns : " + l);
0N/A //Cpu time measurement is disabled or the id is not valid. 0N/A // XXX Revisit: catch TO BE EVENTUALLY REMOVED 0N/A "Operation not supported: " + e);
0N/A * Getter for the "JvmThreadInstBlockTimeMs" variable. 0N/A //Monitoring is disabled 0N/A * Getter for the "JvmThreadInstBlockCount" variable. 0N/A * Getter for the "JvmThreadInstWaitTimeMs" variable. 0N/A //Monitoring is disabled 0N/A * Getter for the "JvmThreadInstWaitCount" variable. 0N/A * Getter for the "JvmThreadInstState" variable. 0N/A * Getter for the "JvmThreadInstId" variable. 0N/A * Getter for the "JvmThreadInstIndex" variable. 0N/A * Getter for the "JvmThreadInstStackTrace" variable. 0N/A //We append the stack trace in a buffer 0N/A // XXX Revisit: should check isDebugOn() 0N/A //Append \n at the end of each line except the last one 0N/A //The stack trace is truncated if its size exceeds 255.