JDK 11 jdk.management.agent.jmod - Management Agent Module

JDK 11 jdk.management.agent.jmod is the JMOD file for JDK 11 Management Agent module.

JDK 11 Management Agent module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.management.agent.jmod.

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

JDK 11 Management Agent module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.management.agent.

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

✍: FYIcenter

sun/management/jdp/package-info.java

/*
 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */
/**
 *  Summary
 *  -------
 *
 *  Define a lightweight network protocol for discovering running and
 *  manageable Java processes within a network subnet.
 *
 *
 * Description
 * -----------
 *
 * The protocol is lightweight multicast based, and works like a beacon,
 * broadcasting the JMXService URL needed to connect to the external JMX
 * agent if an application is started with appropriate parameters.
 *
 * The payload is structured like this:
 *
 *  4 bytes JDP magic (0xC0FFEE42)
 *  2 bytes JDP protocol version (1)
 *  2 bytes size of the next entry
 *      x bytes next entry (UTF-8 encoded)
 *  2 bytes size of next entry
 *    ...   Rinse and repeat...
 *
 * The payload will be parsed as even entries being keys, odd entries being
 * values.
 *
 * The standard JDP packet contains four entries:
 *
 * - `DISCOVERABLE_SESSION_UUID` -- Unique id of the instance; this id changes every time
 *    the discovery protocol starts and stops
 *
 * - `MAIN_CLASS` -- The value of the `sun.java.command` property
 *
 * - `JMX_SERVICE_URL` -- The URL to connect to the JMX agent
 *
 * - `INSTANCE_NAME` -- The user-provided name of the running instance
 *
 * The protocol sends packets to 224.0.23.178:7095 by default.
 *
 * The protocol uses system properties to control it's behaviour:
 * - `com.sun.management.jdp.port` -- override default port
 *
 * - `com.sun.management.jdp.address` -- override default address
 *
 * - `com.sun.management.jmxremote.autodiscovery` -- whether we should start autodiscovery or
 * not. Autodiscovery starts if and only if following conditions are met: (autodiscovery is
 * true OR (autodiscovery is not set AND jdp.port is set))
 *
 * - `com.sun.management.jdp.ttl`         -- set ttl for broadcast packet, default is 1
 * - `com.sun.management.jdp.pause`       -- set broadcast interval in seconds default is 5
 * - `com.sun.management.jdp.source_addr` -- an address of interface to use for broadcast
 */

package sun.management.jdp;

sun/management/jdp/package-info.java

 

JDK 11 jdk.management.jfr.jmod - Management JFR Module

JDK 11 jdk.management.jmod - Management Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2020-06-21, 4470👍, 0💬