Java 17 and Yourkit 2021.11

470 Views Asked by At

Java 11 and yourkit 2020.9 working for me. Made upgrade to java 17 and yourkit 2021.11, yourkit not working for me.

Used this doc: https://www.yourkit.com/docs/java/help/docker.jsp to add yourkit 2021.11 to docker but getting error when running it:

[YourKit Java Profiler 2021.11-b220] Log file: /home/kek/.yjp/log/test-8.log
terminate called after throwing an instance of 'std::system_error'
what():  No error information

How I can see what inside of /home/kek/.yjp/log/test-8.logor does java 17 and yourkit 2021.11 work for you?

2

There are 2 best solutions below

0
Serhii Zadorozhnyi On

The issue was that azul/zulu-openjdk-alpine:17-jre-headless and yourkit not compatible, some library were not there for yourkit(didn't dig much), so by moving to azul/zulu-openjdk-debian:17-jre-headless fixed incompatibility for me.

0
Vladimir Kondratyev On

There might be problems with v2021.11 in musl-based Linuxes. Please use v2022.3 which has special profiling agent for musl https://www.yourkit.com/docs/java/help/docker.jsp