Integrated: 8323803: ConstantOopReadValue::print_on should print 'null' instead of 'nullptr'

theoweidmannoracle duke at openjdk.org
Thu Nov 7 10:06:49 UTC 2024


On Mon, 4 Nov 2024 09:23:16 GMT, theoweidmannoracle <duke at openjdk.org> wrote:

> Printing incorrectly printed `nullptr` instead of `null`
> 
> Buggy:
> 
> 
> ScopeDesc(pc=0x0000000104c05468 offset=2e8):
>    java.lang.Class::desiredAssertionStatus at 20 (line 3984)
>    Locals
>     - l0: reg rfp [58],oop
>     - l1: stack[0],oop
>     - l2: nullptr
>     - l3: empty
>    Expression stack
>     - @0: nullptr
> 
> 
> Fixed:
> 
> 
> ScopeDesc(pc=0x0000000106fdd468 offset=2e8):
>    java.lang.Class::desiredAssertionStatus at 20 (line 3984)
>    Locals
>     - l0: reg rfp [58],oop
>     - l1: stack[0],oop
>     - l2: null
>     - l3: empty
>    Expression stack
>     - @0: null

This pull request has now been integrated.

Changeset: 7620b129
Author:    Theo Weidmann <theo.weidmann at oracle.com>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7620b129888d57514d9ef588e0681f1d43377236
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8323803: ConstantOopReadValue::print_on should print 'null' instead of 'nullptr'

Reviewed-by: chagedorn, kvn

-------------

PR: https://git.openjdk.org/jdk/pull/21869


More information about the hotspot-compiler-dev mailing list