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/Options.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; import jdk.jfr.internal.SecuritySupport.SafePath; import jdk.internal.misc.Unsafe; /** * Options that control Flight Recorder. * * Can be set using JFR.configure * */ public final class Options { private final static JVM jvm = JVM.getJVM(); private final static long WAIT_INTERVAL = 1000; // ms; private final static long MIN_MAX_CHUNKSIZE = 1024 * 1024; private static final long DEFAULT_GLOBAL_BUFFER_COUNT = 20; private static final long DEFAULT_GLOBAL_BUFFER_SIZE = 524288; private static final long DEFAULT_MEMORY_SIZE = DEFAULT_GLOBAL_BUFFER_COUNT * DEFAULT_GLOBAL_BUFFER_SIZE; private static long DEFAULT_THREAD_BUFFER_SIZE; private static final int DEFAULT_STACK_DEPTH = 64; private static final boolean DEFAULT_SAMPLE_THREADS = true; private static final long DEFAULT_MAX_CHUNK_SIZE = 12 * 1024 * 1024; private static final SafePath DEFAULT_DUMP_PATH = SecuritySupport.USER_HOME; private static long memorySize; private static long globalBufferSize; private static long globalBufferCount; private static long threadBufferSize; private static int stackDepth; private static boolean sampleThreads; private static long maxChunkSize; private static SafePath dumpPath; static { final long pageSize = Unsafe.getUnsafe().pageSize(); DEFAULT_THREAD_BUFFER_SIZE = pageSize > 8 * 1024 ? pageSize : 8 * 1024; reset(); } public static synchronized void setMaxChunkSize(long max) { if (max < MIN_MAX_CHUNKSIZE) { throw new IllegalArgumentException("Max chunk size must be at least " + MIN_MAX_CHUNKSIZE); } jvm.setFileNotification(max); maxChunkSize = max; } public static synchronized long getMaxChunkSize() { return maxChunkSize; } public static synchronized void setMemorySize(long memSize) { jvm.setMemorySize(memSize); memorySize = memSize; } public static synchronized long getMemorySize() { return memorySize; } public static synchronized void setThreadBufferSize(long threadBufSize) { jvm.setThreadBufferSize(threadBufSize); threadBufferSize = threadBufSize; } public static synchronized long getThreadBufferSize() { return threadBufferSize; } public static synchronized long getGlobalBufferSize() { return globalBufferSize; } public static synchronized void setGlobalBufferCount(long globalBufCount) { jvm.setGlobalBufferCount(globalBufCount); globalBufferCount = globalBufCount; } public static synchronized long getGlobalBufferCount() { return globalBufferCount; } public static synchronized void setGlobalBufferSize(long globalBufsize) { jvm.setGlobalBufferSize(globalBufsize); globalBufferSize = globalBufsize; } public static synchronized void setDumpPath(SafePath path) { dumpPath = path; } public static synchronized SafePath getDumpPath() { return dumpPath; } public static synchronized void setStackDepth(Integer stackTraceDepth) { jvm.setStackDepth(stackTraceDepth); stackDepth = stackTraceDepth; } public static synchronized int getStackDepth() { return stackDepth; } public static synchronized void setSampleThreads(Boolean sample) { jvm.setSampleThreads(sample); sampleThreads = sample; } public static synchronized boolean getSampleThreads() { return sampleThreads; } private static synchronized void reset() { setMaxChunkSize(DEFAULT_MAX_CHUNK_SIZE); setMemorySize(DEFAULT_MEMORY_SIZE); setGlobalBufferSize(DEFAULT_GLOBAL_BUFFER_SIZE); setGlobalBufferCount(DEFAULT_GLOBAL_BUFFER_COUNT); setDumpPath(DEFAULT_DUMP_PATH); setSampleThreads(DEFAULT_SAMPLE_THREADS); setStackDepth(DEFAULT_STACK_DEPTH); setThreadBufferSize(DEFAULT_THREAD_BUFFER_SIZE); } static synchronized long getWaitInterval() { return WAIT_INTERVAL; } static void ensureInitialized() { // trigger clinit which will setup JVM defaults. } }
⏎ jdk/jfr/internal/Options.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, 37785👍, 0💬
Popular Posts:
Apache Avalon began in 1999 as the Java Apache Server Framework and in late 2002 separated from the ...
Where to find answers to frequently asked questions on Downloading and Installing ojdbc.jar - JDBC D...
commons-fileupload-1.3.3 -sources.jaris the source JAR file for Apache Commons FileUpload 1.3., whic...
commons-io-1.4.jar is the JAR file for Commons IO 1.4, which is a library of utilities to assist wit...
JDK 17 java.desktop.jmod is the JMOD file for JDK 17 Desktop module. JDK 17 Desktop module compiled ...