grafana / jfr-parser

Java Flight Recorder parser library written in Go.
Apache License 2.0
43 stars 16 forks source link

Read Ref IDs as uint64 #43

Closed sivachandran closed 1 month ago

sivachandran commented 1 month ago

Fixes overflow error in parsing Ref IDs

sivachandran commented 1 month ago

Can you tag a release? I need the fix in my usage.

korniltsev commented 1 month ago

May I ask why can't you go get jfr-parser@a8d22a1 ?

korniltsev commented 1 month ago

or it doe snot work?

sivachandran commented 1 month ago

it works only if i do

go get github.com/grafana/jfr-parser@a8d22a1
go get github.com/grafana/jfr-parser/pprof@a8d22a1

in this case there is no change under pprof. otherwise without the second go get i won't get changes under pprof.

is there a reason to have nested package?

korniltsev commented 1 month ago

is there a reason to have nested package?

The first one is for parsing, and the other is for pprof producing. They have slightly different dependencies. Furthermore the latter one has a little bit of pyroscope specifics.

sivachandran commented 1 month ago

The first one is for parsing, and the other is for pprof producing. They have slightly different dependencies. Furthermore the latter one has a little bit of pyroscope specifics. I understand.

But considering the fact pprof depends on jfr-parser/parser and can't be used independently why don't we keep everything under single package. It would make the dependency management and releasing simpler.

korniltsev commented 1 month ago

Cause there may be users who dont need pprof

sivachandran commented 1 month ago

Hmm... make sense. Thanks for explaining!