8216041: [Event Request] - Deoptimization

Reviewed-by: iignatyev, vlivanov, egahlin
This commit is contained in:
Igor Ignatyev 2019-12-03 12:41:45 +01:00 committed by Markus Grönlund
parent fec6f8a1e4
commit 6864634fb1
11 changed files with 270 additions and 5 deletions

View file

@ -147,6 +147,7 @@ public:
inline bool is_compiled_by_c2() const { return _type == compiler_c2; };
inline bool is_compiled_by_jvmci() const { return _type == compiler_jvmci; };
const char* compiler_name() const;
CompilerType compiler_type() const { return _type; }
// Casting
nmethod* as_nmethod_or_null() { return is_nmethod() ? (nmethod*) this : NULL; }