src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotGraalManagementRegistration.java
changeset 58533 46b0b7fe255c
parent 52910 583fd71c47d6
equal deleted inserted replaced
58532:b4f2e13d20ea 58533:46b0b7fe255c
     1 /*
     1 /*
     2  * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    33 
    33 
    34     /**
    34     /**
    35      * Completes the initialization of this registration by recording the
    35      * Completes the initialization of this registration by recording the
    36      * {@link HotSpotGraalRuntime} the MBean will provide an JMX interface to.
    36      * {@link HotSpotGraalRuntime} the MBean will provide an JMX interface to.
    37      */
    37      */
    38     void initialize(HotSpotGraalRuntime runtime);
    38     void initialize(HotSpotGraalRuntime runtime, GraalHotSpotVMConfig config);
    39 
    39 
    40     /**
    40     /**
    41      * Polls this registration to see if the MBean is registered in a MBean server.
    41      * Polls this registration to see if the MBean is registered in a MBean server.
    42      *
    42      *
    43      * @param sync synchronize with other threads that may be processing this registration. This is
    43      * @param sync synchronize with other threads that may be processing this registration. This is