Experiencing occasional long garbage collection delays, why?

前端 未结 13 1060
后悔当初
后悔当初 2021-02-04 06:26

I\'m having a hard time dealing with a Java garbage collection problem, and interpreting the logs.

My application requires that no GC takes longer than 2 seconds, and id

13条回答
  •  孤街浪徒
    2021-02-04 07:12

    If you have strict timing requirements, perhaps you should check into the Java Real-Time System.

    RTSJ /Java RTS provides:

    An API set, semantic Java VM enhancements, and JVM-to-OS layer modifications which allow Java developers to correctly reason about and control the temporal behavior of Java applications.

提交回复
热议问题