src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp

Print this page
rev 4274 : 8008920: Tracing events for heap statistics


  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 #include "precompiled.hpp"
  26 #include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp"
  27 #include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
  28 #include "gc_implementation/concurrentMarkSweep/vmCMSOperations.hpp"
  29 #include "gc_implementation/shared/gcTimer.hpp"

  30 #include "gc_implementation/shared/gcTraceTime.hpp"
  31 #include "gc_implementation/shared/isGCActiveMark.hpp"
  32 #include "memory/gcLocker.inline.hpp"
  33 #include "runtime/interfaceSupport.hpp"
  34 #include "runtime/os.hpp"
  35 #include "utilities/dtrace.hpp"
  36 
  37 
  38 #ifndef USDT2
  39 HS_DTRACE_PROBE_DECL(hs_private, cms__initmark__begin);
  40 HS_DTRACE_PROBE_DECL(hs_private, cms__initmark__end);
  41 
  42 HS_DTRACE_PROBE_DECL(hs_private, cms__remark__begin);
  43 HS_DTRACE_PROBE_DECL(hs_private, cms__remark__end);
  44 #endif /* !USDT2 */
  45 
  46 //////////////////////////////////////////////////////////
  47 // Methods in abstract class VM_CMS_Operation
  48 //////////////////////////////////////////////////////////
  49 void VM_CMS_Operation::acquire_pending_list_lock() {




  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 #include "precompiled.hpp"
  26 #include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.inline.hpp"
  27 #include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
  28 #include "gc_implementation/concurrentMarkSweep/vmCMSOperations.hpp"
  29 #include "gc_implementation/shared/gcTimer.hpp"
  30 #include "gc_implementation/shared/gcTrace.hpp"
  31 #include "gc_implementation/shared/gcTraceTime.hpp"
  32 #include "gc_implementation/shared/isGCActiveMark.hpp"
  33 #include "memory/gcLocker.inline.hpp"
  34 #include "runtime/interfaceSupport.hpp"
  35 #include "runtime/os.hpp"
  36 #include "utilities/dtrace.hpp"
  37 
  38 
  39 #ifndef USDT2
  40 HS_DTRACE_PROBE_DECL(hs_private, cms__initmark__begin);
  41 HS_DTRACE_PROBE_DECL(hs_private, cms__initmark__end);
  42 
  43 HS_DTRACE_PROBE_DECL(hs_private, cms__remark__begin);
  44 HS_DTRACE_PROBE_DECL(hs_private, cms__remark__end);
  45 #endif /* !USDT2 */
  46 
  47 //////////////////////////////////////////////////////////
  48 // Methods in abstract class VM_CMS_Operation
  49 //////////////////////////////////////////////////////////
  50 void VM_CMS_Operation::acquire_pending_list_lock() {