mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8140485: Class load and creation cleanup
Reviewed-by: hseigel, coleenp, sspitsyn
This commit is contained in:
parent
24c8c40bb8
commit
2ad9d3192f
59 changed files with 4174 additions and 3258 deletions
|
@ -84,7 +84,7 @@ class Method : public Metadata {
|
|||
_running_emcp = 1 << 6,
|
||||
_intrinsic_candidate = 1 << 7
|
||||
};
|
||||
u1 _flags;
|
||||
mutable u1 _flags;
|
||||
|
||||
#ifndef PRODUCT
|
||||
int _compiled_invocation_count; // Number of nmethod invocations so far (for perf. debugging)
|
||||
|
@ -784,12 +784,12 @@ class Method : public Metadata {
|
|||
|
||||
// Helper routines for intrinsic_id() and vmIntrinsics::method().
|
||||
void init_intrinsic_id(); // updates from _none if a match
|
||||
static vmSymbols::SID klass_id_for_intrinsics(Klass* holder);
|
||||
static vmSymbols::SID klass_id_for_intrinsics(const Klass* holder);
|
||||
|
||||
bool jfr_towrite() {
|
||||
bool jfr_towrite() const {
|
||||
return (_flags & _jfr_towrite) != 0;
|
||||
}
|
||||
void set_jfr_towrite(bool x) {
|
||||
void set_jfr_towrite(bool x) const {
|
||||
_flags = x ? (_flags | _jfr_towrite) : (_flags & ~_jfr_towrite);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue