1.1 --- a/src/share/vm/interpreter/oopMapCache.cpp Mon Jul 09 15:45:22 2018 +0000 1.2 +++ b/src/share/vm/interpreter/oopMapCache.cpp Wed Jul 11 02:36:23 2018 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -426,9 +426,9 @@ 1.11 1.12 #ifndef PRODUCT 1.13 1.14 -static long _total_memory_usage = 0; 1.15 +static size_t _total_memory_usage = 0; 1.16 1.17 -long OopMapCache::memory_usage() { 1.18 +size_t OopMapCache::memory_usage() { 1.19 return _total_memory_usage; 1.20 } 1.21