diff -r fd0ca2c1433b -r 46ab61b0758b src/share/vm/services/memoryManager.cpp --- a/src/share/vm/services/memoryManager.cpp Tue Dec 31 08:58:08 2013 -0500 +++ b/src/share/vm/services/memoryManager.cpp Thu May 29 08:58:51 2014 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2014, 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 @@ -46,7 +46,7 @@ MemoryManager::MemoryManager() { _num_pools = 0; - (void)const_cast(_memory_mgr_obj = NULL); + (void)const_cast(_memory_mgr_obj = instanceOop(NULL)); } void MemoryManager::add_pool(MemoryPool* pool) {