[jboss-jira] [JBoss JIRA] (JGRP-2478) Fibers: test performance versus regular threads

Bela Ban (Jira) issues at jboss.org
Fri Jul 3 07:52:54 EDT 2020


     [ https://issues.redhat.com/browse/JGRP-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban updated JGRP-2478:
---------------------------
    Fix Version/s: 5.0.0.Final
                       (was: 5.1)


I made all dependencies on fibers and JDK 16 stuff dependent on the presence of fibers (using {{MethodHandle}}), so this stuff can still go into 5 final as it compiles and doesn't hamper 5.

> Fibers: test performance versus regular threads
> -----------------------------------------------
>
>                 Key: JGRP-2478
>                 URL: https://issues.redhat.com/browse/JGRP-2478
>             Project: JGroups
>          Issue Type: Task
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>            Priority: Major
>             Fix For: 5.0.0.Final
>
>
> Test performance on the latest JDK-15-loom with {{use_fibers="true"/"false"}}.
> This requires a few code changes:
>  * There's no need to pool fibers, see [1] for details
>  * If fibers are used, {{thread_pool}} and {{internal_pool}} in {{TP}} could be assigned the result of {{Executors.newVirtualThreadExecutor()}}
>  * In a future version, we could simply remove the 2 thread pools
> [1] [https://cr.openjdk.java.net/~rpressler/loom/loom/sol1_part1.html]



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list