comparison src/share/vm/runtime/vm_operations.hpp @ 10408:836a62f43af9

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Wed, 19 Jun 2013 10:45:56 +0200
parents 89e4d67fdd2a f2110083203d
children cefad50507d8
comparison
equal deleted inserted replaced
10086:e0fb8a213650 10408:836a62f43af9
1 /* 1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 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.
176 virtual bool evaluate_concurrently() const { 176 virtual bool evaluate_concurrently() const {
177 return evaluation_mode() == _concurrent || 177 return evaluation_mode() == _concurrent ||
178 evaluation_mode() == _async_safepoint; 178 evaluation_mode() == _async_safepoint;
179 } 179 }
180 180
181 static const char* mode_to_string(Mode mode);
182
181 // Debugging 183 // Debugging
182 void print_on_error(outputStream* st) const; 184 void print_on_error(outputStream* st) const;
183 const char* name() const { return _names[type()]; } 185 const char* name() const { return _names[type()]; }
184 static const char* name(int type) { 186 static const char* name(int type) {
185 assert(type >= 0 && type < VMOp_Terminating, "invalid VM operation type"); 187 assert(type >= 0 && type < VMOp_Terminating, "invalid VM operation type");
301 303
302 class VM_Verify: public VM_Operation { 304 class VM_Verify: public VM_Operation {
303 private: 305 private:
304 bool _silent; 306 bool _silent;
305 public: 307 public:
306 VM_Verify(bool silent) : _silent(silent) {} 308 VM_Verify(bool silent = VerifySilently) : _silent(silent) {}
307 VMOp_Type type() const { return VMOp_Verify; } 309 VMOp_Type type() const { return VMOp_Verify; }
308 void doit(); 310 void doit();
309 }; 311 };
310 312
311 313