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

Vladimir Kozlov Vladimir.Kozlov at Sun.COM
Wed Jan 21 09:18:20 PST 2009


Resend.

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