Print this page


Split Split Close
Expand all
Collapse all
          --- old/src/share/vm/services/memBaseline.hpp
          +++ new/src/share/vm/services/memBaseline.hpp
   1    1  /*
   2      - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
        2 + * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
   3    3   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4    4   *
   5    5   * This code is free software; you can redistribute it and/or modify it
   6    6   * under the terms of the GNU General Public License version 2 only, as
   7    7   * published by the Free Software Foundation.
   8    8   *
   9    9   * This code is distributed in the hope that it will be useful, but WITHOUT
  10   10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11   11   * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12   12   * version 2 for more details (a copy is included in the LICENSE file that
↓ open down ↓ 310 lines elided ↑ open up ↑
 323  323    // virtual memory map
 324  324    MemPointerArray*  _vm_map;
 325  325  
 326  326   private:
 327  327    static MemType2Name  MemType2NameMap[NUMBER_OF_MEMORY_TYPE];
 328  328  
 329  329   private:
 330  330    // should not use copy constructor
 331  331    MemBaseline(MemBaseline& copy) { ShouldNotReachHere(); }
 332  332  
      333 +  // check and block at a safepoint
      334 +  static inline void check_safepoint(JavaThread* thr);
      335 +
 333  336   public:
 334  337    // create a memory baseline
 335  338    MemBaseline();
 336  339  
 337  340    virtual ~MemBaseline();
 338  341  
 339  342    inline bool baselined() const {
 340  343      return _baselined;
 341  344    }
 342  345  
↓ open down ↓ 104 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX