< prev index next >

src/hotspot/share/gc/shared/parallelCleaning.hpp

Print this page
rev 53303 : imported patch 8213229-strings-as-weak-during-young-gc
rev 53305 : [mq]: 8217203-fix-inline.hpp


   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  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 #ifndef SHARE_GC_SHARED_PARALLELCLEANING_HPP
  26 #define SHARE_GC_SHARED_PARALLELCLEANING_HPP
  27 
  28 #include "classfile/classLoaderDataGraph.inline.hpp"

  29 #include "gc/shared/oopStorageParState.hpp"
  30 #include "gc/shared/stringdedup/stringDedup.hpp"
  31 #include "gc/shared/workgroup.hpp"
  32 
  33 class ParallelCleaningTask;
  34 
  35 class StringDedupCleaningTask : public AbstractGangTask {
  36   StringDedupUnlinkOrOopsDoClosure _dedup_closure;
  37 
  38 public:
  39   StringDedupCleaningTask(BoolObjectClosure* is_alive, OopClosure* keep_alive, bool resize_table);
  40   ~StringDedupCleaningTask();
  41 
  42   void work(uint worker_id);
  43 };
  44 
  45 class CodeCacheUnloadingTask {
  46 
  47   CodeCache::UnloadingScope _unloading_scope;
  48   const bool                _unloading_occurred;




   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  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 #ifndef SHARE_GC_SHARED_PARALLELCLEANING_HPP
  26 #define SHARE_GC_SHARED_PARALLELCLEANING_HPP
  27 
  28 #include "classfile/classLoaderDataGraph.hpp"
  29 #include "code/codeCache.hpp"
  30 #include "gc/shared/oopStorageParState.hpp"
  31 #include "gc/shared/stringdedup/stringDedup.hpp"
  32 #include "gc/shared/workgroup.hpp"
  33 
  34 class ParallelCleaningTask;
  35 
  36 class StringDedupCleaningTask : public AbstractGangTask {
  37   StringDedupUnlinkOrOopsDoClosure _dedup_closure;
  38 
  39 public:
  40   StringDedupCleaningTask(BoolObjectClosure* is_alive, OopClosure* keep_alive, bool resize_table);
  41   ~StringDedupCleaningTask();
  42 
  43   void work(uint worker_id);
  44 };
  45 
  46 class CodeCacheUnloadingTask {
  47 
  48   CodeCache::UnloadingScope _unloading_scope;
  49   const bool                _unloading_occurred;


< prev index next >