hotspot/src/share/vm/services/memoryManager.cpp
changeset 24831 e4df2f64bb2e
parent 24351 61b33cc6d3cf
child 27880 afb974a04396
--- a/hotspot/src/share/vm/services/memoryManager.cpp	Wed May 28 22:59:29 2014 +0200
+++ b/hotspot/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
@@ -39,7 +39,7 @@
 
 MemoryManager::MemoryManager() {
   _num_pools = 0;
-  (void)const_cast<instanceOop&>(_memory_mgr_obj = NULL);
+  (void)const_cast<instanceOop&>(_memory_mgr_obj = instanceOop(NULL));
 }
 
 void MemoryManager::add_pool(MemoryPool* pool) {