JDK 17 java.management.jmod - Management Module

JDK 17 java.management.jmod is the JMOD file for JDK 17 Management module.

JDK 17 Management module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.management.jmod.

JDK 17 Management module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.

JDK 17 Management module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.management.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

sun/management/HotspotMemory.java

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

package sun.management;

import java.util.List;
import sun.management.counter.*;

/**
 * Implementation class of HotspotMemoryMBean interface.
 *
 * Internal, uncommitted management interface for Hotspot memory
 * system.
 *
 */
class HotspotMemory
    implements HotspotMemoryMBean {

    private VMManagement jvm;

    /**
     * Constructor of HotspotRuntime class.
     */
    HotspotMemory(VMManagement vm) {
        jvm = vm;
    }

    // Performance counter support
    private static final String JAVA_GC    = "java.gc.";
    private static final String COM_SUN_GC = "com.sun.gc.";
    private static final String SUN_GC     = "sun.gc.";
    private static final String GC_COUNTER_NAME_PATTERN =
        JAVA_GC + "|" + COM_SUN_GC + "|" + SUN_GC;

    public java.util.List<Counter> getInternalMemoryCounters() {
        return jvm.getInternalCounters(GC_COUNTER_NAME_PATTERN);
    }
}

sun/management/HotspotMemory.java

 

Or download all of them as a single archive file:

File name: java.management-17.0.5-src.zip
File size: 850134 bytes
Release date: 2022-09-13
Download 

 

JDK 17 java.management.rmi.jmod - Management RMI Module

JDK 17 java.logging.jmod - Logging Module

JDK 17 JMod/Module Files

⇑⇑ FAQ for JDK (Java Development Kit) 17

2023-09-23, 11387👍, 0💬