OpenJDK / jdk / jdk
changeset 52806:5ddfc90ab97d
8214726: Typo in HeapShared::check_closed_archive_heap_region_object
Reviewed-by: lfoltan
author | iklam |
---|---|
date | Mon, 03 Dec 2018 15:53:01 -0800 |
parents | 2eb8ae0f3454 |
children | bbf85239e37c |
files | src/hotspot/share/memory/heapShared.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/memory/heapShared.cpp Mon Dec 03 18:48:01 2018 +0100 +++ b/src/hotspot/share/memory/heapShared.cpp Mon Dec 03 15:53:01 2018 -0800 @@ -581,7 +581,7 @@ for (JavaFieldStream fs(k); !fs.done(); fs.next()) { if (!fs.access_flags().is_static()) { BasicType ft = fs.field_descriptor().field_type(); - if (!fs.access_flags().is_final() && (ft == T_ARRAY || T_OBJECT)) { + if (!fs.access_flags().is_final() && (ft == T_ARRAY || ft == T_OBJECT)) { ResourceMark rm(THREAD); log_warning(cds, heap)( "Please check reference field in %s instance in closed archive heap region: %s %s",