I recently hunted a bug for an hour until I realized that I had accessed ciEnv::compiler_data() thinking it was C2 `Compile` when, in fact, it was C1 `Compilation`. Then I felt stupid. Still, an assert would be easy to do and would have saved me time.
- links to
-
Review(master) openjdk/jdk/23635