Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 13
Downstream aarch64 related fixes#154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -2,6 +2,7 @@ | ||
| import com.datadoghq.profiler.AbstractProfilerTest; | ||
| import com.datadoghq.profiler.Platform; | ||
| import org.junit.jupiter.api.Assumptions; | ||
| import org.junit.jupiter.api.Test; | ||
| import org.openjdk.jmc.common.item.IItem; | ||
| import org.openjdk.jmc.common.item.IItemCollection; | ||
| @@ -18,8 +19,16 @@ public class VMStructsBasedCpuTest extends AbstractProfilerTest { | ||
| private ProfiledCode profiledCode; | ||
| @Override | ||
| protected void withTestAssumptions() { | ||
| // vmstructs based stackwalking will throw ISE on Java 23 | ||
| Assumptions.assumeFalse(Platform.isJavaVersionAtLeast(23)); | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I assume we do not use vmstructs for now on 23. Happy to talk more about this. | ||
| } | ||
| @Override | ||
| protected void before() { | ||
| // vmstructs based stackwalking will throw ISE on Java 23 | ||
| Assumptions.assumeFalse(Platform.isJavaVersionAtLeast(23)); | ||
| profiledCode = new ProfiledCode(profiler); | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, leaving comment here to refer back later