From 5c27cf0c71a4bcf8d293d65e982a9f4ffb90e526 Mon Sep 17 00:00:00 2001 From: pyos Date: Mon, 3 Feb 2020 16:01:26 +0100 Subject: [PATCH] JVM_IR: reuse MethodNodes for inline functions in same module This fixes the weird cases when a class gets overwritten by an imperfect copy, reduces the number of classes in the output if an inline function contains an inline call that causes it to have regenerated anonymous objects, and makes inlining of same module functions a bit faster in general. On the other hand, this may increase memory footprint a bit because classes cannot be flushed to the output jar, as the inliner would not be able to locate classes for anonymous objects if they have already been unloaded from memory. Original commit: 82899e624355b3fb7c48bc0359ec2ff4cd983b4b --- .../other/innerClassNotGeneratedWhenRebuilding/directives.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 jps/jps-plugin/testData/incremental/withJava/other/innerClassNotGeneratedWhenRebuilding/directives.txt diff --git a/jps/jps-plugin/testData/incremental/withJava/other/innerClassNotGeneratedWhenRebuilding/directives.txt b/jps/jps-plugin/testData/incremental/withJava/other/innerClassNotGeneratedWhenRebuilding/directives.txt deleted file mode 100644 index 5099b2ad971..00000000000 --- a/jps/jps-plugin/testData/incremental/withJava/other/innerClassNotGeneratedWhenRebuilding/directives.txt +++ /dev/null @@ -1 +0,0 @@ -// IGNORE_BACKEND: JVM_IR