mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations'
Always use MDO if valid and always compile trivial methods with C1 if available. Reviewed-by: kvn, iveresov
This commit is contained in:
parent
bdac822811
commit
00aa20db4a
8 changed files with 33 additions and 14 deletions
|
@ -595,6 +595,9 @@ class Method : public Metadata {
|
|||
// returns true if the method is an accessor function (setter/getter).
|
||||
bool is_accessor() const;
|
||||
|
||||
// returns true if the method does nothing but return a constant of primitive type
|
||||
bool is_constant_getter() const;
|
||||
|
||||
// returns true if the method is an initializer (<init> or <clinit>).
|
||||
bool is_initializer() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue