RFR: 8208676: Consistent crash when getting event on NetworkPerformanceInterface::NetworkPerformance::network_utilization

Robin Westberg robin.westberg at oracle.com
Tue Aug 7 07:04:36 UTC 2018


Hi Markus,

Thanks for reviewing!

When reading the getifaddrs documentation I noticed another mistake which I think would be nice to fix at the same time (missing call to freeifaddrs).

New webrev: http://cr.openjdk.java.net/~rwestberg/8208676/webrev.01/ <http://cr.openjdk.java.net/~rwestberg/8208676/webrev.01/>
Testing: jdk.jfr.event.runtime.* on linux-x64, linux-x64-debug, solaris-sparcv9, solaris-sparcv9-debug

Best regards,
Robin

> On 7 Aug 2018, at 02:00, Markus Gronlund <markus.gronlund at oracle.com> wrote:
> 
> Hi Robin,
> 
> Looks good, thanks for locating and fixing this so quickly.
> 
> Markus
> 
> -----Original Message-----
> From: Robin Westberg 
> Sent: den 6 augusti 2018 16:05
> To: hotspot-jfr-dev at openjdk.java.net
> Subject: RFR: 8208676: Consistent crash when getting event on NetworkPerformanceInterface::NetworkPerformance::network_utilization
> 
> Hi all,
> 
> Please review the following fix for this network utilization related crash that occurs when the system has a network interface without any address configured (linux specific).
> 
> Issue: https://bugs.openjdk.java.net/browse/JDK-8208676 <https://bugs.openjdk.java.net/browse/JDK-8208676>
> Webrev: http://cr.openjdk.java.net/~rwestberg/8208676/webrev.00/ <http://cr.openjdk.java.net/~rwestberg/8208676/webrev.00/>
> Testing: jdk.jfr.event.runtime.* on linux-x64, linux-x64-debug
> 
> Best regards,
> Robin



More information about the hotspot-jfr-dev mailing list