One assumes he has one or two more seasons in him, but I could see him calling it this year too, despite being a productive player.
If he did manage to play 5 or 6 more years, he would have the most outside of outside chances to break Gretzky's 894 career goal mark. Assuming 25 goals per year (roughly his pace this year), he would need 6 or so seasons to break the mark. As unlikely as that is, you could make a decent case that Jagr has a better chance of breaking that record than anyone currently in the league. His longevity is almost unparalleled, and he got to play in eras when more goals were scored than is the case today. The kids in today's game almost certainly won't have his longevity and play in an era more defined by goalie dominance and defensive schemes than by goal scoring prowess.