src/hotspot/share/gc/parallel/cardTableExtension.cpp
changeset 48961 120b61d50f85
parent 47216 71c04702a3d5
equal deleted inserted replaced
48960:040293c73621 48961:120b61d50f85
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2018, 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.
    24 
    24 
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
    26 #include "gc/parallel/cardTableExtension.hpp"
    26 #include "gc/parallel/cardTableExtension.hpp"
    27 #include "gc/parallel/gcTaskManager.hpp"
    27 #include "gc/parallel/gcTaskManager.hpp"
    28 #include "gc/parallel/objectStartArray.inline.hpp"
    28 #include "gc/parallel/objectStartArray.inline.hpp"
    29 #include "gc/parallel/parallelScavengeHeap.hpp"
    29 #include "gc/parallel/parallelScavengeHeap.inline.hpp"
    30 #include "gc/parallel/psPromotionManager.inline.hpp"
    30 #include "gc/parallel/psPromotionManager.inline.hpp"
    31 #include "gc/parallel/psScavenge.hpp"
    31 #include "gc/parallel/psScavenge.hpp"
    32 #include "gc/parallel/psTasks.hpp"
    32 #include "gc/parallel/psTasks.hpp"
    33 #include "gc/parallel/psYoungGen.hpp"
    33 #include "gc/parallel/psYoungGen.hpp"
    34 #include "oops/oop.inline.hpp"
    34 #include "oops/oop.inline.hpp"
   675        min_start = this_start;
   675        min_start = this_start;
   676     }
   676     }
   677   }
   677   }
   678   return min_start;
   678   return min_start;
   679 }
   679 }
       
   680 
       
   681 bool CardTableExtension::is_in_young(oop obj) const {
       
   682   return ParallelScavengeHeap::heap()->is_in_young(obj);
       
   683 }