8279643: JFR: Explain why path is sometimes missing from FileRead and FileWrite events

Reviewed-by: mgronlun
This commit is contained in:
Erik Gahlin 2022-01-10 18:58:16 +00:00
parent 0d190961f2
commit d7e6e9bd0b
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,7 +42,7 @@ public final class FileReadEvent extends AbstractJDKEvent {
// EventHandler::write(..., String, long, boolean) // EventHandler::write(..., String, long, boolean)
@Label("Path") @Label("Path")
@Description("Full path of the file") @Description("Full path of the file, or N/A if a file descriptor was used to create the stream, for example System.in")
public String path; public String path;
@Label("Bytes Read") @Label("Bytes Read")

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,7 +42,7 @@ public final class FileWriteEvent extends AbstractJDKEvent {
// EventHandler::write(..., String, long) // EventHandler::write(..., String, long)
@Label("Path") @Label("Path")
@Description("Full path of the file") @Description("Full path of the file, or N/A if a file descriptor was used to create the stream, for example System.out and System.err")
public String path; public String path;
@Label("Bytes Written") @Label("Bytes Written")