Re: RFR: 8293304: Replace some usages of INTPTR_FORMAT with PTR_FORMAT [v2]

2022-09-08 Thread Stefan Karlsson
On Thu, 8 Sep 2022 08:42:30 GMT, Stefan Karlsson wrote: >> During the discussion of >> [JDK-8292981](https://bugs.openjdk.org/browse/JDK-8292981) an opinion was >> voiced that we should stop using INTPTR_FORMAT when printing pointers. >> >> Some background that could explain why some tend to u

Re: RFR: 8293304: Replace some usages of INTPTR_FORMAT with PTR_FORMAT [v2]

2022-09-08 Thread Coleen Phillimore
On Thu, 8 Sep 2022 08:42:30 GMT, Stefan Karlsson wrote: >> During the discussion of >> [JDK-8292981](https://bugs.openjdk.org/browse/JDK-8292981) an opinion was >> voiced that we should stop using INTPTR_FORMAT when printing pointers. >> >> Some background that could explain why some tend to u

Re: RFR: 8293304: Replace some usages of INTPTR_FORMAT with PTR_FORMAT [v2]

2022-09-08 Thread Stefan Karlsson
On Wed, 7 Sep 2022 22:06:11 GMT, Kim Barrett wrote: > Looks good. Thanks. > Also noticed some pre-existing unnecessary (void*) casts of the pointer > argument to p2i. Not your problem, and not really appropriate for this change > to do anything about them, but I really hate eye-catching cast

Re: RFR: 8293304: Replace some usages of INTPTR_FORMAT with PTR_FORMAT [v2]

2022-09-08 Thread Stefan Karlsson
> During the discussion of > [JDK-8292981](https://bugs.openjdk.org/browse/JDK-8292981) an opinion was > voiced that we should stop using INTPTR_FORMAT when printing pointers. > > Some background that could explain why some tend to use INTPTR_FORMAT instead > of PTR_FORMAT: > > Both those form

Re: RFR: 8293304: Replace some usages of INTPTR_FORMAT with PTR_FORMAT

2022-09-07 Thread Kim Barrett
On Fri, 2 Sep 2022 09:51:06 GMT, Stefan Karlsson wrote: > During the discussion of > [JDK-8292981](https://bugs.openjdk.org/browse/JDK-8292981) an opinion was > voiced that we should stop using INTPTR_FORMAT when printing pointers. > > Some background that could explain why some tend to use IN

Re: RFR: 8293304: Replace some usages of INTPTR_FORMAT with PTR_FORMAT

2022-09-07 Thread Stefan Karlsson
On Fri, 2 Sep 2022 09:51:06 GMT, Stefan Karlsson wrote: > During the discussion of > [JDK-8292981](https://bugs.openjdk.org/browse/JDK-8292981) an opinion was > voiced that we should stop using INTPTR_FORMAT when printing pointers. > > Some background that could explain why some tend to use IN

RFR: 8293304: Replace some usages of INTPTR_FORMAT with PTR_FORMAT

2022-09-02 Thread Stefan Karlsson
During the discussion of [JDK-8292981](https://bugs.openjdk.org/browse/JDK-8292981) an opinion was voiced that we should stop using INTPTR_FORMAT when printing pointers. Some background that could explain why some tend to use INTPTR_FORMAT instead of PTR_FORMAT: Both those format specifiers re