src/share/vm/runtime/memprofiler.hpp

changeset 2314
f95d63e2154a
parent 1907
c18cbe5936b8
child 6876
710a3c8b516e
equal deleted inserted replaced
2313:e33f46fc48ed 2314:f95d63e2154a
1 /* 1 /*
2 * Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1998, 2010, 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.
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24 24
25 #ifndef SHARE_VM_RUNTIME_MEMPROFILER_HPP
26 #define SHARE_VM_RUNTIME_MEMPROFILER_HPP
27
25 // Prints periodic memory usage trace of HotSpot VM 28 // Prints periodic memory usage trace of HotSpot VM
26 29
27 class MemProfilerTask; 30 class MemProfilerTask;
28 31
29 class MemProfiler : AllStatic { 32 class MemProfiler : AllStatic {
38 static void engage() PRODUCT_RETURN; 41 static void engage() PRODUCT_RETURN;
39 static void disengage() PRODUCT_RETURN; 42 static void disengage() PRODUCT_RETURN;
40 // Tester 43 // Tester
41 static bool is_active() PRODUCT_RETURN0; 44 static bool is_active() PRODUCT_RETURN0;
42 }; 45 };
46
47 #endif // SHARE_VM_RUNTIME_MEMPROFILER_HPP

mercurial