Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/shared/allocationStats.hpp @ 12221:de88570fabfc
8024256: Minimal VM build is broken with PCH disabled
Reviewed-by: coleenp, twisti
author | dholmes |
---|---|
date | Wed, 11 Sep 2013 00:38:18 -0400 |
parents | db9981fd3124 |
children | 63a4eb8bcd23 78bbf4d43a14 |
comparison
equal
deleted
inserted
replaced
12186:313b724f8911 | 12221:de88570fabfc |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2001, 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. |
24 | 24 |
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_ALLOCATIONSTATS_HPP | 25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_ALLOCATIONSTATS_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_ALLOCATIONSTATS_HPP | 26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_ALLOCATIONSTATS_HPP |
27 | 27 |
28 #include "utilities/macros.hpp" | 28 #include "utilities/macros.hpp" |
29 #if INCLUDE_ALL_GCS | |
30 #include "gc_implementation/shared/gcUtil.hpp" | |
31 #include "memory/allocation.hpp" | 29 #include "memory/allocation.hpp" |
32 #include "utilities/globalDefinitions.hpp" | 30 #include "utilities/globalDefinitions.hpp" |
33 #endif // INCLUDE_ALL_GCS | 31 #include "gc_implementation/shared/gcUtil.hpp" |
34 | 32 |
35 class AllocationStats VALUE_OBJ_CLASS_SPEC { | 33 class AllocationStats VALUE_OBJ_CLASS_SPEC { |
36 // A duration threshold (in ms) used to filter | 34 // A duration threshold (in ms) used to filter |
37 // possibly unreliable samples. | 35 // possibly unreliable samples. |
38 static float _threshold; | 36 static float _threshold; |