1472N/A * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 1441N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1441N/A * This code is free software; you can redistribute it and/or modify it 1441N/A * under the terms of the GNU General Public License version 2 only, as 1441N/A * published by the Free Software Foundation. 1441N/A * This code is distributed in the hope that it will be useful, but WITHOUT 1441N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1441N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1441N/A * version 2 for more details (a copy is included in the LICENSE file that 1441N/A * You should have received a copy of the GNU General Public License version 1441N/A * 2 along with this work; if not, write to the Free Software Foundation, 1441N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1466N/A // Below, we want _narrow_next in the "higher" 32 bit slot, 1466N/A // whose position will depend on endian-ness of the platform. 1466N/A // This is so that there is no interference with the 1466N/A // cms_free_bit occupying bit position 7 (lsb == 0) 3697N/A // when we are using compressed oops; see FreeChunk::is_free(). 1466N/A // We cannot move the cms_free_bit down because currently 1466N/A // biased locking code assumes that age bits are contiguous 1466N/A // with the lock bits. Even if that assumption were relaxed, 1466N/A // the least position we could move this bit to would be 1466N/A // to bit position 3, which would require 16 byte alignment. 1466N/A // The next pointer is a compressed oop stored in the top 32 bits 1466N/A "or insufficient alignment of objects");
1441N/A // Note about bufferSize: it denotes the number of entries available plus 1; 1441N/A // legal indices range from 1 through BufferSize - 1. See the verification 1441N/A // code verify() that counts the number of displaced headers spooled. 1441N/A // first spooling block (_spoolHead) 1441N/A // spooling block (_spoolTail) 1441N/A // ensure that spooling space exists; return true if there is spooling space 1441N/A // The following variant must be used when trackOop is not fully 1441N/A // initialized and has a NULL klass: 1441N/A // save header and forward spool 1441N/A // ensure that spooling space exists 1879N/A#
endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_PROMOTIONINFO_HPP