Although I explicitly requested a debugging session, I assume that it was mainly an attempt to solve the real problem: large lines are highlighted, and you do not know where this happens.
Distribution can be traced using jVisualVM . You can run jVisualVM and your program and connect jVisualVM to your program.
If this does not meet your needs, I can remove this answer. Otherwise, how can you do this:
On the "Profiler" tab, you can select the "Settings" checkbox in the upper right corner and select the "Memory settings" tab. There you can check the box "Trace stack selection records":

Then, after clicking the "Memory" button at the top, the profiler will collect information about the distribution of lines. After the application exits (or after a snapshot), you can look at the recorded stack traces to find a method that selects a large line - in this example method4 :

source share