--- old/src/share/vm/oops/metadata.hpp Fri Feb 1 10:59:15 2013 +++ new/src/share/vm/oops/metadata.hpp Fri Feb 1 10:59:14 2013 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, 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 @@ -32,10 +32,10 @@ // This is the base class for an internal Class related metadata class Metadata : public MetaspaceObj { // Debugging hook to check that the metadata has not been deleted. - NOT_PRODUCT(int _valid;) + int _valid; public: - NOT_PRODUCT(Metadata() { _valid = 0; }) - NOT_PRODUCT(bool is_valid() const volatile { return _valid == 0; }) + Metadata() { _valid = 0; } + bool is_valid() const volatile { return _valid == 0; } int identity_hash() { return (int)(uintptr_t)this; }