Skip to content

Commit

Permalink
fix: correct field name in parse ObjectAllocation event. (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
zdyj3170101136 authored Aug 5, 2023
1 parent db7cbf3 commit 222d698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parser/event_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ func (oa *ObjectAllocationInNewTLAB) parseField(name string, p ParseResolvable)
switch name {
case "startTime":
oa.StartTime, err = toLong(p)
case "sampledThread":
case "eventThread":
oa.EventThread, err = toThread(p)
case "stackTrace":
oa.StackTrace, err = toStackTrace(p)
Expand Down Expand Up @@ -1194,7 +1194,7 @@ func (oa *ObjectAllocationOutsideTLAB) parseField(name string, p ParseResolvable
switch name {
case "startTime":
oa.StartTime, err = toLong(p)
case "sampledThread":
case "eventThread":
oa.EventThread, err = toThread(p)
case "stackTrace":
oa.StackTrace, err = toStackTrace(p)
Expand Down

0 comments on commit 222d698

Please sign in to comment.