8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c07f06 commit fbe20d0Copy full SHA for fbe20d0
src/main/java/profiler/Main.java
@@ -1,6 +1,14 @@
1
package profiler;
2
3
public class Main {
4
+ /**
5
+ * From this post: https://stackoverflow.com/a/9415368/4117496
6
+ * To run this: go to terminal and use this command:
7
+ * java -server -XX:+UnlockDiagnosticVMOptions '-XX:CompileCommand=print,*Main.main' src/main/java/profiler/Main.java
8
+ * but it produces this error:
9
+ * Could not load hsdis-aarch64.dylib; library not loadable; PrintAssembly is disabled
10
+ * I didn't dig further after this.
11
+ * */
12
public static void main(final String[] args) {
13
long x = 0;
14
for (int i = 0; i < 1000000; i++) {
0 commit comments