[
https://issues.apache.org/jira/browse/BEAM-14144?focusedWorklogId=745883&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-745883
]
ASF GitHub Bot logged work on BEAM-14144:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 22/Mar/22 15:31
Start Date: 22/Mar/22 15:31
Worklog Time Spent: 10m
Work Description: steveniemitz commented on pull request #17151:
URL: https://github.com/apache/beam/pull/17151#issuecomment-1075328798
I can't for the life of me figure out why these builds are failing? I can
run them fine locally, and they don't even really make sense.
For example:
```
11:27:25
/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Examples_Dataflow_Commit/src/runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/util/JfrInterop.java:57:
error: [assignment.type.incompatible] incompatible types in assignment.
11:27:25 jfrConfig = configClass.getMethod("getConfiguration",
String.class).invoke(null, "profile");
11:27:25
^
11:27:25 found : @Initialized @Nullable Object
11:27:25 required: @Initialized @NonNull Object
```
Passing in `null` to invoke is perfectly valid for static methods.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 745883)
Time Spent: 20m (was: 10m)
> Record JFR profiles when GC thrashing is detected
> -------------------------------------------------
>
> Key: BEAM-14144
> URL: https://issues.apache.org/jira/browse/BEAM-14144
> Project: Beam
> Issue Type: Improvement
> Components: runner-dataflow
> Reporter: Steve Niemitz
> Assignee: Steve Niemitz
> Priority: P2
> Time Spent: 20m
> Remaining Estimate: 0h
>
> It'd be useful for debugging GC issues in jobs to have allocation profiles
> when it was occurring. In java 9+, JFR is included in the JDK, we could use
> that to record profiles when GC thrashing is detected.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)