--- old/src/share/vm/gc/g1/g1CollectedHeap.hpp 2017-02-21 16:29:05.246766350 +0100 +++ new/src/share/vm/gc/g1/g1CollectedHeap.hpp 2017-02-21 16:29:05.135763006 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 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 @@ -1129,9 +1129,7 @@ #endif // Return "TRUE" iff the given object address is within the collection - // set. Slow implementation. - bool obj_in_cs(oop obj); - + // set. Assumes that the reference points into the heap. inline bool is_in_cset(const HeapRegion *hr); inline bool is_in_cset(oop obj);