hotspot/src/share/vm/memory/space.cpp
changeset 24424 2658d7834c6e
parent 24351 61b33cc6d3cf
child 24487 71ff0bd674eb
equal deleted inserted replaced
24358:8528b67f6562 24424:2658d7834c6e
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, 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.
    40 #include "runtime/orderAccess.inline.hpp"
    40 #include "runtime/orderAccess.inline.hpp"
    41 #include "runtime/safepoint.hpp"
    41 #include "runtime/safepoint.hpp"
    42 #include "utilities/copy.hpp"
    42 #include "utilities/copy.hpp"
    43 #include "utilities/globalDefinitions.hpp"
    43 #include "utilities/globalDefinitions.hpp"
    44 #include "utilities/macros.hpp"
    44 #include "utilities/macros.hpp"
       
    45 
       
    46 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
    45 
    47 
    46 HeapWord* DirtyCardToOopClosure::get_actual_top(HeapWord* top,
    48 HeapWord* DirtyCardToOopClosure::get_actual_top(HeapWord* top,
    47                                                 HeapWord* top_obj) {
    49                                                 HeapWord* top_obj) {
    48   if (top_obj != NULL) {
    50   if (top_obj != NULL) {
    49     if (_sp->block_is_obj(top_obj)) {
    51     if (_sp->block_is_obj(top_obj)) {