src/share/vm/services/memoryPool.cpp

changeset 5784
190899198332
parent 5716
73d0d0218068
child 6609
270d7cb38f40
     1.1 --- a/src/share/vm/services/memoryPool.cpp	Wed Sep 25 17:47:51 2013 +0200
     1.2 +++ b/src/share/vm/services/memoryPool.cpp	Thu Sep 26 10:25:02 2013 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -45,7 +45,7 @@
    1.11    _name = name;
    1.12    _initial_size = init_size;
    1.13    _max_size = max_size;
    1.14 -  _memory_pool_obj = NULL;
    1.15 +  (void)const_cast<instanceOop&>(_memory_pool_obj = NULL);
    1.16    _available_for_allocation = true;
    1.17    _num_managers = 0;
    1.18    _type = type;

mercurial