src/share/vm/ci/ciEnv.hpp

changeset 3499
aa3d708d67c4
parent 3197
5eb9169b1a14
child 4021
7f813940ac35
equal deleted inserted replaced
3498:f067b4e0e04b 3499:aa3d708d67c4
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.
282 const char* failure_reason() { return _failure_reason; } 282 const char* failure_reason() { return _failure_reason; }
283 283
284 // Return state of appropriate compilability 284 // Return state of appropriate compilability
285 int compilable() { return _compilable; } 285 int compilable() { return _compilable; }
286 286
287 const char* retry_message() const {
288 switch (_compilable) {
289 case ciEnv::MethodCompilable_not_at_tier:
290 return "retry at different tier";
291 case ciEnv::MethodCompilable_never:
292 return "not retryable";
293 case ciEnv::MethodCompilable:
294 return NULL;
295 default:
296 ShouldNotReachHere();
297 return NULL;
298 }
299 }
300
287 bool break_at_compile() { return _break_at_compile; } 301 bool break_at_compile() { return _break_at_compile; }
288 void set_break_at_compile(bool z) { _break_at_compile = z; } 302 void set_break_at_compile(bool z) { _break_at_compile = z; }
289 303
290 // Cache Jvmti state 304 // Cache Jvmti state
291 void cache_jvmti_state(); 305 void cache_jvmti_state();

mercurial