comparison src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.hpp @ 4913:ab4422d0ed59

7146343: PS invoke methods should indicate the type of gc done Reviewed-by: stefank, jmasa
author jcoomes
date Thu, 16 Feb 2012 13:12:25 -0800
parents f95d63e2154a
children da91efe96a93
comparison
equal deleted inserted replaced
4912:a9647476d1a4 4913:ab4422d0ed59
1 /* 1 /*
2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2001, 2012, 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.
76 // Reset time since last full gc 76 // Reset time since last full gc
77 static void reset_millis_since_last_gc(); 77 static void reset_millis_since_last_gc();
78 78
79 public: 79 public:
80 static void invoke(bool clear_all_softrefs); 80 static void invoke(bool clear_all_softrefs);
81 static void invoke_no_policy(bool clear_all_softrefs); 81 static bool invoke_no_policy(bool clear_all_softrefs);
82 82
83 static void initialize(); 83 static void initialize();
84 84
85 // Public accessors 85 // Public accessors
86 static elapsedTimer* accumulated_time() { return &_accumulated_time; } 86 static elapsedTimer* accumulated_time() { return &_accumulated_time; }