A custom eBPF-based Linux scheduler written in Java (concurrency-fuzz-scheduler) is used to reproduce a rare concurrency bug in OpenJDK's JFR CPU-time sampler test. The chaotic scheduler deliberately introduces random sleeps and disrupts normal thread scheduling to expose timing-sensitive bugs that rarely manifest under
Table of contents
Running the Test Case NormallyRunning the Test Case with the Chaotic SchedulerRunning the Fixed Test CaseThe BugWhy does it not always fail?ConclusionAuthorRelated Posts:Sort: