JDK-8240360 : NativeLibraryEvent has wrong library name on Linux
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 11.0.7,15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-03-03
  • Updated: 2020-07-02
  • Resolved: 2020-04-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13 JDK 15
11.0.9Fixed 13.0.5Fixed 15 b18Fixed
Related Reports
Relates :  
Relates :  
Description
TestNativeLibrariesEvent failed in my Linux environment, here is a sample output of NativeLibraryEvent:
```
Event:jdk.NativeLibrary {
  startTime = 17:44:26.758
  name = "172153071"
  baseAddress = 0x00400000
  topAddress = 0x00401000
}


Event:jdk.NativeLibrary {
  startTime = 17:44:26.758
  name = "172153071"
  baseAddress = 0x00600000
  topAddress = 0x00601000
}


Event:jdk.NativeLibrary {
  startTime = 17:44:26.758
  name = "172153071"
  baseAddress = 0x00601000
  topAddress = 0x00602000
}


Event:jdk.NativeLibrary {
  startTime = 17:44:26.758
  name = "172153696"
  baseAddress = 0x7FFB00000
  topAddress = 0x7FFB50000
}
```

the name of NativeLibraryEvent is wrong.

Comments
Fix request (13u): I would like to backport this fix to 13u. The change applies cleanly.
02-07-2020

jdk11 backport request I would like to have the change in jdk11 as well, because the issue is present there too. The patch applies cleanly.
10-06-2020

Then we have to backport this to 11u.
26-05-2020

Yes, seems to be in conflict with JDK-8216559.
24-05-2020

Is this the fix for JDK-8235489?
23-05-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/1cb6845dcbf7 User: ysuenaga Date: 2020-04-07 12:19:10 +0000
07-04-2020