mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8006613: adding reason to made_not_compilable
Reviewed-by: kvn, vlivanov
This commit is contained in:
parent
da5499f4ed
commit
014d9489bb
7 changed files with 22 additions and 15 deletions
|
@ -760,18 +760,18 @@ class Method : public Metadata {
|
|||
// whether it is not compilable for another reason like having a
|
||||
// breakpoint set in it.
|
||||
bool is_not_compilable(int comp_level = CompLevel_any) const;
|
||||
void set_not_compilable(int comp_level = CompLevel_all, bool report = true);
|
||||
void set_not_compilable(int comp_level = CompLevel_all, bool report = true, const char* reason = NULL);
|
||||
void set_not_compilable_quietly(int comp_level = CompLevel_all) {
|
||||
set_not_compilable(comp_level, false);
|
||||
}
|
||||
bool is_not_osr_compilable(int comp_level = CompLevel_any) const;
|
||||
void set_not_osr_compilable(int comp_level = CompLevel_all, bool report = true);
|
||||
void set_not_osr_compilable(int comp_level = CompLevel_all, bool report = true, const char* reason = NULL);
|
||||
void set_not_osr_compilable_quietly(int comp_level = CompLevel_all) {
|
||||
set_not_osr_compilable(comp_level, false);
|
||||
}
|
||||
|
||||
private:
|
||||
void print_made_not_compilable(int comp_level, bool is_osr, bool report);
|
||||
void print_made_not_compilable(int comp_level, bool is_osr, bool report, const char* reason);
|
||||
|
||||
public:
|
||||
bool is_not_c1_compilable() const { return access_flags().is_not_c1_compilable(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue