8266497: Remove unnecessary EMCP liveness indication

Reviewed-by: iklam, dholmes, sspitsyn
This commit is contained in:
Coleen Phillimore 2021-05-05 12:59:39 +00:00
parent 6ba911d64e
commit a05e8e2422
4 changed files with 14 additions and 69 deletions

View file

@ -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.