dylibso / dylibso/chicory

JVM issue with `memoryCopy`

Open
#843 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
71
PR merge metrics
No merged PRs in 30d

Description

This is a tracking Issue for a JVM bug.

When the method:

```
com.dylibso.chicory.experimental.aot.AotMethods.memoryCopy
```

is inlined on some JVMs(like Temurin 17) a test is crashing.

The issue is demonstrated in: #839

changing the configuration of `surefire` to disable the in-lining of the single method "fix" the problem:

```xml

org.apache.maven.plugins
maven-surefire-plugin
${maven-surefire-plugin.version}

-XX:CompileCommand=dontinline,com/dylibso/chicory/wabt/Wat2WasmMachine$AotMethods.memoryCopy


```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.