Hi,

+1 to this approach.

I can create a PR for Apache Lucene to test this! With our current code it is 
very easy to add support for this - which is great (at the end I just need a 
MethodHandle with a MethodType "(ByteBuffer)void")!

Unfortunately I am not good in compiling OpenJDK, so if somebody could provide 
me a patched build for windows or linux, I'd be happy.

Uwe

-----
Uwe Schindler
[email protected] 
ASF Member, Apache Lucene PMC / Committer
Bremen, Germany
http://lucene.apache.org/

> -----Original Message-----
> From: Chris Hegarty [mailto:[email protected]]
> Sent: Tuesday, December 13, 2016 8:47 PM
> To: Core-Libs-Dev <[email protected]>; jigsaw-dev <jigsaw-
> [email protected]>; Uwe Schindler <[email protected]>; Peter
> Levart <[email protected]>
> Subject: Re: Java 9 build 148 causes trouble in Apache
> Lucene/Solr/Elasticsearch
> 
> Taking into account the feedback so far, and changing the method name (
> since
> it is an attractive nuisance ), here is where I think we ended up.
> 
> http://cr.openjdk.java.net/~chegar/Unsafe_invokeCleaner/
> 
> If this is agreeable, I’ll file an issue in JIRA to track the code changes, 
> and
> update JEP 260.
> 
> -Chris.=

Reply via email to