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 11 jdk.hotspot.agent.jmod - Hotspot Agent Module
JDK 11 jdk.hotspot.agent.jmod is the JMOD file for JDK 11 Hotspot Agent module.
JDK 11 Hotspot Agent module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.hotspot.agent.jmod.
JDK 11 Hotspot Agent module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Hotspot Agent module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.hotspot.agent.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/jvm/hotspot/HelloWorld.java
/* * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * */ package sun.jvm.hotspot; import java.lang.reflect.*; public class HelloWorld { private static String helloWorldString = "Hello, world!"; private static volatile int helloWorldTrigger = 0; private static final boolean useMethodInvoke = false; private static Object lock = new Object(); public static void main(String[] args) { int foo = a(); System.out.println("HelloWorld exiting. a() = " + foo); } private static int a() { return 1 + b(); } private static int b() { return 1 + c(); } private static int c() { return 1 + d("Hi"); } private static int d(String x) { System.out.println("HelloWorld.d() received \"" + x + "\" as argument"); synchronized(lock) { if (useMethodInvoke) { try { Method method = HelloWorld.class.getMethod("e"); Integer result = (Integer) method.invoke(null, new Object[0]); return result.intValue(); } catch (Exception e) { throw new RuntimeException(e.toString()); } } else { int i = fib(10); // 89 long l = i; float f = i; double d = i; char c = (char) i; short s = (short) i; byte b = (byte) i; int ret = e(); System.out.println("Tenth Fibonacci number in all formats: " + i + ", " + l + ", " + f + ", " + d + ", " + c + ", " + s + ", " + b); return ret; } } } public static int e() { System.out.println("Going to sleep..."); int i = 0; while (helloWorldTrigger == 0) { if (++i == 1000000) { System.gc(); } } System.out.println(helloWorldString); while (helloWorldTrigger != 0) { } return i; } // Tree-recursive implementation for test public static int fib(int n) { if (n < 2) { return 1; } return fib(n - 1) + fib(n - 2); } }
⏎ sun/jvm/hotspot/HelloWorld.java
Or download all of them as a single archive file:
File name: jdk.hotspot.agent-11.0.1-src.zip File size: 1243786 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.httpserver.jmod - HTTP Server Module
2020-02-29, 131724👍, 0💬
Popular Posts:
xml-commons External Source Code Files are provided in the source package file, xml-commons-external...
What Is activation.jar? I heard it's related to JAF (JavaBeans Activation Framework) 1.0.2? The if y...
xml-commons Resolver Source Code Files are provided in the source package file, xml-commons-resolver...
JDK 7 tools.jar is the JAR file for JDK 7 tools. It contains Java classes to support different JDK t...
Jettison is a collection of Java APIs (like STaX and DOM) which read and write JSON. This allows nea...