-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Describe the issue
When exporting the analysis call tree in CSV files, the report file call_tree_virtual_methods*.csv_ misses the last column header "Flags".
Steps to reproduce the issue
- native-image HelloWorld -H:+PrintAnalysisCallTree -H:PrintAnalysisCallTreeType=CSV
- Look at "call_tree_virtual_methods_helloworld_[date]_[time].csv"
Excerpt from the file "call_tree_virtual_methods_helloworld_[date]_[time].csv":
Id,Name,Type,Parameters,Return,Display
13155,parse,sun.nio.cs.Surrogate$Parser,char java.nio.CharBuffer,int,s.n.c.SP.parse,p
The first line is missing ",Flags"
Code location
The issue is caused by CallTreePrinter.printVirtualNodes(...)
Line 464 in 4e63029
| writer.println(convertToCSV("Id", "Name", "Type", "Parameters", "Return", "Display")); |
which in contrast to
CallTreePrinter.printMethodNodes(...)Line 403 in 4e63029
| writer.println(convertToCSV("Id", "Name", "Type", "Parameters", "Return", "Display", "Flags")); |
does not have the Flags header column.
zakkak