[foreign] RFR 8208199: Revisit one interface per header file approach

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Wed Aug 8 13:56:40 UTC 2018



On 08/08/18 15:01, Sundararajan Athijegannathan wrote:
> You're right. That said, it may be possible to use a Proxy & 
> InvocationHandler and tunnel through for large interface case, right?
Theoretically, yes, but then you are throwing performances out of the 
window :-)

Maurizio
>
> -Sundar
>
> On 08/08/18, 6:46 PM, Maurizio Cimadamore wrote:
>>
>>
>> On 08/08/18 13:25, Sundararajan Athijegannathan wrote:
>>> Also there is an outside chance of reaching per .class limitations 
>>> when processing a deeply nested header file (if we fold all 
>>> declarations in one interface). 
>> Looking more accurately, it seems you are already hitting this limit, 
>> but on the binder side - as all the definitions are folded together 
>> in the main header interface impl? [which is even worse, as header 
>> impl will have method bodies, so more CP entries, etc.]
>>
>> Maurizio



More information about the panama-dev mailing list