When benchmarking some scala code using Java Flight Recorder/ Mission Control, I can see a bunch of methods that have an $adapted$
in the name. I can think of a few possibilities for this, looking at the signature.
- Are these the same as java-8 function lambdas? i.e. that won't generate heap allocations?
- Are they specializations of generics (in scala, or templates in java)?
- Or are they some other sort of optimization?
Where can I read more about this?