Descriptionruntime: adjust traceback / garbage collector boundary
The garbage collection routine addframeroots is duplicating
logic in the traceback routine that calls it, sometimes correctly,
sometimes incorrectly, sometimes incompletely.
Pass necessary information to addframeroots instead of
deriving it anew.
Should make addframeroots significantly more robust.
It's certainly smaller.
Also try to standardize on uintptr for saved pc, sp values.
Will make CL 10036044 trivial.
Patch Set 1 #Patch Set 2 : diff -r a14bbc9436a3 https://code.google.com/p/go/ #Patch Set 3 : diff -r 0648763efe60 https://code.google.com/p/go #Patch Set 4 : diff -r 8f6f14dfd222 https://code.google.com/p/go/ #
Total comments: 2
Patch Set 5 : diff -r ee3004c9d384 https://code.google.com/p/go/ #
Total comments: 5
Patch Set 6 : diff -r ebb4e1526a40 https://code.google.com/p/go/ #
Total comments: 2
MessagesTotal messages: 11
|