Methods like findclass() or findmethod() are very useful to debug the JVM, but they currently lack the support of new features introduced by Valhalla.
For instance, when calling findclass() with a concrete value class name, the output presents the class as being an `InstanceKlass` when in fact, it is an `InlineKlass`. The additional fields of InlineKlass (in the Members instance), are not displayed.
Even non value classes output could be improved, for instance, indicating in the fields output if a field is flat, and which flat layout is used.
This is a non-exhaustive list of extensions the debug functions could support in order to make the debugging of the Valhalla VM a more effective experience.
For instance, when calling findclass() with a concrete value class name, the output presents the class as being an `InstanceKlass` when in fact, it is an `InlineKlass`. The additional fields of InlineKlass (in the Members instance), are not displayed.
Even non value classes output could be improved, for instance, indicating in the fields output if a field is flat, and which flat layout is used.
This is a non-exhaustive list of extensions the debug functions could support in order to make the debugging of the Valhalla VM a more effective experience.