Java 8 JIT thread seems like falling into infinite loop

后端 未结 1 1409
面向向阳花
面向向阳花 2021-02-02 16:29

I wrote a server application in Java 8, and running it with java 1.8.0u25.

It works fine for the first several hours, but after it gets about 5k~10k requests, a thread o

1条回答
  •  梦如初夏
    2021-02-02 17:08

    It indeed looks like a JIT compiler bug, presumably in allocation elimination optimization.
    Try running with -XX:-EliminateAllocations JVM option.

    You may also add -XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation to produce detailed compilation log with a separate output file per compiler thread.

    0 讨论(0)
提交回复
热议问题