Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
svm: reset LambdaForm#transformCache on all JDK versions
Browse files Browse the repository at this point in the history
  • Loading branch information
zapster committed Aug 19, 2022
1 parent 14bf28c commit fcd4987
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@
import com.oracle.svm.core.annotate.RecomputeFieldValue;
import com.oracle.svm.core.annotate.Substitute;
import com.oracle.svm.core.annotate.TargetClass;
import com.oracle.svm.core.annotate.TargetElement;
import com.oracle.svm.core.invoke.Target_java_lang_invoke_MemberName;
import com.oracle.svm.core.jdk.JDK19OrLater;
import com.oracle.svm.util.ReflectionUtil;

@TargetClass(className = "java.lang.invoke.LambdaForm")
Expand All @@ -41,7 +39,6 @@ public final class Target_java_lang_invoke_LambdaForm {
@Alias @RecomputeFieldValue(kind = RecomputeFieldValue.Kind.Reset)//
Target_java_lang_invoke_MemberName vmentry;

@TargetElement(onlyWith = JDK19OrLater.class)//
@Alias @RecomputeFieldValue(kind = RecomputeFieldValue.Kind.Custom, declClass = LambdaFormCacheTransformer.class)//
volatile Object transformCache;

Expand Down

0 comments on commit fcd4987

Please sign in to comment.