mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
Merge
This commit is contained in:
commit
fc1b01b9a2
89 changed files with 1880 additions and 1482 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue