diff -r ca1be5fbe6ff -r 7c15faa95ce7 src/share/vm/runtime/vmStructs.hpp --- a/src/share/vm/runtime/vmStructs.hpp Wed Nov 21 21:26:12 2012 -0500 +++ b/src/share/vm/runtime/vmStructs.hpp Tue Nov 27 07:57:57 2012 -0800 @@ -123,6 +123,11 @@ // the data structure (debug build only) static void init(); +#ifndef PRODUCT + // Execute unit tests + static void test(); +#endif + private: // Look up a type in localHotSpotVMTypes using strcmp() (debug build only). // Returns 1 if found, 0 if not.