1.1 --- a/src/share/vm/gc_implementation/g1/g1MarkSweep.cpp Wed Feb 01 10:36:58 2012 +0100 1.2 +++ b/src/share/vm/gc_implementation/g1/g1MarkSweep.cpp Wed Feb 01 07:59:01 2012 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -126,7 +126,6 @@ 1.11 void G1MarkSweep::mark_sweep_phase1(bool& marked_for_unloading, 1.12 bool clear_all_softrefs) { 1.13 // Recursively traverse all live objects and mark them 1.14 - EventMark m("1 mark object"); 1.15 TraceTime tm("phase 1", PrintGC && Verbose, true, gclog_or_tty); 1.16 GenMarkSweep::trace(" 1"); 1.17 1.18 @@ -292,7 +291,6 @@ 1.19 G1CollectedHeap* g1h = G1CollectedHeap::heap(); 1.20 Generation* pg = g1h->perm_gen(); 1.21 1.22 - EventMark m("2 compute new addresses"); 1.23 TraceTime tm("phase 2", PrintGC && Verbose, true, gclog_or_tty); 1.24 GenMarkSweep::trace("2"); 1.25 1.26 @@ -337,7 +335,6 @@ 1.27 Generation* pg = g1h->perm_gen(); 1.28 1.29 // Adjust the pointers to reflect the new locations 1.30 - EventMark m("3 adjust pointers"); 1.31 TraceTime tm("phase 3", PrintGC && Verbose, true, gclog_or_tty); 1.32 GenMarkSweep::trace("3"); 1.33 1.34 @@ -402,7 +399,6 @@ 1.35 G1CollectedHeap* g1h = G1CollectedHeap::heap(); 1.36 Generation* pg = g1h->perm_gen(); 1.37 1.38 - EventMark m("4 compact heap"); 1.39 TraceTime tm("phase 4", PrintGC && Verbose, true, gclog_or_tty); 1.40 GenMarkSweep::trace("4"); 1.41