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.jfr.jmod - JFR Module
JDK 11 jdk.jfr.jmod is the JMOD file for JDK 11 JFR module.
JDK 11 JFR module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.jfr.jmod.
JDK 11 JFR module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 JFR module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.jfr.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/jfr/internal/management/ManagementSupport.java
/* * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package jdk.jfr.internal.management; import java.time.Duration; import java.util.ArrayList; import java.util.Collections; import java.util.List; import jdk.jfr.EventType; import jdk.jfr.internal.JVMSupport; import jdk.jfr.internal.LogLevel; import jdk.jfr.internal.LogTag; import jdk.jfr.internal.Logger; import jdk.jfr.internal.MetadataRepository; import jdk.jfr.internal.Utils; import jdk.jfr.internal.instrument.JDKEvents; /** * The management API in module jdk.management.jfr should be built on top of the * public API in jdk.jfr. Before putting more functionality here, consider if it * should not be part of the public API, and if not, please provide motivation * */ public final class ManagementSupport { // Purpose of this method is to expose the event types to the // FlightRecorderMXBean without instantiating Flight Recorder. // // This allows: // // 1) discoverability, so event settings can be exposed without the need to // create a new Recording in FlightrecorderMXBean. // // 2) a graphical JMX client to list all attributes to the user, without // loading JFR memory buffers. This is especially important when there is // no intent to use Flight Recorder. // // An alternative design would be to make FlightRecorder#getEventTypes // static, but it would the make the API look strange // public static List<EventType> getEventTypes() { // would normally be checked when a Flight Recorder instance is created Utils.checkAccessFlightRecorder(); if (JVMSupport.isNotAvailable()) { return new ArrayList<>(); } JDKEvents.initialize(); // make sure JDK events are available return Collections.unmodifiableList(MetadataRepository.getInstance().getRegisteredEventTypes()); } // Reuse internal code for parsing a timespan public static long parseTimespan(String s) { return Utils.parseTimespan(s); } // Reuse internal code for formatting settings public static final String formatTimespan(Duration dValue, String separation) { return Utils.formatTimespan(dValue, separation); } // Reuse internal logging mechanism public static void logError(String message) { Logger.log(LogTag.JFR, LogLevel.ERROR, message); } }
⏎ jdk/jfr/internal/management/ManagementSupport.java
Or download all of them as a single archive file:
File name: jdk.jfr-11.0.1-src.zip File size: 237632 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.jlink.jmod - JLink Tool
2020-06-30, 44463👍, 0💬
Popular Posts:
What Is wstx-asl-3.2.8.jar? wstx-asl-3.2.8.jar is JAR file for the ASL component of Woodstox 3.2.8. ...
What Is javax.websocket-api-1.1. jar?javax.websocket-api-1.1. jaris the JAR file for Java API for We...
What Is HttpComponents httpcore-4.2.2.jar? HttpComponents httpcore-4.2.2.jar is the JAR file for Apa...
commons-lang-1.0.1.jar is the JAR file for Apache Commons Lang 1.0.1, which provides a host of helpe...
What Is commons-lang3-3.1.jar? commons-lang3-3.1.jar is the JAR file for Apache Commons Lang 3.1, wh...