Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for extractPIDFromRuntimeMXBeanName (0.3 sec)

  1. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jna/UnsupportedEnvironment.java

        public UnsupportedEnvironment() {
            pid = extractPIDFromRuntimeMXBeanName();
        }
    
        /**
         * The default format of the name of the Runtime MX bean is PID@HOSTNAME.
         * The PID is parsed assuming that is the format.
         *
         * This works on Solaris and should work with any Java VM
         */
        private Long extractPIDFromRuntimeMXBeanName() {
            Long pid = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top