Skip to content

Commit b93b465

Browse files
authored
Merge pull request #249 from v-thakkar/java-support-page
Add separate page for the java support
2 parents 07a9c5e + 95d2b8f commit b93b465

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

docs/java-support.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Java Support
2+
3+
In order for Parca Agent to be able to make sense of the just-in-time compiled code by the Java VM, the Java process needs to comply to the [linux kernel perf jit-interface](https://github.com/torvalds/linux/blob/master/tools/perf/Documentation/jit-interface.txt). To do this, currently users need to start their java process with two flags `-XX:+PreserveFramePointer` and `-agentpath:/your/path/to/libperfmap.so` where the `libperfmap.so` agent can be downloaded [here](https://github.com/parca-dev/perf-map-agent/releases/tag/v0.0.1).
4+
5+
Checkout the [demo example](https://github.com/parca-dev/parca-demo/tree/main/java) for more details.
6+
7+
## Coming soon
8+
9+
More integrated support without the need of perf-map agent and frame pointers for JVM runtimes using [async profiler](https://github.com/async-profiler/async-profiler)

docs/parca-agent-language-support.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Language Support
1+
# Other languages
22

33
Support in Parca Agent for various languages is constantly improving, here are some indications and examples to help you get started.
44

@@ -19,7 +19,7 @@ All JIT compiled languages with frame pointer, and [Perf map](https://github.com
1919
* [.NET](https://github.com/parca-dev/parca-demo/tree/main/dotnet)
2020
* [Deno](https://github.com/parca-dev/parca-demo/tree/main/deno)
2121
* [Erlang](https://github.com/parca-dev/parca-demo/tree/main/erlang)
22-
* [Java](https://github.com/parca-dev/parca-demo/tree/main/java)
22+
* [Java](/docs/java-support)
2323
* [Julia](https://github.com/parca-dev/parca-demo/tree/main/julia)
2424
* [Node.js](https://github.com/parca-dev/parca-demo/tree/main/nodejs)
2525
* [PHP 8 and above](https://github.com/parca-dev/parca-demo/tree/main/php)
@@ -31,10 +31,6 @@ All JIT compiled languages with frame pointer, and [Perf map](https://github.com
3131

3232
_Coming soon_
3333

34-
## Coming Soon
35-
36-
* Extended support for JVM runtimes via [async-profiler](https://github.com/jvm-profiling-tools/async-profiler)
37-
3834
:::info
3935

4036
[Further language support](https://github.com/parca-dev/parca-agent/issues?q=is%3Aissue+is%3Aopen+label%3Afeature%2Flanguage-support) is coming in the upcoming weeks and months.

sidebars.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ module.exports = {
7777
"parca-agent",
7878
"parca-agent-design",
7979
"parca-agent-labelling",
80-
"parca-agent-language-support",
80+
{
81+
type: "category",
82+
label: "Language Support",
83+
items: ["java-support", "parca-agent-language-support"],
84+
},
8185
"parca-agent-security",
8286
],
8387
},

wordlist.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
aa
22
addr
3+
agentpath
34
ainur
45
Akkoyun
56
amd
@@ -128,6 +129,7 @@ io
128129
iterateLong
129130
iterateShort
130131
Jaeger
132+
jit
131133
JIT
132134
jitdump
133135
js
@@ -145,6 +147,7 @@ Ld
145147
libbpf
146148
libc
147149
libelf
150+
libperfmap
148151
libpthread
149152
libz
150153
LimitNOFILE
@@ -208,6 +211,7 @@ posts
208211
pprof
209212
pprof's
210213
pre
214+
PreserveFramePointer
211215
Println
212216
PrivateDevices
213217
Priyadarsini

0 commit comments

Comments
 (0)