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.internal.jvmstat.jmod - Internal JVM Stat Module
JDK 17 jdk.internal.JVM Stat.jmod is the JMOD file for JDK 17 Internal Jvmstat module.
JDK 17 Internal JVM Stat module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.internal.jvmstat.jmod.
JDK 17 Internal JVM Stat module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Internal JVM Stat module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.internal.jvmstat.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/jvmstat/perfdata/monitor/AliasFileParser.java
/* * Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package sun.jvmstat.perfdata.monitor; import java.net.*; import java.io.*; import java.util.*; import java.util.regex.*; /** * Class for parsing alias files. File format is expected to follow * the following syntax: * * alias name [alias]* * * Java style comments can occur anywhere within the file. * @author Brian Doherty * @since 1.5 */ public class AliasFileParser { private static final String ALIAS = "alias"; // 8028357 removed old, inefficient debug logging // other variables private URL inputfile; private StreamTokenizer st; private Token currentToken; AliasFileParser(URL inputfile) { this.inputfile = inputfile; } // value class to hold StreamTokenizer token values private class Token { public String sval; public int ttype; public Token(int ttype, String sval) { this.ttype = ttype; this.sval = sval; } } /** * method to get the next token as a Token type */ private void nextToken() throws IOException { st.nextToken(); currentToken = new Token(st.ttype, st.sval); } /** * method to match the current Token to a specified token type and * value Throws a SyntaxException if token doesn't match. */ private void match(int ttype, String token) throws IOException, SyntaxException { if ((currentToken.ttype == ttype) && (currentToken.sval.compareTo(token) == 0)) { nextToken(); } else { throw new SyntaxException(st.lineno()); } } /* * method to match the current Token to a specified token type. * Throws a SyntaxException if token doesn't match. */ private void match(int ttype) throws IOException, SyntaxException { if (currentToken.ttype == ttype) { nextToken(); } else { throw new SyntaxException(st.lineno()); } } private void match(String token) throws IOException, SyntaxException { match(StreamTokenizer.TT_WORD, token); } /** * method to parse the given input file. */ public void parse(Map<String, ArrayList<String>> map) throws SyntaxException, IOException { if (inputfile == null) { return; } BufferedReader r = new BufferedReader( new InputStreamReader(inputfile.openStream())); st = new StreamTokenizer(r); // allow both forms of commenting styles st.slashSlashComments(true); st.slashStarComments(true); st.wordChars('_','_'); nextToken(); while (currentToken.ttype != StreamTokenizer.TT_EOF) { // look for the start symbol if ((currentToken.ttype != StreamTokenizer.TT_WORD) || (currentToken.sval.compareTo(ALIAS) != 0)) { nextToken(); continue; } match(ALIAS); String name = currentToken.sval; match(StreamTokenizer.TT_WORD); ArrayList<String> aliases = new ArrayList<String>(); do { aliases.add(currentToken.sval); match(StreamTokenizer.TT_WORD); } while ((currentToken.ttype != StreamTokenizer.TT_EOF) && (currentToken.sval.compareTo(ALIAS) != 0)); map.put(name, aliases); } } }
⏎ sun/jvmstat/perfdata/monitor/AliasFileParser.java
Or download all of them as a single archive file:
File name: jdk.internal.jvmstat-17.0.5-src.zip File size: 89372 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.internal.le.jmod - Internal Line Editing Module
2023-08-25, 5465👍, 0💬
Popular Posts:
JDK 11 java.rmi.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) module. JDK 11 RMI m...
JasperReports, the world's most popular open source business intelligence and reporting engine and J...
maven-settings-builder-3 .8.6.jaris the JAR file for Apache Maven 3.8.6 Settings Builder module. Apa...
maven-core-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Core module. Apache Maven is a software ...
What Is mail.jar of JavaMail 1.4.2? I got the JAR file from javamail-1.4.2.zip. mail.jar in javamail...