Loading... (original) (raw)

Making oop and narrowOop sometimes map to class types and sometimes to primitives comes with some unfortunate problem. Advantages of making them always have their own type include:

  1. Not getting compilation errors in configuration X but not Y
  2. Making it easier to adopt existing code to use Shenandoah equals barriers
  3. Recognize oops and narrowOops safely in templates