You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Andy Wu (Jira)" <ji...@apache.org> on 2022/08/31 23:05:00 UTC

[jira] [Comment Edited] (RATIS-1685) Ratis code runs slower on JDK11 comparing to JDK8?

    [ https://issues.apache.org/jira/browse/RATIS-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17598659#comment-17598659 ] 

Andy Wu edited comment on RATIS-1685 at 8/31/22 11:04 PM:
----------------------------------------------------------

Thanks [~szetszwo]! That will be nice!

[~liuyaolong] One easier way is to run an existing unit test: 
{code:java}
mvn test -Dtest=org.apache.ratis.grpc.TestLogAppenderWithGrpc
{code}


It takes around 130 seconds on JDK11, and the same test takes 20 seconds on JDK8. Not sure what is the exact reason. 


was (Author: andywu):
Thanks [~szetszwo]! That will be nice!

[~liuyaolong] One easier way is to run an existing unit test: 
{code:java}
mvn test -Dtest=org.apache.ratis.grpc.TestLogAppenderWithGrpc
{code}


It takes around 130 seconds on JDK11, and the same test takes 20 seconds on JDK8. Not sure what is the exactly reason. 

> Ratis code runs slower on JDK11 comparing to JDK8?
> --------------------------------------------------
>
>                 Key: RATIS-1685
>                 URL: https://issues.apache.org/jira/browse/RATIS-1685
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Andy Wu
>            Priority: Critical
>
> Is there any plan to upgrade Ratis into JDK11? Somehow Ratis runs much slower on JDK11 comparing to JDK8. Still need to figure out why...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)