jdk10 classifier usage

49 views
Skip to first unread message

nqzero

unread,
Jul 14, 2019, 10:50:00 PM7/14/19
to Conversant Disruptor
what does the jdk10 classifier change ?

i'm compiling and running with java 12, and don't see any quantifiable (jmh) performance impact of the classifier. assuming that there's no advantage, i'd keep the benchmark java8-compatible. am i missing anything ?




John Cairns

unread,
Jul 15, 2019, 9:46:38 AM7/15/19
to nqzero, Conversant Disruptor
These are used for specific code changes relating to each compiler version.  There may be no performance impact to choosing a separate classifier in your build.   Many of the specific changes relate to use of lambdas and the features introduced in Java 8.  Conversant Disruptor was developed prior to that version.    There have been some changes around the @Contended annotation over time.  However I am no longer using it.  So that is not an issue now.

I have been using OpenJDK 11 or above for some time and recommend others to do the same.  There have been many improvements to the language and performance features since Java 8 so there is almost no argument to continue supporting it.  Of course it is supported in case some users have no choice in the matter.  Conversant Disruptor performs well in all versions of Java because it is not using any non-standard language features or backdoors.   If you choose the default library with no classifier you should expect excellent performance on the  platform of your choice.

Best regards,

John


On Jul 14, 2019, at 9:50 PM, nqzero <junk...@nqzero.com> wrote:

what does the jdk10 classifier change ?

i'm compiling and running with java 12, and don't see any quantifiable (jmh) performance impact of the classifier. assuming that there's no advantage, i'd keep the benchmark java8-compatible. am i missing anything ?





--
You received this message because you are subscribed to the Google Groups "Conversant Disruptor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conversant-disru...@googlegroups.com.
To post to this group, send email to conversant...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/conversant-disruptor/56b59315-98ce-469d-9e34-807461cf7bae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages