src/hotspot/share/gc/shared/cardTableModRefBSForCTRS.cpp
changeset 48961 120b61d50f85
parent 47216 71c04702a3d5
equal deleted inserted replaced
48960:040293c73621 48961:120b61d50f85
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 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.
   119       clear_cl.do_MemRegion(mr);
   119       clear_cl.do_MemRegion(mr);
   120     }
   120     }
   121   }
   121   }
   122 }
   122 }
   123 
   123 
       
   124 bool CardTableModRefBSForCTRS::is_in_young(oop obj) const {
       
   125   return GenCollectedHeap::heap()->is_in_young(obj);
       
   126 }