RFR (S) round 0 for 8135195 VM Options file should not be limited to 1024 bytes

Ron Durbin ron.durbin at oracle.com
Tue Sep 29 12:49:25 UTC 2015


Harold

Good point and the next round will reflect it.
I was under the false impression that os::stat was not supported.
Thanks for the review.

Ron

>-----Original Message-----
>From: harold seigel
>Sent: Thursday, September 24, 2015 9:04 AM
>To: hotspot-runtime-dev at openjdk.java.net
>Subject: Re: RFR (S) round 0 for 8135195 VM Options file should not be limited to 1024 bytes
>
>Hi Ron,
>
>Could you call os::stat() to get the option file size and then allocate
>buf to that size?
>
>Thanks, Harold
>
>On 9/24/2015 10:52 AM, Daniel D. Daugherty wrote:
>> On 9/24/15 8:44 AM, Daniel D. Daugherty wrote:
>>> On 9/24/15 8:35 AM, Ron Durbin wrote:
>>>> Here is the round 0 webrev for 8135195
>>>>
>>>> Webrev link:
>>>> http://cr.openjdk.java.net/~rdurbin/Webrevs/JDK-8135195/OCR0_JDK9/webrev/
>>>>
>>>
>>> The above link did not work. I found the webrev here:
>>>
>>> http://cr.openjdk.java.net/~rdurbin/8135195_OCR0_JDK9_webrev/
>>
>> src/share/vm/runtime/arguments.cpp
>>     No comments. Matches the last internal webrev.
>>
>> Thumbs up.
>>
>> What did you and Dmitry decide to do about the new test coverage?
>> I presume Dmitry will have a separate webrev/review cycle and will
>> use a separate bug ID for his test changes.
>>
>> If both are ready at the same time, we can do a single JPRT job
>> with both changesets...
>>
>> Dan
>>
>>
>>>
>>> Dan
>>>
>>>>
>>>> RFE request:
>>>> https://bugs.openjdk.java.net/browse/JDK-8135195
>>>>
>>>> This RFE removes the limitation on the size of VM Options files.
>>>> That limit is currently 1K bytes.
>>>> Removing that limit will allow options files to be read with no
>>>> practical size limit.
>>>>
>>>> This feature has been tested on:
>>>>      OS:
>>>>        Solaris, MAC, Windows, Linux
>>>>      Tests:
>>>>        Manual unit tests
>>>>        JPRT with -testset hotspot (including the SQE proposed test
>>>> coverage for this feature.)
>>>
>>
>


More information about the hotspot-runtime-dev mailing list