Integrated: 8260198: TypeInstPtr::dump2() emits multiple lines if Verbose is set
Xin Liu
xliu at openjdk.java.net
Fri Feb 26 10:49:42 UTC 2021
On Thu, 21 Jan 2021 08:47:13 GMT, Xin Liu <xliu at openjdk.org> wrote:
> Add a flag _suppress_cr to outputStream. outstream objects won't emit any CR if it's set.
> Correct TypeInstPtr::dump2 to make sure it only emits klass name once.
> Remove the comment because Klass::oop_print_on() has emitted the address of oop.
>
> Before:
> 689 ConP === 0 [[ 821 ]] Oop:java/lang/Stringjava.lang.String
> {0x000000010159d7c8} - klass: public final synchronized 'java/lang/String'
> - string: "a"
> :Constant:exact *
>
> After:
> 689 ConP === 0 [[ 821 ]] Oop:java.lang.String {0x000000010159d7c8} - klass: public final synchronized 'java/lang/String' - string: "a":Constant:exact *
This pull request has now been integrated.
Changeset: 76032781
Author: Xin Liu <xliu at openjdk.org>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/76032781
Stats: 55 lines in 2 files changed: 51 ins; 1 del; 3 mod
8260198: TypeInstPtr::dump2() emits multiple lines if Verbose is set
Reviewed-by: thartmann
-------------
PR: https://git.openjdk.java.net/jdk/pull/2178
More information about the hotspot-compiler-dev
mailing list