Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What happens to objects lost in "unreachable" memory..... ?
What happens to objects lost in "unreachable" memory..... ?
✍: Guest
What happens to objects lost in "unreachable" memory,
such as the object returned by Ob->new() in
`{ my $ap; $ap = [ Ob->new(), \$ap ]; }' ?
Their destructors are called when that interpreter thread
shuts down.
When the interpreter exits, it first does an exhaustive
search looking for anything that it allocated. This allows
Perl to be used in embedded and multithreaded applications
safely, and furthermore guarantees correctness of object
code.
2013-09-20, 3063👍, 0💬
Popular Posts:
.NET INTERVIEW QUESTIONS - How can you avoid deadlock in threading? A good and careful planning can ...
How To Delete a User Account? - Oracle DBA FAQ - Managing Oracle User Accounts, Schema and Privilege...
What print out will the folloging code produce? main() { char *p1=“name”; char *p2; p2=(char*)malloc...
How does one iterate through items and records in a specified block? One can use NEXT_FIELD to itera...
What are unadjusted function points and how is it calculated? Unadjusted function points = ILF + EIF...