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

Bela Ban (Jira) issues at jboss.org
Thu Jul 2 05:35:32 EDT 2020


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

Bela Ban updated JGRP-2478:
---------------------------
    Description: 
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]

  was:
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 pool

[1] [https://cr.openjdk.java.net/~rpressler/loom/loom/sol1_part1.html]



> 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