Open zakkak opened 4 years ago
This program is a simple reproducer which uses JvmFunc.c
s JVM_ActiveProcessorCount
from libjvm.a
:
$ cat TestLibjvmaDebugInfo.java
public class TestLibjvmaDebugInfo {
public static void main(String[] args) {
System.out.println("Active proc count: " + Runtime.getRuntime().availableProcessors());
}
}
Description
Mandrel ships with
libjvm.a
andliblibchelper.a
but not their sources. As a result gdb (as well as other tools) fail to show the source code.How To Reproduce
Additional context
In order to fix this we need to: