< prev index next >
src/share/vm/gc/g1/g1HeapRegionTraceType.hpp
Print this page
rev 13365 : [mq]: review_update_1
*** 1,7 ****
/*
! * Copyright (c) 2016, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2016, 2017, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 35,45 ****
Eden,
Survivor,
StartsHumongous,
ContinuesHumongous,
Old,
! Archive,
G1HeapRegionTypeEndSentinel
};
static const char* to_string(G1HeapRegionTraceType::Type type) {
switch (type) {
--- 35,47 ----
Eden,
Survivor,
StartsHumongous,
ContinuesHumongous,
Old,
! Pinned,
! OpenArchive,
! ClosedArchive,
G1HeapRegionTypeEndSentinel
};
static const char* to_string(G1HeapRegionTraceType::Type type) {
switch (type) {
*** 47,57 ****
case Eden: return "Eden";
case Survivor: return "Survivor";
case StartsHumongous: return "Starts Humongous";
case ContinuesHumongous: return "Continues Humongous";
case Old: return "Old";
! case Archive: return "Archive";
default: ShouldNotReachHere(); return NULL;
}
}
};
--- 49,61 ----
case Eden: return "Eden";
case Survivor: return "Survivor";
case StartsHumongous: return "Starts Humongous";
case ContinuesHumongous: return "Continues Humongous";
case Old: return "Old";
! case Pinned: return "Pinned";
! case OpenArchive: return "OpenArchive";
! case ClosedArchive: return "ClosedArchive";
default: ShouldNotReachHere(); return NULL;
}
}
};
< prev index next >