How do you sister joists?
AFAIK, you don't even need the glue, though I'd probably use it myself.

8d might be a hair short. 10d driven at a slight angle (to avoid stickout with whatever size they shaved 2" lumber down to in the latest revision, 1-1/2" is so late 20th century...) might be better, especially if the old joists are from a thicker time in the history of 2" lumber.