< prev index next >

src/share/vm/gc/shared/space.cpp

Print this page




  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "classfile/systemDictionary.hpp"
  27 #include "classfile/vmSymbols.hpp"
  28 #include "gc/serial/defNewGeneration.hpp"
  29 #include "gc/shared/blockOffsetTable.inline.hpp"
  30 #include "gc/shared/collectedHeap.inline.hpp"
  31 #include "gc/shared/genCollectedHeap.hpp"
  32 #include "gc/shared/genOopClosures.inline.hpp"
  33 #include "gc/shared/liveRange.hpp"
  34 #include "gc/shared/space.hpp"
  35 #include "gc/shared/space.inline.hpp"
  36 #include "gc/shared/spaceDecorator.hpp"
  37 #include "memory/universe.inline.hpp"
  38 #include "oops/oop.inline.hpp"
  39 #include "runtime/atomic.inline.hpp"
  40 #include "runtime/java.hpp"
  41 #include "runtime/orderAccess.inline.hpp"
  42 #include "runtime/prefetch.inline.hpp"
  43 #include "runtime/safepoint.hpp"
  44 #include "utilities/copy.hpp"
  45 #include "utilities/globalDefinitions.hpp"
  46 #include "utilities/macros.hpp"
  47 
  48 HeapWord* DirtyCardToOopClosure::get_actual_top(HeapWord* top,
  49                                                 HeapWord* top_obj) {
  50   if (top_obj != NULL) {
  51     if (_sp->block_is_obj(top_obj)) {
  52       if (_precision == CardTableModRefBS::ObjHeadPreciseArray) {
  53         if (oop(top_obj)->is_objArray() || oop(top_obj)->is_typeArray()) {




  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "classfile/systemDictionary.hpp"
  27 #include "classfile/vmSymbols.hpp"
  28 #include "gc/serial/defNewGeneration.hpp"
  29 #include "gc/shared/blockOffsetTable.inline.hpp"
  30 #include "gc/shared/collectedHeap.inline.hpp"
  31 #include "gc/shared/genCollectedHeap.hpp"
  32 #include "gc/shared/genOopClosures.inline.hpp"

  33 #include "gc/shared/space.hpp"
  34 #include "gc/shared/space.inline.hpp"
  35 #include "gc/shared/spaceDecorator.hpp"
  36 #include "memory/universe.inline.hpp"
  37 #include "oops/oop.inline.hpp"
  38 #include "runtime/atomic.inline.hpp"
  39 #include "runtime/java.hpp"
  40 #include "runtime/orderAccess.inline.hpp"
  41 #include "runtime/prefetch.inline.hpp"
  42 #include "runtime/safepoint.hpp"
  43 #include "utilities/copy.hpp"
  44 #include "utilities/globalDefinitions.hpp"
  45 #include "utilities/macros.hpp"
  46 
  47 HeapWord* DirtyCardToOopClosure::get_actual_top(HeapWord* top,
  48                                                 HeapWord* top_obj) {
  49   if (top_obj != NULL) {
  50     if (_sp->block_is_obj(top_obj)) {
  51       if (_precision == CardTableModRefBS::ObjHeadPreciseArray) {
  52         if (oop(top_obj)->is_objArray() || oop(top_obj)->is_typeArray()) {


< prev index next >