src/java.management/share/classes/sun/management/MonitorInfoCompositeData.java
changeset 58766 54ffb15c4839
parent 52288 2b29df6dfa68
equal deleted inserted replaced
58760:1f7f707c1aa9 58766:54ffb15c4839
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 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.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    38  * A CompositeData for MonitorInfo for the local management support.
    38  * A CompositeData for MonitorInfo for the local management support.
    39  * This class avoids the performance penalty paid to the
    39  * This class avoids the performance penalty paid to the
    40  * construction of a CompositeData use in the local case.
    40  * construction of a CompositeData use in the local case.
    41  */
    41  */
    42 public class MonitorInfoCompositeData extends LazyCompositeData {
    42 public class MonitorInfoCompositeData extends LazyCompositeData {
       
    43     @SuppressWarnings("serial") // Not statically typed as Serializable
    43     private final MonitorInfo lock;
    44     private final MonitorInfo lock;
    44 
    45 
    45     private MonitorInfoCompositeData(MonitorInfo mi) {
    46     private MonitorInfoCompositeData(MonitorInfo mi) {
    46         this.lock = mi;
    47         this.lock = mi;
    47     }
    48     }