--- old/hotspot/src/share/vm/memory/gcLocker.hpp 2009-08-01 04:12:08.911353534 +0100 +++ new/hotspot/src/share/vm/memory/gcLocker.hpp 2009-08-01 04:12:08.842635061 +0100 @@ -2,7 +2,7 @@ #pragma ident "@(#)gcLocker.hpp 1.60 07/05/17 15:54:47 JVM" #endif /* - * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved. + * Copyright 1997-2008 Sun Microsystems, Inc. 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 @@ -187,7 +187,9 @@ Thread *_thread; public: #ifdef ASSERT - No_Safepoint_Verifier(bool activated = true, bool verifygc = true ) : No_GC_Verifier(verifygc) { + No_Safepoint_Verifier(bool activated = true, bool verifygc = true ) : + No_GC_Verifier(verifygc), + _activated(activated) { _thread = Thread::current(); if (_activated) { _thread->_allow_allocation_count++;