-
Bug
-
Resolution: Fixed
-
P4
-
10, 11
-
b06
-
generic
-
generic
The following functions contain expressions of the form (this == NULL) or (this != NULL)
oopDesc::print_on
oopDesc::print_value_on
oopDesc::verify_on
The compiler is free to elide those tests, since (this == NULL) can never be true; applying an ordinary member function to NULL invokes undefined behavior. These functions should be changed to be static member functions with an oop argument, with the test being applied to that argument.
oopDesc::print_on
oopDesc::print_value_on
oopDesc::verify_on
The compiler is free to elide those tests, since (this == NULL) can never be true; applying an ordinary member function to NULL invokes undefined behavior. These functions should be changed to be static member functions with an oop argument, with the test being applied to that argument.
- relates to
-
JDK-8160399 is_oop_or_null involves undefined behavior
-
- Resolved
-
-
JDK-8217407 StackValue::print_on() crashes on NULL handle
-
- Resolved
-
-
JDK-8252916 Newline in object field values list of ScopeDesc should be removed
-
- Resolved
-