@@ -4,10 +4,10 @@ Loader for AsyncProfiler
4
4
[ ![ 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 )
5
5
6
6
Packages [ 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.* )
8
8
that loads the suitable native library for the current platform.
9
9
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
11
11
part of async-profiler.*
12
12
13
13
This 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:
50
50
<dependency >
51
51
<groupId >me.bechberger</groupId >
52
52
<artifactId >ap-loader-all</artifactId >
53
- <version >3 .0-9</version >
53
+ <version >4 .0-9</version >
54
54
</dependency >
55
55
```
56
56
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 ) .
58
58
59
59
You can also use [ JBang] ( https://jbang.dev ) to simplify the usage of ap-loader. There are examples in documentation below.
60
60
@@ -234,7 +234,7 @@ The latest `all` version can be added via:
234
234
< dependency>
235
235
< groupId> me.bechberger< /groupId>
236
236
< artifactId> ap-loader-all< /artifactId>
237
- < version> 3 .0-9< /version>
237
+ < version> 4 .0-9< /version>
238
238
< /dependency>
239
239
` ` `
240
240
@@ -248,16 +248,16 @@ It requires a platform supported by async-profiler and Python 3.6+.
248
248
249
249
` ` ` sh
250
250
# download the release sources and binaries
251
- python3 ./bin/releaser.py download 3 .0
251
+ python3 ./bin/releaser.py download 4 .0
252
252
253
253
# build the JAR for the release
254
254
# maven might throw warnings, related to the project version setting,
255
255
# 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
257
257
# 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 ...
259
259
# 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
261
261
` ` `
262
262
263
263
Development
@@ -287,7 +287,7 @@ Commands:
287
287
clear clear the ap-releases and target folders for a fresh start
288
288
```
289
289
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.
291
291
292
292
For a release use `bin/releaser.py download build test deploy_release`,
293
293
but before make sure to do the following for a new sub release:
0 commit comments