< prev index next >
src/share/vm/gc/cms/compactibleFreeListSpace.hpp
Print this page
rev 9978 : 8146395: Add inline qualifier in oop.hpp and fix inlining in gc files
Summary: Fix remaining issues after 8146401. Also fix windows VS2010 linkage problem (g1OopClosures.hpp).
Reviewed-by: stefank, mgerdin
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 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.
@@ -311,13 +311,11 @@
inline size_t adjust_obj_size(size_t size) const {
return adjustObjectSize(size);
}
- inline size_t obj_size(const HeapWord* addr) const {
- return adjustObjectSize(oop(addr)->size());
- }
+ inline size_t obj_size(const HeapWord* addr) const;
protected:
// Reset the indexed free list to its initial empty condition.
void resetIndexedFreeListArray();
// Reset to an initial state with a single free block described
< prev index next >