eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.28k stars 721 forks source link

Bogus assert in SchedulingDelegate #10049

Open dnakamura opened 4 years ago

dnakamura commented 4 years ago

Assert is found here Assert_MM_true(_liveSetBytesAfterGlobalSweep <= _liveSetBytesAfterGlobalSweep);

Not knowing the code at all, my best guess would be that it should be _liveSetBytesAfterGlobalSweep <= _previousLiveSetBytesAfterGlobalSweep, however elsewhere in the code it is mentioned that the heap occupancy trend can go negative.

dnakamura commented 4 years ago

/cc @dmitripivkine