mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8223216: C2: Unify class initialization checks between new, getstatic, and putstatic
Reviewed-by: kvn, dlong
This commit is contained in:
parent
8ac3b68688
commit
5db82de14b
9 changed files with 125 additions and 115 deletions
|
@ -1384,7 +1384,9 @@ class Compile : public Phase {
|
|||
CloneMap& clone_map();
|
||||
void set_clone_map(Dict* d);
|
||||
|
||||
bool is_compiling_clinit_for(ciKlass* k);
|
||||
bool needs_clinit_barrier(ciField* ik, ciMethod* accessing_method);
|
||||
bool needs_clinit_barrier(ciMethod* ik, ciMethod* accessing_method);
|
||||
bool needs_clinit_barrier(ciInstanceKlass* ik, ciMethod* accessing_method);
|
||||
};
|
||||
|
||||
#endif // SHARE_OPTO_COMPILE_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue