RFR (XS): 8065134: Need WhiteBox::allocateCodeBlob(long, int) method to be implemented
Vitaly Davidovich
vitalyd at gmail.com
Fri Dec 5 01:23:58 UTC 2014
This is just for convenience for calling from java code, it seems, and not
because code blob size actually needs to be larger than int (that would be
scary!).
Sent from my phone
On Dec 4, 2014 8:12 PM, "David Holmes" <david.holmes at oracle.com> wrote:
> Hi Tatiana,
>
> On 5/12/2014 12:30 AM, Tatiana Pivovarova wrote:
>
>> Hi all,
>>
>> please review this small patch
>>
>> bugid: https://bugs.openjdk.java.net/browse/JDK-8065134
>> webrev: http://cr.openjdk.java.net/~iignatyev/tpivovarova/8065134/
>> webrev.00
>>
>> Problem:
>> Need WhiteBox::allocateCodeBlob(long, int), currently only
>> WhiteBox::allocateCodeBlob(int, int) exist.
>>
>> Solution:
>> Just change function signature WhiteBox::allocateCodeBlob(int, int) ->
>> WhiteBox::allocateCodeBlob(long, int)
>>
>
> But this gets truncated to an int again:
>
> CodeBlob* WhiteBox::allocate_code_blob(int size, int blob_type)
>
> David
>
> Test: jprt
>>
>> Thanks,
>> Tatiana
>>
>
More information about the hotspot-dev
mailing list