C2AccessValuePtr contains a reinterpret cast from TypePtr* to its base class Type*. This cast was added in JDK-8202377, due to a circular dependency problem, which no longer exists. The code compiles fine without it and this cast should be removed.
Furthermore, a downcast from Type* to TypePtr* exists in this class using reinterpret_cast. This should be replaced with the less powerful static_cast.
Furthermore, a downcast from Type* to TypePtr* exists in this class using reinterpret_cast. This should be replaced with the less powerful static_cast.
- links to
-
Commit(master) openjdk/jdk/5b2f7f3b
-
Review(master) openjdk/jdk/21977