Fwd: I can't build in MacOS

Altan Özlü sevendrofleneux at icloud.com
Thu Apr 18 19:52:15 UTC 2019


I’ve fixed mysql problem and it works fine now.
So here is a problem in mongodb driver and i believe it’s something you guys can do.
Fiber at 5f57e800[ForkJoinPool-1-worker-3,CarrierThreads]
    java.base/java.lang.Fiber$1.onPinned(Fiber.java:191)
    java.base/java.lang.Continuation.onPinned0(Continuation.java:489)
    java.base/java.lang.Continuation.yield0(Continuation.java:457)
    java.base/java.lang.Continuation.yield(Continuation.java:417)
    java.base/java.lang.Fiber.maybePark(Fiber.java:631)
    java.base/java.lang.Fiber.parkNanos(Fiber.java:591)
    java.base/java.lang.System$2.parkFiber(System.java:2310)
    java.base/jdk.internal.misc.Strands.parkFiber(Strands.java:61)
    java.base/sun.nio.ch.SelChImpl.park(SelChImpl.java:97)
    java.base/sun.nio.ch.SocketChannelImpl.pollConnected(SocketChannelImpl.java:1089)
    java.base/sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:120) <== monitors:1
    com.mongodb.internal.connection.SocketStreamHelper.initialize(SocketStreamHelper.java:64)
    com.mongodb.internal.connection.SocketChannelStream.initializeSocketChannel(SocketChannelStream.java:72)
    com.mongodb.internal.connection.SocketChannelStream.open(SocketChannelStream.java:60)
    com.mongodb.internal.connection.InternalStreamConnection.open(InternalStreamConnection.java:126)
    com.mongodb.internal.connection.UsageTrackingInternalConnection.open(UsageTrackingInternalConnection.java:50)
    com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.open(DefaultConnectionPool.java:390)
    com.mongodb.internal.connection.DefaultConnectionPool.get(DefaultConnectionPool.java:106)
    com.mongodb.internal.connection.DefaultConnectionPool.get(DefaultConnectionPool.java:92)
    com.mongodb.internal.connection.DefaultServer.getConnection(DefaultServer.java:85)
    com.mongodb.binding.ClusterBinding$ClusterBindingConnectionSource.getConnection(ClusterBinding.java:115)
    com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:460)
    com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:406)
    com.mongodb.operation.FindOperation.execute(FindOperation.java:696)
    com.mongodb.operation.FindOperation.execute(FindOperation.java:83)
    com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:179)
    com.mongodb.client.internal.FindIterableImpl.first(FindIterableImpl.java:199)
    net.redboxgames.ecev.NettyHttpServer.lambda$start$0(NettyHttpServer.java:97)
    java.base/java.lang.Fiber.lambda$new$0(Fiber.java:177)
    java.base/java.lang.Continuation.enter0(Continuation.java:392)
    java.base/java.lang.Continuation.enter(Continuation.java:379)

> İleti başlangıcı:
> 
> Kimden: Alan Bateman <Alan.Bateman at oracle.com>
> Konu: Ynt: Fwd: I can't build in MacOS
> Tarih: 17 Nisan 2019 23:29:28 GMT+3
> Kime: Altan Özlü <sevendrofleneux at icloud.com>, loom-dev at openjdk.java.net
> 
> On 17/04/2019 16:39, Altan Özlü wrote:
>> Yea it doesn’t work if it’s in another thread both jdbc and pool example fails. I may need to change jdbc library from maria to mysql-connector-j.
>> 
> If I understand you correctly, you are saying that the connection pool doesn't work with regular threads either. Maybe it uses a thread local that ties it to the thread that created the connection??
> 
> Did you do any experiments that didn't use the connection pool? I'm curious if you managed to get hundreds of fibers chatting to the database. I'm also curious if you re-enabled SSL as that was changed in JDK 13 to use explicit locks so it should play well with fibers too.
> 
> -Alan



More information about the loom-dev mailing list