src/share/vm/interpreter/oopMapCache.cpp

changeset 9351
bae7d3cdf6af
parent 7668
9cfc607cb03e
child 9448
73d689add964
equal deleted inserted replaced
9350:aeacee5afc4d 9351:bae7d3cdf6af
1 /* 1 /*
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2018, 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. 7 * published by the Free Software Foundation.
424 424
425 // Implementation of OopMapCache 425 // Implementation of OopMapCache
426 426
427 #ifndef PRODUCT 427 #ifndef PRODUCT
428 428
429 static long _total_memory_usage = 0; 429 static size_t _total_memory_usage = 0;
430 430
431 long OopMapCache::memory_usage() { 431 size_t OopMapCache::memory_usage() {
432 return _total_memory_usage; 432 return _total_memory_usage;
433 } 433 }
434 434
435 #endif 435 #endif
436 436

mercurial