mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8338526: Don't store abstract and interface Klasses in class metaspace
Reviewed-by: stuefe, iklam
This commit is contained in:
parent
0d8e52b382
commit
ad104932e6
19 changed files with 80 additions and 50 deletions
|
@ -246,7 +246,7 @@ class InvokerBytecodeGenerator {
|
|||
return ClassFile.of().build(classDesc, new Consumer<>() {
|
||||
@Override
|
||||
public void accept(ClassBuilder clb) {
|
||||
clb.withFlags(ACC_FINAL | ACC_SUPER)
|
||||
clb.withFlags(ACC_ABSTRACT | ACC_SUPER)
|
||||
.withSuperclass(INVOKER_SUPER_DESC)
|
||||
.with(SourceFileAttribute.of(clb.constantPool().utf8Entry(SOURCE_PREFIX + name)));
|
||||
config.accept(clb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue