Re: JVMLS indy support group provisional agenda

2016-08-01 Thread John Rose
Thanks, to those who were present, for a very lively conversation!

Here are the slides as presented today:

  http://cr.openjdk.java.net/~jrose/pres/201608-IndySupportGroup.pdf

I would like to add notes to the end of the deck, to summarize what we actually 
discussed.

I could use some help with that.  So, please, send your recollections to help 
reconstruct our very interesting discussion.

Very rough notes are fine; so are one-liners; send 1-1 or reply on-list at your 
option.

— John
___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: JVMLS indy support group provisional agenda

2016-08-01 Thread Vladimir Ivanov

And let's not forget:
- coroutine
- tail call


How do they relate to "Indy Support Group" (as recorded in JVMLS 
agenda)? :-)



- a lightweight way to create a method/method handle from an array of
bytes (codes) and an array of objects (constants as in constant pool).


Good point!

Best regards,
Vladimir Ivanov



On July 31, 2016 10:34:51 PM PDT, Vladimir Ivanov
 wrote:

Thanks a lot for preparing the agenda, John!

I'd like to nominate a topic into API section: enable super constructor
lookups in j.l.i.

FTR it was discussed on the list before [1].

Also, Charlie Nutter asked (at JFokus 2015?) for lightweight
safepointing solution, but there was no progress on it yet. Maybe it's
worth to reiterate the discussion as well?

Best regards,
Vladimir Ivanov

[1]
http://mail.openjdk.java.net/pipermail/mlvm-dev/2015-February/006292.html


On 7/31/16 10:13 PM, John Rose wrote:

Tomorrow at the JVMLS we will have an hour-long workshop to
discuss indy
and MHs.
I plan to run this as a Q/A and (if we are in good form)
abrain-storming session.
Here are the discussion topics that pop quickly to the top of my
list.
Any more suggestions?
— John

Provisional Agenda: API
§API changes in java.lang.invoke for Java 9
–VarHandles ({find{Static},unreflect}VarHandle)
–Loop combinators, tryFinally, various incremental conveniences
–Module-aware Lookups, access-checked Class lookups
§What are the use cases for unsafe Lookups?
§What about polymorphic inline caches?
Provisional Agenda: Performance
§Performance changes
–MH caching, MH customization, profile injection
–Indified string concatenation
§Native method handles
§Low level performance stuff
–@Stable, @{Dont,Force}Inline, @PolymorphicSignature
§Who wants to nominate their polymorphic inline cache?





mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev




mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: JVMLS indy support group provisional agenda

2016-08-01 Thread Remi Forax
And let's not forget:
- coroutine 
- tail call
- a lightweight way to create a method/method handle from an array of bytes 
(codes) and an array of objects (constants as in constant pool).

Remi 



On July 31, 2016 10:34:51 PM PDT, Vladimir Ivanov 
 wrote:
>Thanks a lot for preparing the agenda, John!
>
>I'd like to nominate a topic into API section: enable super constructor
>
>lookups in j.l.i.
>
>FTR it was discussed on the list before [1].
>
>Also, Charlie Nutter asked (at JFokus 2015?) for lightweight 
>safepointing solution, but there was no progress on it yet. Maybe it's 
>worth to reiterate the discussion as well?
>
>Best regards,
>Vladimir Ivanov
>
>[1] 
>http://mail.openjdk.java.net/pipermail/mlvm-dev/2015-February/006292.html
>
>
>On 7/31/16 10:13 PM, John Rose wrote:
>> Tomorrow at the JVMLS we will have an hour-long workshop to discuss
>indy
>> and MHs.
>> I plan to run this as a Q/A and (if we are in good form) a
>> brain-storming session.
>> Here are the discussion topics that pop quickly to the top of my
>list.
>>  Any more suggestions?
>> — John
>>
>> Provisional Agenda: API
>> §API changes in java.lang.invoke for Java 9
>> –VarHandles ({find{Static},unreflect}VarHandle)
>> –Loop combinators, tryFinally, various incremental conveniences
>> –Module-aware Lookups, access-checked Class lookups
>> §What are the use cases for unsafe Lookups?
>> §What about polymorphic inline caches?
>> Provisional Agenda: Performance
>> §Performance changes
>> –MH caching, MH customization, profile injection
>> –Indified string concatenation
>> §Native method handles
>> §Low level performance stuff
>> –@Stable, @{Dont,Force}Inline, @PolymorphicSignature
>> §Who wants to nominate their polymorphic inline cache?
>>
>>
>>
>> ___
>> mlvm-dev mailing list
>> mlvm-dev@openjdk.java.net
>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>>
>___
>mlvm-dev mailing list
>mlvm-dev@openjdk.java.net
>http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: JVMLS indy support group provisional agenda

2016-08-01 Thread Remi Forax
This one may be a little controversial but there are several good arguments in 
its favor:
VarHandle should be able to modify final fields.

Remi


On July 31, 2016 10:43:14 PM PDT, John Rose  wrote:
>Thanks, I added those points.
>
>On Jul 31, 2016, at 10:34 PM, Vladimir Ivanov
> wrote:
>> 
>> Thanks a lot for preparing the agenda, John!
>> 
>> I'd like to nominate a topic into API section: enable super
>constructor lookups in j.l.i.
>> 
>> FTR it was discussed on the list before [1].
>> 
>> Also, Charlie Nutter asked (at JFokus 2015?) for lightweight
>safepointing solution, but there was no progress on it yet. Maybe it's
>worth to reiterate the discussion as well?
>> 
>> Best regards,
>> Vladimir Ivanov
>> 
>> [1]
>http://mail.openjdk.java.net/pipermail/mlvm-dev/2015-February/006292.html
>> 
>> 
>> On 7/31/16 10:13 PM, John Rose wrote:
>>> Tomorrow at the JVMLS we will have an hour-long workshop to discuss
>indy
>>> and MHs.
>>> I plan to run this as a Q/A and (if we are in good form) a
>>> brain-storming session.
>>> Here are the discussion topics that pop quickly to the top of my
>list.
>>> Any more suggestions?
>>> — John
>>> 
>>> Provisional Agenda: API
>>> §API changes in java.lang.invoke for Java 9
>>> –VarHandles ({find{Static},unreflect}VarHandle)
>>> –Loop combinators, tryFinally, various incremental conveniences
>>> –Module-aware Lookups, access-checked Class lookups
>>> §What are the use cases for unsafe Lookups?
>>> §What about polymorphic inline caches?
>>> Provisional Agenda: Performance
>>> §Performance changes
>>> –MH caching, MH customization, profile injection
>>> –Indified string concatenation
>>> §Native method handles
>>> §Low level performance stuff
>>> –@Stable, @{Dont,Force}Inline, @PolymorphicSignature
>>> §Who wants to nominate their polymorphic inline cache?
>>> 
>>> 
>>> 
>>> ___
>>> mlvm-dev mailing list
>>> mlvm-dev@openjdk.java.net
>>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>>> 
>> ___
>> mlvm-dev mailing list
>> mlvm-dev@openjdk.java.net
>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
>___
>mlvm-dev mailing list
>mlvm-dev@openjdk.java.net
>http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: JVMLS indy support group provisional agenda

2016-07-31 Thread John Rose
Thanks, I added those points.

On Jul 31, 2016, at 10:34 PM, Vladimir Ivanov  
wrote:
> 
> Thanks a lot for preparing the agenda, John!
> 
> I'd like to nominate a topic into API section: enable super constructor 
> lookups in j.l.i.
> 
> FTR it was discussed on the list before [1].
> 
> Also, Charlie Nutter asked (at JFokus 2015?) for lightweight safepointing 
> solution, but there was no progress on it yet. Maybe it's worth to reiterate 
> the discussion as well?
> 
> Best regards,
> Vladimir Ivanov
> 
> [1] http://mail.openjdk.java.net/pipermail/mlvm-dev/2015-February/006292.html
> 
> 
> On 7/31/16 10:13 PM, John Rose wrote:
>> Tomorrow at the JVMLS we will have an hour-long workshop to discuss indy
>> and MHs.
>> I plan to run this as a Q/A and (if we are in good form) a
>> brain-storming session.
>> Here are the discussion topics that pop quickly to the top of my list.
>> Any more suggestions?
>> — John
>> 
>> Provisional Agenda: API
>> §API changes in java.lang.invoke for Java 9
>> –VarHandles ({find{Static},unreflect}VarHandle)
>> –Loop combinators, tryFinally, various incremental conveniences
>> –Module-aware Lookups, access-checked Class lookups
>> §What are the use cases for unsafe Lookups?
>> §What about polymorphic inline caches?
>> Provisional Agenda: Performance
>> §Performance changes
>> –MH caching, MH customization, profile injection
>> –Indified string concatenation
>> §Native method handles
>> §Low level performance stuff
>> –@Stable, @{Dont,Force}Inline, @PolymorphicSignature
>> §Who wants to nominate their polymorphic inline cache?
>> 
>> 
>> 
>> ___
>> mlvm-dev mailing list
>> mlvm-dev@openjdk.java.net
>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>> 
> ___
> mlvm-dev mailing list
> mlvm-dev@openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


Re: JVMLS indy support group provisional agenda

2016-07-31 Thread Vladimir Ivanov

Thanks a lot for preparing the agenda, John!

I'd like to nominate a topic into API section: enable super constructor 
lookups in j.l.i.


FTR it was discussed on the list before [1].

Also, Charlie Nutter asked (at JFokus 2015?) for lightweight 
safepointing solution, but there was no progress on it yet. Maybe it's 
worth to reiterate the discussion as well?


Best regards,
Vladimir Ivanov

[1] 
http://mail.openjdk.java.net/pipermail/mlvm-dev/2015-February/006292.html



On 7/31/16 10:13 PM, John Rose wrote:

Tomorrow at the JVMLS we will have an hour-long workshop to discuss indy
and MHs.
I plan to run this as a Q/A and (if we are in good form) a
brain-storming session.
Here are the discussion topics that pop quickly to the top of my list.
 Any more suggestions?
— John

Provisional Agenda: API
§API changes in java.lang.invoke for Java 9
–VarHandles ({find{Static},unreflect}VarHandle)
–Loop combinators, tryFinally, various incremental conveniences
–Module-aware Lookups, access-checked Class lookups
§What are the use cases for unsafe Lookups?
§What about polymorphic inline caches?
Provisional Agenda: Performance
§Performance changes
–MH caching, MH customization, profile injection
–Indified string concatenation
§Native method handles
§Low level performance stuff
–@Stable, @{Dont,Force}Inline, @PolymorphicSignature
§Who wants to nominate their polymorphic inline cache?



___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev