He-Pin commented on code in PR #2176:
URL: https://github.com/apache/pekko/pull/2176#discussion_r2328765556
##########
actor/src/main/scala/org/apache/pekko/dispatch/VirtualThreadSupport.scala:
##########
@@ -67,7 +68,7 @@ private[dispatch] object VirtualThreadSupport {
MethodType.methodType(ofVirtualClass, classOf[String], classOf[Long]))
// TODO support replace scheduler when we drop Java 8 support
val factoryMethod = lookup.findVirtual(builderClass, "factory",
MethodType.methodType(classOf[ThreadFactory]))
- builder = nameMethod.invoke(builder, prefix + "-virtual-thread-", 0L)
+ builder = nameMethod.invoke(builder, prefix + "-virtual-thread-", zero)
Review Comment:
Actually, I was wondering should we have a thread I'd for virtual thread....
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]