Skip to content

Commit

Permalink
Merge pull request #275 from Karm/monitor-offset-warning
Browse files Browse the repository at this point in the history
Monitor field offset test
  • Loading branch information
Karm authored Aug 12, 2024
2 parents a457974 + 31b46dc commit ab6f6ff
Show file tree
Hide file tree
Showing 15 changed files with 2,215 additions and 12 deletions.
2 changes: 1 addition & 1 deletion apps/imageio/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.7
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10
RUN microdnf install freetype fontconfig
WORKDIR /work/
RUN chown 100 /work \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.7
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10
WORKDIR /work/
COPY target/*-runner /work/application
COPY jfr-perf.jfc /work/jfr-perf.jfc
Expand Down
5 changes: 5 additions & 0 deletions apps/monitor-field-offset/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10
WORKDIR /work/
RUN chown 100 /work \
&& chmod "g+rwX" /work \
&& chown 1000:root /work
78 changes: 78 additions & 0 deletions apps/monitor-field-offset/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>monitor-field-offset</groupId>
<artifactId>monitor-field-offsets</artifactId>
<version>1</version>

<name>monitor-field-offsets</name>

<parent>
<groupId>org.graalvm.tests.integration</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<properties>
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.version}</version>
<configuration>
<compilerArgs>
<arg>--add-exports</arg>
<arg>java.base/jdk.internal.vm.annotation=ALL-UNNAMED</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>OK</id>
<build>
<finalName>monitor-field-offsets-ok</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifest>
<mainClass>monitor_field_offset.Main479</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>NOK</id>
<build>
<finalName>monitor-field-offsets-nok</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifest>
<mainClass>monitor_field_offset.Main480</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Loading

0 comments on commit ab6f6ff

Please sign in to comment.