This commit is contained in:
Jesper Wilhelmsson 2018-01-13 02:56:22 +01:00
commit fc1b01b9a2
89 changed files with 1880 additions and 1482 deletions

View file

@ -645,6 +645,11 @@ class InstanceKlass: public Klass {
return is_anonymous() ? java_mirror() : class_loader();
}
// Load the klass_holder as a phantom. This is useful when a weak Klass
// pointer has been "peeked" and then must be kept alive before it may
// be used safely.
oop klass_holder_phantom();
bool is_contended() const {
return (_misc_flags & _misc_is_contended) != 0;
}