我们正面临一个java应用程序的问题,其中许多安全点被触发(几乎1 /秒)。我已使用 - " XX:+ PrintGCApplicationStoppedTime启用了GC日志记录 -XX:+ PrintSafepointStatistics -XX:PrintSafepointStatisticsCount = 1"旗。
并且发现由于" RevokeBias"几乎每一秒安全点条件都在触发。 。它经常发生并导致应用程序出现问题。
有人可以告诉我什么可能导致更多" RevokeBias"在应用程序中,我们应该怎样做才能改善这种行为?
From GC logs:
3.039: Total time for which application threads were stopped: 0.0001610 seconds
24.039: Total time for which application threads were stopped: 0.0001640 seconds
From console logs:
7475.858: **RevokeBias** [ 161 0 0 ] [ 0 0 0 0 0 ] 0
vmop [threads: total initially_running wait_to_block]
[time: spin block sync cleanup vmop] page_trap_count
@400000005548c3710bf0250c
7475.859: **RevokeBias** [ 161 0 0 ] [ 0 0 0 0 0 ] 0
vmop [threads: total initially_running wait_to_block] [time: spin block sync cleanup vmop] page_trap_count
7475.859: **RevokeBias** [ 161 0 0 ] [ 0 0 0 0 0 ] 0
谢谢,
Anuj