Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 17 jdk.jdi.jmod - JDI Tool
JDK 17 jdk.jdi.jmod is the JMOD file for JDK 17 JDI (Java Debug Interface) tool.
JDK 17 JDI tool compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.jdi.jmod.
JDK 17 JDI tool compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 JDI tool source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.jdi.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/tools/jdi/ThreadGroupReferenceImpl.java
/* * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.tools.jdi; import java.util.Arrays; import java.util.List; import com.sun.jdi.ThreadGroupReference; import com.sun.jdi.ThreadReference; import com.sun.jdi.VirtualMachine; public class ThreadGroupReferenceImpl extends ObjectReferenceImpl implements ThreadGroupReference { // Cached components that cannot change String name; ThreadGroupReference parent; boolean triedParent; // This is cached only while the VM is suspended private static class Cache extends ObjectReferenceImpl.Cache { JDWP.ThreadGroupReference.Children kids = null; } protected ObjectReferenceImpl.Cache newCache() { return new Cache(); } ThreadGroupReferenceImpl(VirtualMachine aVm, long aRef) { super(aVm, aRef); vm.state().addListener(this); } protected String description() { return "ThreadGroupReference " + uniqueID(); } public String name() { if (name == null) { // Does not need synchronization, since worst-case // static info is fetched twice (Thread group name // cannot change) try { name = JDWP.ThreadGroupReference.Name. process(vm, this).groupName; } catch (JDWPException exc) { throw exc.toJDIException(); } } return name; } public ThreadGroupReference parent() { if (!triedParent) { // Does not need synchronization, since worst-case // static info is fetched twice (Thread group parent cannot // change) try { parent = JDWP.ThreadGroupReference.Parent. process(vm, this).parentGroup; triedParent = true; } catch (JDWPException exc) { throw exc.toJDIException(); } } return parent; } public void suspend() { for (ThreadReference thread : threads()) { thread.suspend(); } for (ThreadGroupReference threadGroup : threadGroups()) { threadGroup.suspend(); } } public void resume() { for (ThreadReference thread : threads()) { thread.resume(); } for (ThreadGroupReference threadGroup : threadGroups()) { threadGroup.resume(); } } private JDWP.ThreadGroupReference.Children kids() { JDWP.ThreadGroupReference.Children kids = null; try { Cache local = (Cache)getCache(); if (local != null) { kids = local.kids; } if (kids == null) { kids = JDWP.ThreadGroupReference.Children .process(vm, this); if (local != null) { local.kids = kids; if ((vm.traceFlags & VirtualMachine.TRACE_OBJREFS) != 0) { vm.printTrace(description() + " temporarily caching children "); } } } } catch (JDWPException exc) { throw exc.toJDIException(); } return kids; } public List<ThreadReference> threads() { return Arrays.asList((ThreadReference[])kids().childThreads); } public List<ThreadGroupReference> threadGroups() { return Arrays.asList((ThreadGroupReference[])kids().childGroups); } public String toString() { return "instance of " + referenceType().name() + "(name='" + name() + "', " + "id=" + uniqueID() + ")"; } byte typeValueKey() { return JDWP.Tag.THREAD_GROUP; } }
⏎ com/sun/tools/jdi/ThreadGroupReferenceImpl.java
Or download all of them as a single archive file:
File name: jdk.jdi-17.0.5-src.zip File size: 476972 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.jdwp.agent.jmod - JDWP Agent Module
2023-04-17, 9851👍, 0💬
Popular Posts:
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
What Is commons-net-ftp-2.0.jar? commons-net-ftp-2.0.jar is the JAR file for Apache Commons Net FTP ...
GJT (Giant Java Tree) implementation of XML Pull Parser. JAR File Size and Download Location: File n...
What Is activation.jar? I heard it's related to JAF (JavaBeans Activation Framework) 1.1? The if you...
XOM™ is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with ...