< prev index next >

src/share/vm/runtime/sweeper.hpp

Print this page
rev 13206 : 8180932: Parallelize safepoint cleanup
Summary: Provide infrastructure to do safepoint cleanup tasks using parallel worker threads
Reviewed-by: dholmes, rehn, dcubed, thartmann

*** 1,7 **** /* ! * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 28,37 **** --- 28,39 ---- class WhiteBox; #include "code/codeCache.hpp" #include "utilities/ticks.hpp" + class CodeBlobClosure; + // An NmethodSweeper is an incremental cleaner for: // - cleanup inline caches // - reclamation of nmethods // Removing nmethods from the code cache includes two operations // 1) mark active nmethods
*** 112,121 **** --- 114,124 ---- static void report_events(int id, address entry); static void report_events(); #endif static void mark_active_nmethods(); // Invoked at the end of each safepoint + static CodeBlobClosure* prepare_mark_active_nmethods(); static void sweeper_loop(); static void notify(int code_blob_type); // Possibly start the sweeper thread. static void force_sweep(); static int hotness_counter_reset_val();
< prev index next >