@@ -4,10 +4,10 @@ Loader for AsyncProfiler
44[ ![ Maven Central] ( https://img.shields.io/maven-central/v/me.bechberger/ap-loader-all )] ( https://search.maven.org/search?q=ap-loader ) [ ![ GitHub] ( https://img.shields.io/github/license/jvm-profiling-tools/ap-loader )] ( https://github.com/jvm-profiling-tools/ap-loader/blob/main/LICENSE )
55
66Packages [ async-profiler] ( https://github.com/jvm-profiling-tools/async-profiler ) releases in a JAR
7- with an ` AsyncProfilerLoader ` (version 3.* , 2.* and 1.8.* )
7+ with an ` AsyncProfilerLoader ` (version 4. * , 3.* , 2.* and 1.8.* )
88that loads the suitable native library for the current platform.
99
10- * In 3.* it also includes the latest [ jattach] ( https://github.com/apangin/jattach ) binary. This was previously
10+ * In >= 3.* it also includes the latest [ jattach] ( https://github.com/apangin/jattach ) binary. This was previously
1111part of async-profiler.*
1212
1313This is usable as a Java agent (same arguments as the async-profiler agent) and as the basis for other libraries.
@@ -50,11 +50,11 @@ from maven central, e.g:
5050<dependency >
5151 <groupId >me.bechberger</groupId >
5252 <artifactId >ap-loader-all</artifactId >
53- <version >3 .0-9</version >
53+ <version >4 .0-9</version >
5454</dependency >
5555```
5656
57- Others are of course available, see [ maven central] ( https://central.sonatype.com/artifact/me.bechberger/ap-loader-all/3 .0-9 ) .
57+ Others are of course available, see [ maven central] ( https://central.sonatype.com/artifact/me.bechberger/ap-loader-all/4 .0-9 ) .
5858
5959You can also use [ JBang] ( https://jbang.dev ) to simplify the usage of ap-loader. There are examples in documentation below.
6060
@@ -234,7 +234,7 @@ The latest `all` version can be added via:
234234< dependency>
235235 < groupId> me.bechberger< /groupId>
236236 < artifactId> ap-loader-all< /artifactId>
237- < version> 3 .0-9< /version>
237+ < version> 4 .0-9< /version>
238238< /dependency>
239239` ` `
240240
@@ -248,16 +248,16 @@ It requires a platform supported by async-profiler and Python 3.6+.
248248
249249` ` ` sh
250250# download the release sources and binaries
251- python3 ./bin/releaser.py download 3 .0
251+ python3 ./bin/releaser.py download 4 .0
252252
253253# build the JAR for the release
254254# maven might throw warnings, related to the project version setting,
255255# but the alternative solutions don't work, so we ignore the warning for now
256- mvn -Dproject.vversion=3 .0 -Dproject.subrelease=9 -Dproject.platform=macos package assembly:single
256+ mvn -Dproject.vversion=4 .0 -Dproject.subrelease=9 -Dproject.platform=macos package assembly:single
257257# use it
258- java -jar target/ap-loader-macos-3 .0-9-full.jar ...
258+ java -jar target/ap-loader-macos-4 .0-9-full.jar ...
259259# build the all JAR
260- mvn -Dproject.vversion=3 .0 -Dproject.subrelease=9 -Dproject.platform=all package assembly:single
260+ mvn -Dproject.vversion=4 .0 -Dproject.subrelease=9 -Dproject.platform=all package assembly:single
261261` ` `
262262
263263Development
@@ -287,7 +287,7 @@ Commands:
287287 clear clear the ap-releases and target folders for a fresh start
288288```
289289
290- Deploy the latest version via ` bin/releaser.py download build test deploy` as a snapshot.
290+ Deploy the latest version via `bin/releaser.py download build test deploy` as a snapshot.
291291
292292For a release use `bin/releaser.py download build test deploy_release`,
293293but before make sure to do the following for a new sub release:
0 commit comments