8306858: Remove some remnants of CMS from SA agent
Reviewed-by: shade, cjplummer, kbarrett, ysr
This commit is contained in:
parent
a83c02fe2c
commit
d94ce6566d
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -33,7 +33,6 @@ public class CollectedHeapName {
|
||||
|
||||
public static final CollectedHeapName SERIAL = new CollectedHeapName("Serial");
|
||||
public static final CollectedHeapName PARALLEL = new CollectedHeapName("Parallel");
|
||||
public static final CollectedHeapName CMS = new CollectedHeapName("CMS");
|
||||
public static final CollectedHeapName G1 = new CollectedHeapName("G1");
|
||||
public static final CollectedHeapName EPSILON = new CollectedHeapName("Epsilon");
|
||||
public static final CollectedHeapName Z = new CollectedHeapName("Z");
|
||||
|
@ -46,11 +46,6 @@ public enum GCCause {
|
||||
_metadata_GC_threshold ("Metadata GC Threshold"),
|
||||
_metadata_GC_clear_soft_refs ("Metadata GC Clear Soft References"),
|
||||
|
||||
_cms_generation_full ("CMS Generation Full"),
|
||||
_cms_initial_mark ("CMS Initial Mark"),
|
||||
_cms_final_remark ("CMS Final Remark"),
|
||||
_cms_concurrent_mark ("CMS Concurrent Mark"),
|
||||
|
||||
_old_generation_expanded_on_last_scavenge ("Old Generation Expanded On Last Scavenge"),
|
||||
_old_generation_too_full_to_scavenge ("Old Generation Too Full To Scavenge"),
|
||||
_adaptive_size_policy ("Ergonomics"),
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,7 +57,6 @@ public abstract class Generation extends VMObject {
|
||||
private static int NAME_DEF_NEW;
|
||||
private static int NAME_PAR_NEW;
|
||||
private static int NAME_MARK_SWEEP_COMPACT;
|
||||
private static int NAME_CONCURRENT_MARK_SWEEP;
|
||||
private static int NAME_OTHER;
|
||||
|
||||
static {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -102,11 +102,6 @@ public class Mark extends VMObject {
|
||||
|
||||
private static long maxAge;
|
||||
|
||||
/* Constants in markWord used by CMS. */
|
||||
private static long cmsShift;
|
||||
private static long cmsMask;
|
||||
private static long sizeShift;
|
||||
|
||||
public Mark(Address addr) {
|
||||
super(addr);
|
||||
}
|
||||
@ -202,5 +197,5 @@ public class Mark extends VMObject {
|
||||
}
|
||||
}
|
||||
|
||||
public long getSize() { return (long)(value() >> sizeShift); }
|
||||
public long getSize() { return (long)value(); }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user