[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    ConstantPoolCacheEntry::print() should use its first argument
From:       rednaxelafx () gmail ! com (Krystal Mok)
Date:       2012-02-25 10:18:36
Message-ID: CA+cQ+tTrDdTMe12aSHt+_FS+e4HmgarAxZkBRY9JAC5YohAwtg () mail ! gmail ! com
[Download RAW message or body]

Thanks David and Tom :-)

Regards,
Kris Mok

On Sat, Feb 25, 2012 at 1:50 AM, Tom Rodriguez <tom.rodriguez at oracle.com>wrote:

> Looks good.
> 
> tom
> 
> On Feb 24, 2012, at 1:13 AM, David Holmes wrote:
> 
> > I've regenerated a webrev at:
> > 
> > http://cr.openjdk.java.net/~dholmes/7148126/webrev/
> > 
> > Can we please get a second hotspot reviewer
> > 
> > Thanks,
> > David
> > 
> > On 23/02/2012 8:00 PM, David Holmes wrote:
> > > Hi Kris,
> > > 
> > > I've filed 7148126 for this and will sponsor the push.
> > > 
> > > David
> > > 
> > > On 23/02/2012 6:52 PM, Krystal Mok wrote:
> > > > Hi all,
> > > > 
> > > > A minor issue:
> > > > Running experiments that crash the VM lead me to some weird output on
> > > > stdout during VM error reporting [1].
> > > > 
> > > > Turns out it's from ConstantPoolCacheEntry::print(outputStream* st, int
> > > > index). But instead of printing to "st", it's printing to "tty".
> > > > 
> > > > The call path:
> > > > 
> > > > os::print_register_info(outputStream *st, void *context)
> > > > os::print_location(outputStream* st, intptr_t x, bool verbose)
> > > > oopDesc::print_on(outputStream* st)
> > > > constantPoolCacheKlass::oop_print_on(oop obj, outputStream* st)
> > > > ConstantPoolCacheEntry::print(outputStream* st, int index)
> > > > 
> > > > I checked that the last function is the only one not using the "st"
> > > > argument.
> > > > 
> > > > A patch to fix it, diff against jdk8/jdk8/hotspot master: [2]
> > > > Could anyone please sponsor this patch?
> > > > 
> > > > Regards,
> > > > Kris Mok
> > > > 
> > > > [1]: https://gist.github.com/1891517#file_command_prompt
> > > > [2]:
> https://gist.github.com/1891517#file_fix_against_jdk8_master.patch
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20120225/e65b3e49/attachment.html \



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic