Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1651

High CPU usage Java 11 and SSL WebSockets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 2.2.8.Final
    • 2.0.20.Final, 2.0.29.Final
    • Core, SSL
    • None

      I have a Game Server made using Undertow WebSockets, which worked fine with Java 9, and is giving me problem with Java 11 (openjdk), on Centos 8.

      I profiled the server using JProfiler and the problematic method is different in 2.0.20.Final and in 2.0.29.Final, I'll attach screenshots of both.

      In 2.0.20 it's SSLEngineImpl.wrap()
      In 2.0.29 it's WebSocketChannel.lastDataRead()

      EDIT: See first comment.

              rhn-cservice-bbaranow Bartosz Baranowski
              federicojm Federico Mouse (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: