comparison src/share/vm/ci/ciEnv.hpp @ 4970:33df1aeaebbf

Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 27 Feb 2012 13:10:13 +0100
parents 04b9a2566eec aa3d708d67c4
children c38f13903fdf
comparison
equal deleted inserted replaced
4703:2cfb7fb2dce7 4970:33df1aeaebbf
1 /* 1 /*
2 * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1999, 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.
288 const char* failure_reason() { return _failure_reason; } 288 const char* failure_reason() { return _failure_reason; }
289 289
290 // Return state of appropriate compilability 290 // Return state of appropriate compilability
291 int compilable() { return _compilable; } 291 int compilable() { return _compilable; }
292 292
293 const char* retry_message() const {
294 switch (_compilable) {
295 case ciEnv::MethodCompilable_not_at_tier:
296 return "retry at different tier";
297 case ciEnv::MethodCompilable_never:
298 return "not retryable";
299 case ciEnv::MethodCompilable:
300 return NULL;
301 default:
302 ShouldNotReachHere();
303 return NULL;
304 }
305 }
306
293 bool break_at_compile() { return _break_at_compile; } 307 bool break_at_compile() { return _break_at_compile; }
294 void set_break_at_compile(bool z) { _break_at_compile = z; } 308 void set_break_at_compile(bool z) { _break_at_compile = z; }
295 309
296 // Cache Jvmti state 310 // Cache Jvmti state
297 void cache_jvmti_state(); 311 void cache_jvmti_state();