Open Bug 1760716 Opened 2 years ago Updated 2 years ago

ThreadGroup.enumerate unexpectedly doesn't return the main thread during test_feature_java.js test

Categories

(Core :: Gecko Profiler, defect, P3)

defect

Tracking

()

People

(Reporter: mcomella, Unassigned)

References

(Blocks 1 open bug)

Details

In bug 1618560 comment 7 and later, I debugged an issue where in our code to profile multiple JVM threads, ThreadGroup.enumerate doesn't include the main thread during the test_feature_java.js test when run in automation. I was unable to reproduce locally on both physical and virtual devices (x86_64 on Android 7.0, same as test harness). I landed a workaround that fixes the test and code but may still be covering a bug either in the production code (where we don't see all available threads) or the test harness (where it's configured differently from how users experience the app). This bug is to document this issue and perhaps one day investigate.

Severity: -- → S4
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.