Request for reviews (XXXS): 6794939: assert(_base == OopPtr,"subclass must override cast_to_ptr_type")

Vladimir Kozlov Vladimir.Kozlov at Sun.COM
Fri Jan 16 11:31:20 PST 2009


http://webrev.invokedynamic.info/kvn/6794939/index.html

Fixed 6794939: assert(_base == OopPtr,"subclass must override cast_to_ptr_type")

Problem:
Typo in the assert in TypeKlassPtr::cast_to_ptr_type().

Solution:
Fix the assert's check to _base == KlassPtr.

Reviewed by:

Fix verified (y/n): y, bug's test case

Other testing:
JPRT




More information about the hotspot-compiler-dev mailing list