RFR: 7165755 OS Information much longer on linux than other platforms

Nils Loodin nils.loodin at oracle.com
Tue May 15 06:22:43 PDT 2012


Attatching the patch for hotspot-runtime.

Regards,
Nils Loodin
On May 15, 2012, at 05:08 , David Holmes wrote:

> Hi Nils,
> 
> This is fine. If you generate the changeset and create a patch for it, I can apply and do the JPRT submission.
> 
> Thanks,
> David
> 
> On 15/05/2012 2:59 AM, Nils Loodin wrote:
>> David, is this OK for you?
>> 
>> Regards,
>> Nils Loodin
>> 
>> 
>> On May 14, 2012, at 11:28 , Rickard Bäckman wrote:
>> 
>>> Looks OK.
>>> 
>>> /R
>>> 
>>> On 05/14/2012 10:41 AM, Nils Loodin wrote:
>>>> Right!
>>>> Well Staffan Larsen was, but he's gone on vacation this week. I'll dig up another.
>>>> I'm looking to push this to hotspot-rt as well as 7u6, which as you probably know is here:
>>>> http://hg.openjdk.java.net/hsx/hsx23.2/hotspot/
>>>> 
>>>> Regards,
>>>> Nils Loodin
>>>> 
>>>> 
>>>> On May 12, 2012, at 14:22 , David Holmes wrote:
>>>> 
>>>>> Hi Nils,
>>>>> 
>>>>> On 11/05/2012 11:45 PM, Nils Loodin wrote:
>>>>>> And, to be clear, I updated a few lines after the conversation with
>>>>>> David. Here's the lastest:
>>>>>> http://cr.openjdk.java.net/~nloodin/7165755/webrev.03
>>>>>> <http://cr.openjdk.java.net/~nloodin/7165755/webrev.0>
>>>>> 
>>>>> I'm okay with this change. Do you have a second reviewer for this final format?
>>>>> 
>>>>>> Also, David, could you sponsor my push if you're happy?
>>>>> 
>>>>> Where are you pushing to? hotspot-rt?
>>>>> 
>>>>> I can do the push once my home directory server comes back online :(
>>>>> 
>>>>> And once I see a second reviewer.
>>>>> 
>>>>> Thanks,
>>>>> David
>>>>> 
>>>>> 
>>>>>> Dear regards,
>>>>>> Nils Loodin
>>>>>> 
>>>>>> On May 11, 2012, at 14:07 , Nils Loodin wrote:
>>>>>> 
>>>>>>> Lists accidentally dropped of here.
>>>>>>> 
>>>>>>> For the official record, Davd Holmes, are you hereby happy with the
>>>>>>> state of my changes and ready to stand by that as an official reviewer? :)
>>>>>>> 
>>>>>>> Regards,
>>>>>>> Nils Loodin
>>>>>>> 
>>>>>>> Begin forwarded message:
>>>>>>> 
>>>>>>>> *From: *David Holmes<david.holmes at oracle.com
>>>>>>>> <mailto:david.holmes at oracle.com>>
>>>>>>>> *Subject: **Re: RFR: 7165755 OS Information much longer on linux than
>>>>>>>> other platforms*
>>>>>>>> *Date: *May 11, 2012 12:52:12 GMT+02:00
>>>>>>>> *To: *Nils Loodin<nils.loodin at oracle.com
>>>>>>>> <mailto:nils.loodin at oracle.com>>
>>>>>>>> 
>>>>>>>> On 11/05/2012 5:22 PM, Nils Loodin wrote:
>>>>>>>>>> Missed one:
>>>>>>>>>> 
>>>>>>>>>> 39 #include "os_linux.hpp"
>>>>>>>>>> 
>>>>>>>>> Gah. Indeed.
>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> Do we want the initial st->print("OS:") on the brief info the way we
>>>>>>>>>> have on the full info?
>>>>>>>>> I judged no, due to the fact that this would (well in our case anyway,
>>>>>>>>> but I thought generally) be used by other tools to get a brief info.
>>>>>>>>> They would then have that string as a label in a gui, or something else.
>>>>>>>>> Or if they want to print somewhere, they should print that string on
>>>>>>>>> their own.
>>>>>>>> 
>>>>>>>> Ok.
>>>>>>>> 
>>>>>>>>> About OS_xx.cpp including OS_xx.hpp, I feel I'm missing something.. can
>>>>>>>>> you please help me say why that's a no-no? And what does it have to do
>>>>>>>>> with the old included implementation?
>>>>>>>> 
>>>>>>>> It isn't that it is wrong, it's that it hasn't been necessary. So I
>>>>>>>> was wondering why it was now necessary, as if it had been necessary I
>>>>>>>> would have expected it to be done when the old include system got
>>>>>>>> converted. I think these files only need include the generic os.hpp
>>>>>>>> and that it turn will include the platform specific ones.
>>>>>>>> 
>>>>>>>>> Changing the above, are you ok with the changes?
>>>>>>>> 
>>>>>>>> Yes.
>>>>>>>> 
>>>>>>>> Though we should probably be having this conversation on the open
>>>>>>>> lists ;-)
>>>>>>>> 
>>>>>>>> Cheers,
>>>>>>>> David
>>>>>>>> 
>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> David
>>>>>>>>> 
>>>>>>>>> Regards,
>>>>>>>>> Nils Loodin
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>> 
>>>> 
>>> 
>> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7165755.patch
Type: application/octet-stream
Size: 34798 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20120515/340f05d7/7165755-0001.patch 


More information about the hotspot-runtime-dev mailing list