equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2004, 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 |
43 * A CompositeData for ThreadInfo for the local management support. |
43 * A CompositeData for ThreadInfo for the local management support. |
44 * This class avoids the performance penalty paid to the |
44 * This class avoids the performance penalty paid to the |
45 * construction of a CompositeData use in the local case. |
45 * construction of a CompositeData use in the local case. |
46 */ |
46 */ |
47 public class ThreadInfoCompositeData extends LazyCompositeData { |
47 public class ThreadInfoCompositeData extends LazyCompositeData { |
|
48 @SuppressWarnings("serial") // Not statically typed as Serializable |
48 private final ThreadInfo threadInfo; |
49 private final ThreadInfo threadInfo; |
|
50 @SuppressWarnings("serial") // Not statically typed as Serializable |
49 private final CompositeData cdata; |
51 private final CompositeData cdata; |
50 |
52 |
51 private ThreadInfoCompositeData(ThreadInfo ti) { |
53 private ThreadInfoCompositeData(ThreadInfo ti) { |
52 this.threadInfo = ti; |
54 this.threadInfo = ti; |
53 this.cdata = null; |
55 this.cdata = null; |