[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
possible garbage collector problem...
- To: <mark>
- Subject: possible garbage collector problem...
- From: Eric Dean Tribble <tribble>
- Date: Sun, 1 Oct 89 22:54:08 PDT
- Cc: <heh>, <xanatech>
- In-reply-to: <MarkS.Miller'smessageofSun>,43 PDT <8910020059.AA07720@xxxxxxxxxxxxxxxxxx>
What if both "g" and "h" were declared
as returning Strong pointers (not references to strong pointers)? My
reading of the language definition is that the foo and bar temporaries
generated as above would then be Strong pointers, and all would be
well. I'll try this out soon and let you know.
This was the solution I had in mind. I think it works, but it implies
that most return values are typed as strong pointers. What happens if
we cast a wimpy pointer into a strong pointer?
dean