--- old/src/share/vm/gc/cms/yieldingWorkgroup.cpp 2015-09-09 16:12:50.803861863 +0200 +++ new/src/share/vm/gc/cms/yieldingWorkgroup.cpp 2015-09-09 16:12:50.691861867 +0200 @@ -24,7 +24,6 @@ #include "precompiled.hpp" #include "gc/cms/yieldingWorkgroup.hpp" -#include "gc/shared/gcId.hpp" #include "utilities/macros.hpp" YieldingFlexibleGangWorker::YieldingFlexibleGangWorker(YieldingFlexibleWorkGang* gang, int id) @@ -341,7 +340,6 @@ // Now, release the gang mutex and do the work. { MutexUnlockerEx mul(gang_monitor, Mutex::_no_safepoint_check_flag); - GCIdMark gc_id_mark(data.task()->gc_id()); data.task()->work(id); // This might include yielding } // Reacquire monitor and note completion of this worker