- 385K All Categories
- 2.6K Data
- 593 Big Data Appliance
- 2K Data Science
- 452.1K Databases
- 222.4K General Database Discussions
- 32 Multilingual Engine
- 575 MySQL Community Space
- 479 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.1K ORDS, SODA & JSON in the Database
- 575 SQLcl
- 4K SQL Developer Data Modeler
- 187.7K SQL & PL/SQL
- 21.5K SQL Developer
- 12 Data Integration
- 12 GoldenGate
- 297.7K Development
- 3 Application Development
- 18 Developer Projects
- 140 Programming Languages
- 294.3K Development Tools
- 118 DevOps
- 3.1K QA/Testing
- 646.4K Java
- 30 Java Learning Subscription
- 37K Database Connectivity
- 185 Java Community Process
- 107 Java 25
- 22.2K Java APIs
- 138.3K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 21 Java Essentials
- 172 Java 8 Questions
- 86K Java Programming
- 82 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 206 Java User Groups
- 583 LiveLabs
- 41 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.6K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 191 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 240 Portuguese
JMC 7.1 not recognizing socket write events.
I am a great fan of the JMC tool having used it for a few years.
I switched to using JMC7.1 recently in combination with JDK11.
Using JFR a profile was captured for a Tomcat Http server. HTTPS requests are being processed. Requests are generated using a load driver. The client driver asserts the response contains expected text. So I'm sure the HTTP server is processing requests correctly.
I have noticed with an opened JFR profile after selecting the "Socket I/O" Outline View I am present with a page that should display reads and writes.
Reads I can see.
The issue is Socket Writes are missing completely.
When I look at the "Event Browser" > "Java Application" > "Socket Write" statistics the value is 0. Whereas for "Socket Read" I have 59.
The profile configuration file when using JFR is the bundled "profile.jfc" with JDK11. Here is an excerpt of the configuration file
<event name="jdk.SocketWrite"> <setting name="enabled">true</setting> <setting name="stackTrace">true</setting> <setting name="threshold" control="socket-io-threshold">10 ms</setting> </event>
I looked at the bugs database for JMC project and did not find a reported issue.
Details of my platform are:
$ uname -aLinux f30lite 5.4.12-100.fc30.x86_64 #1 SMP Wed Jan 15 00:38:53 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux$
OpenJDK version used to capture the JFR profile
$ java -versionopenjdk version "11.0.5" 2019-10-15OpenJDK Runtime Environment 18.9 (build 11.0.5+10)OpenJDK 64-Bit Server VM 18.9 (build 11.0.5+10, mixed mode, sharing)$
JDK Mission Control 7.1.0+fedora(Qualifier: 202003132059, Change id: 9c1257c91ebf)22.214.171.124003132059
Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
Is there anything I should check in my configuration or JVM ?