JDK 11 jdk.internal.jvmstat.jmod - Internal JVM Stat Module

JDK 11 jdk.internal.JVM Stat.jmod is the JMOD file for JDK 11 Internal Jvmstat module.

JDK 11 Internal JVM Stat module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.internal.jvmstat.jmod.

JDK 11 Internal JVM Stat module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.

JDK 11 Internal JVM Stat module source code files are stored in \fyicenter\jdk-11.0.1\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/v1_0/BasicType.java

/*
 * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package sun.jvmstat.perfdata.monitor.v1_0;

/**
 * A typesafe enumeration for describing Java basic types.
 *
 * <p> The enumeration values for this typesafe enumeration must be
 * kept in synchronization with the BasicType enum in the
 * globalsDefinitions.hpp file in the HotSpot source base.</p>
 *
 * @author Brian Doherty
 * @since 1.5
 */
public class BasicType {

    private final String name;
    private final int value;

    public static final BasicType BOOLEAN = new BasicType("boolean",  4);
    public static final BasicType CHAR    = new BasicType("char",     5);
    public static final BasicType FLOAT   = new BasicType("float",    6);
    public static final BasicType DOUBLE  = new BasicType("double",   7);
    public static final BasicType BYTE    = new BasicType("byte",     8);
    public static final BasicType SHORT   = new BasicType("short",    9);
    public static final BasicType INT     = new BasicType("int",     10);
    public static final BasicType LONG    = new BasicType("long",    11);
    public static final BasicType OBJECT  = new BasicType("object",  12);
    public static final BasicType ARRAY   = new BasicType("array",   13);
    public static final BasicType VOID    = new BasicType("void",    14);
    public static final BasicType ADDRESS = new BasicType("address", 15);
    public static final BasicType ILLEGAL = new BasicType("illegal", 99);

    private static BasicType basicTypes[] = {
        BOOLEAN, CHAR, FLOAT, DOUBLE, BYTE, SHORT, INT, LONG, OBJECT,
        ARRAY, VOID, ADDRESS, ILLEGAL
    };

    /**
     * Convert enumeration value to a String.
     *
     * @return String - the string representation for the enumeration.
     */
    public String toString() {
        return name;
    }

    /**
     * Convert enumeration to an integer value.
     *
     * @return int - the integer representation for the enumeration.
     */
    public int intValue() {
        return value;
    }

    /**
     * Map an integer value to its corresponding BasicType object.
     *
     * @param i an integer representation of a BasicType
     * @return BasicType - The BasicType enumeration object matching
     *                     the value of <code>i</code>
     */
    public static BasicType toBasicType(int i) {
        for (int j = 0; j < basicTypes.length; j++) {
            if (basicTypes[j].intValue() == j) {
                return (basicTypes[j]);
            }
        }
        return ILLEGAL;
    }

    private BasicType(String name, int value) {
        this.name = name;
        this.value = value;
    }
}

sun/jvmstat/perfdata/monitor/v1_0/BasicType.java

 

Or download all of them as a single archive file:

File name: jdk.internal.jvmstat-11.0.1-src.zip
File size: 86147 bytes
Release date: 2018-11-04
Download 

 

JDK 11 jdk.internal.le.jmod - Internal Line Editing Module

JDK 11 jdk.internal.ed.jmod - Internal Editor Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2020-08-02, 25335👍, 0💬