Java Code Examples for com.sun.jmx.snmp.SnmpOid#toString()

The following examples show how to use com.sun.jmx.snmp.SnmpOid#toString() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JvmThreadInstanceEntryImpl.java    From jdk8u-dev-jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Getter for the "JvmThreadInstLockedOwnerId" variable.
 */
public String getJvmThreadInstLockOwnerPtr() throws SnmpStatusException {
   long id = info.getLockOwnerId();

   if(id == -1)
       return new String("0.0");

   SnmpOid oid = JvmThreadInstanceTableMetaImpl.makeOid(id);

   return getJvmThreadInstIndexOid() + "." + oid.toString();
}
 
Example 2
Source File: JvmThreadInstanceEntryImpl.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Getter for the "JvmThreadInstLockedOwnerId" variable.
 */
public String getJvmThreadInstLockOwnerPtr() throws SnmpStatusException {
   long id = info.getLockOwnerId();

   if(id == -1)
       return new String("0.0");

   SnmpOid oid = JvmThreadInstanceTableMetaImpl.makeOid(id);

   return getJvmThreadInstIndexOid() + "." + oid.toString();
}
 
Example 3
Source File: JvmThreadInstanceEntryImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Getter for the "JvmThreadInstLockedOwnerId" variable.
 */
public String getJvmThreadInstLockOwnerPtr() throws SnmpStatusException {
   long id = info.getLockOwnerId();

   if(id == -1)
       return new String("0.0");

   SnmpOid oid = JvmThreadInstanceTableMetaImpl.makeOid(id);

   return getJvmThreadInstIndexOid() + "." + oid.toString();
}
 
Example 4
Source File: JvmThreadInstanceEntryImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Getter for the "JvmThreadInstLockedOwnerId" variable.
 */
public String getJvmThreadInstLockOwnerPtr() throws SnmpStatusException {
   long id = info.getLockOwnerId();

   if(id == -1)
       return new String("0.0");

   SnmpOid oid = JvmThreadInstanceTableMetaImpl.makeOid(id);

   return getJvmThreadInstIndexOid() + "." + oid.toString();
}
 
Example 5
Source File: JvmThreadInstanceEntryImpl.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Getter for the "JvmThreadInstLockedOwnerId" variable.
 */
public String getJvmThreadInstLockOwnerPtr() throws SnmpStatusException {
   long id = info.getLockOwnerId();

   if(id == -1)
       return new String("0.0");

   SnmpOid oid = JvmThreadInstanceTableMetaImpl.makeOid(id);

   return getJvmThreadInstIndexOid() + "." + oid.toString();
}
 
Example 6
Source File: JvmThreadInstanceEntryImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Getter for the "JvmThreadInstLockedOwnerId" variable.
 */
public String getJvmThreadInstLockOwnerPtr() throws SnmpStatusException {
   long id = info.getLockOwnerId();

   if(id == -1)
       return new String("0.0");

   SnmpOid oid = JvmThreadInstanceTableMetaImpl.makeOid(id);

   return getJvmThreadInstIndexOid() + "." + oid.toString();
}
 
Example 7
Source File: JvmThreadInstanceEntryImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Getter for the "JvmThreadInstLockedOwnerId" variable.
 */
public String getJvmThreadInstLockOwnerPtr() throws SnmpStatusException {
   long id = info.getLockOwnerId();

   if(id == -1)
       return new String("0.0");

   SnmpOid oid = JvmThreadInstanceTableMetaImpl.makeOid(id);

   return getJvmThreadInstIndexOid() + "." + oid.toString();
}
 
Example 8
Source File: JvmThreadInstanceEntryImpl.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Getter for the "JvmThreadInstLockedOwnerId" variable.
 */
public String getJvmThreadInstLockOwnerPtr() throws SnmpStatusException {
   long id = info.getLockOwnerId();

   if(id == -1)
       return new String("0.0");

   SnmpOid oid = JvmThreadInstanceTableMetaImpl.makeOid(id);

   return getJvmThreadInstIndexOid() + "." + oid.toString();
}
 
Example 9
Source File: JvmThreadInstanceEntryImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Getter for the "JvmThreadInstLockedOwnerId" variable.
 */
public String getJvmThreadInstLockOwnerPtr() throws SnmpStatusException {
   long id = info.getLockOwnerId();

   if(id == -1)
       return new String("0.0");

   SnmpOid oid = JvmThreadInstanceTableMetaImpl.makeOid(id);

   return getJvmThreadInstIndexOid() + "." + oid.toString();
}
 
Example 10
Source File: JvmThreadInstanceEntryImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Getter for the "JvmThreadInstLockedOwnerId" variable.
 */
public String getJvmThreadInstLockOwnerPtr() throws SnmpStatusException {
   long id = info.getLockOwnerId();

   if(id == -1)
       return new String("0.0");

   SnmpOid oid = JvmThreadInstanceTableMetaImpl.makeOid(id);

   return getJvmThreadInstIndexOid() + "." + oid.toString();
}
 
Example 11
Source File: JvmThreadInstanceTableMetaImpl.java    From jdk8u_jdk with GNU General Public License v2.0 4 votes vote down vote up
private JvmThreadInstanceEntryImpl getJvmThreadInstance(Object userData,
                                                        SnmpOid oid) {
    JvmThreadInstanceEntryImpl cached = null;
    String entryTag = null;
    Map<Object, Object> map = null;
    final boolean dbg = log.isDebugOn();

    if (userData instanceof Map) {
        map = Util.cast(userData);

        // We're going to use this name to store/retrieve the entry in
        // the request contextual cache.
        //
        // Revisit: Probably better programming to put all these strings
        //          in some interface.
        //
        entryTag = "JvmThreadInstanceTable.entry." + oid.toString();

        cached = (JvmThreadInstanceEntryImpl) map.get(entryTag);
    }

    // If the entry is in the cache, simply return it.
    //
    if (cached != null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "Entry found in cache: " + entryTag);
        return cached;
    }

    if (dbg) log.debug("*** getJvmThreadInstance", "Entry [" +
                       oid + "] is not in cache");

    // Entry not in cache. We will create one if needed.
    //
    ThreadInfo info = null;
    try {
        info = getThreadInfo(oid);
    } catch (RuntimeException r) {
        log.trace("*** getJvmThreadInstance",
                  "Failed to get thread info for rowOid: " + oid);
        log.debug("*** getJvmThreadInstance",r);
    }

    // No thread by that id => no entry.
    //
    if(info == null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "No entry by that oid [" + oid + "]");
        return null;
    }

    cached = new JvmThreadInstanceEntryImpl(info, oid.toByte());
    if (map != null) map.put(entryTag, cached);
    if (dbg) log.debug("*** getJvmThreadInstance",
                       "Entry created for Thread OID [" + oid + "]");
    return cached;
}
 
Example 12
Source File: JvmThreadInstanceTableMetaImpl.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
private JvmThreadInstanceEntryImpl getJvmThreadInstance(Object userData,
                                                        SnmpOid oid) {
    JvmThreadInstanceEntryImpl cached = null;
    String entryTag = null;
    Map<Object, Object> map = null;
    final boolean dbg = log.isDebugOn();

    if (userData instanceof Map) {
        map = Util.cast(userData);

        // We're going to use this name to store/retrieve the entry in
        // the request contextual cache.
        //
        // Revisit: Probably better programming to put all these strings
        //          in some interface.
        //
        entryTag = "JvmThreadInstanceTable.entry." + oid.toString();

        cached = (JvmThreadInstanceEntryImpl) map.get(entryTag);
    }

    // If the entry is in the cache, simply return it.
    //
    if (cached != null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "Entry found in cache: " + entryTag);
        return cached;
    }

    if (dbg) log.debug("*** getJvmThreadInstance", "Entry [" +
                       oid + "] is not in cache");

    // Entry not in cache. We will create one if needed.
    //
    ThreadInfo info = null;
    try {
        info = getThreadInfo(oid);
    } catch (RuntimeException r) {
        log.trace("*** getJvmThreadInstance",
                  "Failed to get thread info for rowOid: " + oid);
        log.debug("*** getJvmThreadInstance",r);
    }

    // No thread by that id => no entry.
    //
    if(info == null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "No entry by that oid [" + oid + "]");
        return null;
    }

    cached = new JvmThreadInstanceEntryImpl(info, oid.toByte());
    if (map != null) map.put(entryTag, cached);
    if (dbg) log.debug("*** getJvmThreadInstance",
                       "Entry created for Thread OID [" + oid + "]");
    return cached;
}
 
Example 13
Source File: JvmThreadInstanceTableMetaImpl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
private JvmThreadInstanceEntryImpl getJvmThreadInstance(Object userData,
                                                        SnmpOid oid) {
    JvmThreadInstanceEntryImpl cached = null;
    String entryTag = null;
    Map<Object, Object> map = null;
    final boolean dbg = log.isDebugOn();

    if (userData instanceof Map) {
        map = Util.cast(userData);

        // We're going to use this name to store/retrieve the entry in
        // the request contextual cache.
        //
        // Revisit: Probably better programming to put all these strings
        //          in some interface.
        //
        entryTag = "JvmThreadInstanceTable.entry." + oid.toString();

        cached = (JvmThreadInstanceEntryImpl) map.get(entryTag);
    }

    // If the entry is in the cache, simply return it.
    //
    if (cached != null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "Entry found in cache: " + entryTag);
        return cached;
    }

    if (dbg) log.debug("*** getJvmThreadInstance", "Entry [" +
                       oid + "] is not in cache");

    // Entry not in cache. We will create one if needed.
    //
    ThreadInfo info = null;
    try {
        info = getThreadInfo(oid);
    } catch (RuntimeException r) {
        log.trace("*** getJvmThreadInstance",
                  "Failed to get thread info for rowOid: " + oid);
        log.debug("*** getJvmThreadInstance",r);
    }

    // No thread by that id => no entry.
    //
    if(info == null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "No entry by that oid [" + oid + "]");
        return null;
    }

    cached = new JvmThreadInstanceEntryImpl(info, oid.toByte());
    if (map != null) map.put(entryTag, cached);
    if (dbg) log.debug("*** getJvmThreadInstance",
                       "Entry created for Thread OID [" + oid + "]");
    return cached;
}
 
Example 14
Source File: JvmThreadInstanceTableMetaImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
private JvmThreadInstanceEntryImpl getJvmThreadInstance(Object userData,
                                                        SnmpOid oid) {
    JvmThreadInstanceEntryImpl cached = null;
    String entryTag = null;
    Map<Object, Object> map = null;
    final boolean dbg = log.isDebugOn();

    if (userData instanceof Map) {
        map = Util.cast(userData);

        // We're going to use this name to store/retrieve the entry in
        // the request contextual cache.
        //
        // Revisit: Probably better programming to put all these strings
        //          in some interface.
        //
        entryTag = "JvmThreadInstanceTable.entry." + oid.toString();

        cached = (JvmThreadInstanceEntryImpl) map.get(entryTag);
    }

    // If the entry is in the cache, simply return it.
    //
    if (cached != null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "Entry found in cache: " + entryTag);
        return cached;
    }

    if (dbg) log.debug("*** getJvmThreadInstance", "Entry [" +
                       oid + "] is not in cache");

    // Entry not in cache. We will create one if needed.
    //
    ThreadInfo info = null;
    try {
        info = getThreadInfo(oid);
    } catch (RuntimeException r) {
        log.trace("*** getJvmThreadInstance",
                  "Failed to get thread info for rowOid: " + oid);
        log.debug("*** getJvmThreadInstance",r);
    }

    // No thread by that id => no entry.
    //
    if(info == null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "No entry by that oid [" + oid + "]");
        return null;
    }

    cached = new JvmThreadInstanceEntryImpl(info, oid.toByte());
    if (map != null) map.put(entryTag, cached);
    if (dbg) log.debug("*** getJvmThreadInstance",
                       "Entry created for Thread OID [" + oid + "]");
    return cached;
}
 
Example 15
Source File: JvmThreadInstanceTableMetaImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
private JvmThreadInstanceEntryImpl getJvmThreadInstance(Object userData,
                                                        SnmpOid oid) {
    JvmThreadInstanceEntryImpl cached = null;
    String entryTag = null;
    Map<Object, Object> map = null;
    final boolean dbg = log.isDebugOn();

    if (userData instanceof Map) {
        map = Util.cast(userData);

        // We're going to use this name to store/retrieve the entry in
        // the request contextual cache.
        //
        // Revisit: Probably better programming to put all these strings
        //          in some interface.
        //
        entryTag = "JvmThreadInstanceTable.entry." + oid.toString();

        cached = (JvmThreadInstanceEntryImpl) map.get(entryTag);
    }

    // If the entry is in the cache, simply return it.
    //
    if (cached != null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "Entry found in cache: " + entryTag);
        return cached;
    }

    if (dbg) log.debug("*** getJvmThreadInstance", "Entry [" +
                       oid + "] is not in cache");

    // Entry not in cache. We will create one if needed.
    //
    ThreadInfo info = null;
    try {
        info = getThreadInfo(oid);
    } catch (RuntimeException r) {
        log.trace("*** getJvmThreadInstance",
                  "Failed to get thread info for rowOid: " + oid);
        log.debug("*** getJvmThreadInstance",r);
    }

    // No thread by that id => no entry.
    //
    if(info == null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "No entry by that oid [" + oid + "]");
        return null;
    }

    cached = new JvmThreadInstanceEntryImpl(info, oid.toByte());
    if (map != null) map.put(entryTag, cached);
    if (dbg) log.debug("*** getJvmThreadInstance",
                       "Entry created for Thread OID [" + oid + "]");
    return cached;
}
 
Example 16
Source File: JvmThreadInstanceTableMetaImpl.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
private JvmThreadInstanceEntryImpl getJvmThreadInstance(Object userData,
                                                        SnmpOid oid) {
    JvmThreadInstanceEntryImpl cached = null;
    String entryTag = null;
    Map<Object, Object> map = null;
    final boolean dbg = log.isDebugOn();

    if (userData instanceof Map) {
        map = Util.cast(userData);

        // We're going to use this name to store/retrieve the entry in
        // the request contextual cache.
        //
        // Revisit: Probably better programming to put all these strings
        //          in some interface.
        //
        entryTag = "JvmThreadInstanceTable.entry." + oid.toString();

        cached = (JvmThreadInstanceEntryImpl) map.get(entryTag);
    }

    // If the entry is in the cache, simply return it.
    //
    if (cached != null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "Entry found in cache: " + entryTag);
        return cached;
    }

    if (dbg) log.debug("*** getJvmThreadInstance", "Entry [" +
                       oid + "] is not in cache");

    // Entry not in cache. We will create one if needed.
    //
    ThreadInfo info = null;
    try {
        info = getThreadInfo(oid);
    } catch (RuntimeException r) {
        log.trace("*** getJvmThreadInstance",
                  "Failed to get thread info for rowOid: " + oid);
        log.debug("*** getJvmThreadInstance",r);
    }

    // No thread by that id => no entry.
    //
    if(info == null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "No entry by that oid [" + oid + "]");
        return null;
    }

    cached = new JvmThreadInstanceEntryImpl(info, oid.toByte());
    if (map != null) map.put(entryTag, cached);
    if (dbg) log.debug("*** getJvmThreadInstance",
                       "Entry created for Thread OID [" + oid + "]");
    return cached;
}
 
Example 17
Source File: JvmThreadInstanceTableMetaImpl.java    From jdk8u-dev-jdk with GNU General Public License v2.0 4 votes vote down vote up
private JvmThreadInstanceEntryImpl getJvmThreadInstance(Object userData,
                                                        SnmpOid oid) {
    JvmThreadInstanceEntryImpl cached = null;
    String entryTag = null;
    Map<Object, Object> map = null;
    final boolean dbg = log.isDebugOn();

    if (userData instanceof Map) {
        map = Util.cast(userData);

        // We're going to use this name to store/retrieve the entry in
        // the request contextual cache.
        //
        // Revisit: Probably better programming to put all these strings
        //          in some interface.
        //
        entryTag = "JvmThreadInstanceTable.entry." + oid.toString();

        cached = (JvmThreadInstanceEntryImpl) map.get(entryTag);
    }

    // If the entry is in the cache, simply return it.
    //
    if (cached != null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "Entry found in cache: " + entryTag);
        return cached;
    }

    if (dbg) log.debug("*** getJvmThreadInstance", "Entry [" +
                       oid + "] is not in cache");

    // Entry not in cache. We will create one if needed.
    //
    ThreadInfo info = null;
    try {
        info = getThreadInfo(oid);
    } catch (RuntimeException r) {
        log.trace("*** getJvmThreadInstance",
                  "Failed to get thread info for rowOid: " + oid);
        log.debug("*** getJvmThreadInstance",r);
    }

    // No thread by that id => no entry.
    //
    if(info == null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "No entry by that oid [" + oid + "]");
        return null;
    }

    cached = new JvmThreadInstanceEntryImpl(info, oid.toByte());
    if (map != null) map.put(entryTag, cached);
    if (dbg) log.debug("*** getJvmThreadInstance",
                       "Entry created for Thread OID [" + oid + "]");
    return cached;
}
 
Example 18
Source File: JvmThreadInstanceTableMetaImpl.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
private JvmThreadInstanceEntryImpl getJvmThreadInstance(Object userData,
                                                        SnmpOid oid) {
    JvmThreadInstanceEntryImpl cached = null;
    String entryTag = null;
    Map<Object, Object> map = null;
    final boolean dbg = log.isDebugOn();

    if (userData instanceof Map) {
        map = Util.cast(userData);

        // We're going to use this name to store/retrieve the entry in
        // the request contextual cache.
        //
        // Revisit: Probably better programming to put all these strings
        //          in some interface.
        //
        entryTag = "JvmThreadInstanceTable.entry." + oid.toString();

        cached = (JvmThreadInstanceEntryImpl) map.get(entryTag);
    }

    // If the entry is in the cache, simply return it.
    //
    if (cached != null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "Entry found in cache: " + entryTag);
        return cached;
    }

    if (dbg) log.debug("*** getJvmThreadInstance", "Entry [" +
                       oid + "] is not in cache");

    // Entry not in cache. We will create one if needed.
    //
    ThreadInfo info = null;
    try {
        info = getThreadInfo(oid);
    } catch (RuntimeException r) {
        log.trace("*** getJvmThreadInstance",
                  "Failed to get thread info for rowOid: " + oid);
        log.debug("*** getJvmThreadInstance",r);
    }

    // No thread by that id => no entry.
    //
    if(info == null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "No entry by that oid [" + oid + "]");
        return null;
    }

    cached = new JvmThreadInstanceEntryImpl(info, oid.toByte());
    if (map != null) map.put(entryTag, cached);
    if (dbg) log.debug("*** getJvmThreadInstance",
                       "Entry created for Thread OID [" + oid + "]");
    return cached;
}
 
Example 19
Source File: JvmThreadInstanceTableMetaImpl.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
private JvmThreadInstanceEntryImpl getJvmThreadInstance(Object userData,
                                                        SnmpOid oid) {
    JvmThreadInstanceEntryImpl cached = null;
    String entryTag = null;
    Map<Object, Object> map = null;
    final boolean dbg = log.isDebugOn();

    if (userData instanceof Map) {
        map = Util.cast(userData);

        // We're going to use this name to store/retrieve the entry in
        // the request contextual cache.
        //
        // Revisit: Probably better programming to put all these strings
        //          in some interface.
        //
        entryTag = "JvmThreadInstanceTable.entry." + oid.toString();

        cached = (JvmThreadInstanceEntryImpl) map.get(entryTag);
    }

    // If the entry is in the cache, simply return it.
    //
    if (cached != null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "Entry found in cache: " + entryTag);
        return cached;
    }

    if (dbg) log.debug("*** getJvmThreadInstance", "Entry [" +
                       oid + "] is not in cache");

    // Entry not in cache. We will create one if needed.
    //
    ThreadInfo info = null;
    try {
        info = getThreadInfo(oid);
    } catch (RuntimeException r) {
        log.trace("*** getJvmThreadInstance",
                  "Failed to get thread info for rowOid: " + oid);
        log.debug("*** getJvmThreadInstance",r);
    }

    // No thread by that id => no entry.
    //
    if(info == null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "No entry by that oid [" + oid + "]");
        return null;
    }

    cached = new JvmThreadInstanceEntryImpl(info, oid.toByte());
    if (map != null) map.put(entryTag, cached);
    if (dbg) log.debug("*** getJvmThreadInstance",
                       "Entry created for Thread OID [" + oid + "]");
    return cached;
}
 
Example 20
Source File: JvmThreadInstanceTableMetaImpl.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
private JvmThreadInstanceEntryImpl getJvmThreadInstance(Object userData,
                                                        SnmpOid oid) {
    JvmThreadInstanceEntryImpl cached = null;
    String entryTag = null;
    Map<Object, Object> map = null;
    final boolean dbg = log.isDebugOn();

    if (userData instanceof Map) {
        map = Util.cast(userData);

        // We're going to use this name to store/retrieve the entry in
        // the request contextual cache.
        //
        // Revisit: Probably better programming to put all these strings
        //          in some interface.
        //
        entryTag = "JvmThreadInstanceTable.entry." + oid.toString();

        cached = (JvmThreadInstanceEntryImpl) map.get(entryTag);
    }

    // If the entry is in the cache, simply return it.
    //
    if (cached != null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "Entry found in cache: " + entryTag);
        return cached;
    }

    if (dbg) log.debug("*** getJvmThreadInstance", "Entry [" +
                       oid + "] is not in cache");

    // Entry not in cache. We will create one if needed.
    //
    ThreadInfo info = null;
    try {
        info = getThreadInfo(oid);
    } catch (RuntimeException r) {
        log.trace("*** getJvmThreadInstance",
                  "Failed to get thread info for rowOid: " + oid);
        log.debug("*** getJvmThreadInstance",r);
    }

    // No thread by that id => no entry.
    //
    if(info == null) {
        if (dbg) log.debug("*** getJvmThreadInstance",
                           "No entry by that oid [" + oid + "]");
        return null;
    }

    cached = new JvmThreadInstanceEntryImpl(info, oid.toByte());
    if (map != null) map.put(entryTag, cached);
    if (dbg) log.debug("*** getJvmThreadInstance",
                       "Entry created for Thread OID [" + oid + "]");
    return cached;
}