hotspot/src/share/vm/services/memTrackWorker.hpp
changeset 19696 bd5a0131bde1
parent 17023 aab2b408ebfe
equal deleted inserted replaced
19695:c0b305024048 19696:bd5a0131bde1
     1 /*
     1 /*
     2  * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    88   MemSnapshot*    _snapshot;
    88   MemSnapshot*    _snapshot;
    89 
    89 
    90  public:
    90  public:
    91   MemTrackWorker(MemSnapshot* snapshot);
    91   MemTrackWorker(MemSnapshot* snapshot);
    92   ~MemTrackWorker();
    92   ~MemTrackWorker();
    93   _NOINLINE_ void* operator new(size_t size);
    93   _NOINLINE_ void* operator new(size_t size) throw();
    94   _NOINLINE_ void* operator new(size_t size, const std::nothrow_t& nothrow_constant);
    94   _NOINLINE_ void* operator new(size_t size, const std::nothrow_t& nothrow_constant) throw();
    95 
    95 
    96   void start();
    96   void start();
    97   void run();
    97   void run();
    98 
    98 
    99   inline bool has_error() const { return _has_error; }
    99   inline bool has_error() const { return _has_error; }