Skip to content

Commit

Permalink
[GR-56776] Include slowPathHubOrUnsafeInstantiationError for filterin…
Browse files Browse the repository at this point in the history
…g in unsafe allocation

PullRequest: graal/18486
  • Loading branch information
vjovanov committed Aug 1, 2024
2 parents 1e0c8fe + 63f4f79 commit 229b649
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ private static void report(MissingReflectionRegistrationError exception) {
"jdk.internal.access.JavaLangAccess", Set.of("getDeclaredPublicMethods"),
"sun.misc.Unsafe", Set.of("allocateInstance"),
/* For jdk.internal.misc.Unsafe.allocateInstance(), which is intrinsified */
SubstrateAllocationSnippets.class.getName(), Set.of("instanceHubErrorStub"));
SubstrateAllocationSnippets.class.getName(), Set.of("slowPathHubOrUnsafeInstantiationError"));

private static StackTraceElement getResponsibleClass(Throwable t) {
StackTraceElement[] stackTrace = t.getStackTrace();
Expand Down

0 comments on commit 229b649

Please sign in to comment.