mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8266497: Remove unnecessary EMCP liveness indication
Reviewed-by: iklam, dholmes, sspitsyn
This commit is contained in:
parent
6ba911d64e
commit
a05e8e2422
4 changed files with 14 additions and 69 deletions
|
@ -2230,8 +2230,6 @@ void Method::set_on_stack(const bool value) {
|
|||
if (value && !already_set) {
|
||||
MetadataOnStackMark::record(this);
|
||||
}
|
||||
assert(!value || !is_old() || is_obsolete() || is_running_emcp(),
|
||||
"emcp methods cannot run after emcp bit is cleared");
|
||||
}
|
||||
|
||||
// Called when the class loader is unloaded to make all methods weak.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue