8341649: Regressions with large metaspace apps after 8338526

Reviewed-by: liach, stuefe
This commit is contained in:
Coleen Phillimore 2024-12-03 15:44:00 +00:00
parent caf053b3ad
commit ba5093935d

View file

@ -248,7 +248,7 @@ class InvokerBytecodeGenerator {
return ClassFile.of().build(classEntry, pool, new Consumer<>() {
@Override
public void accept(ClassBuilder clb) {
clb.withFlags(ACC_ABSTRACT | ACC_SUPER)
clb.withFlags(ACC_FINAL | ACC_SUPER)
.withSuperclass(INVOKER_SUPER_DESC)
.with(SourceFileAttribute.of(clb.constantPool().utf8Entry(SOURCE_PREFIX + name)));
config.accept(clb);