src/share/vm/oops/metadata.hpp

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -30,14 +30,14 @@
 #include "utilities/ostream.hpp"
 
 // 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; }
 
   // Rehashing support for tables containing pointers to this
   unsigned int new_hash(jint seed)   { ShouldNotReachHere();  return 0; }