RFR: 8323803: ConstantOopReadValue::print_on should print 'null' instead of 'nullptr'
theoweidmannoracle
duke at openjdk.org
Tue Nov 5 13:19:03 UTC 2024
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
-------------
Commit messages:
- 8323803: ConstantOopReadValue::print_on should print 'null' instead of 'nullptr'
Changes: https://git.openjdk.org/jdk/pull/21869/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21869&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8323803
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/21869.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21869/head:pull/21869
PR: https://git.openjdk.org/jdk/pull/21869
More information about the hotspot-compiler-dev
mailing list