This idea is too obvious and I suppose I'm the only one not knowing it,
but I have never seen it's implementation. Why?
The idea:
1. `Object` class has hidden `isAlive` field which is true since
construction and up to finalization.
2. Every method asserts that the object is alive first.
3. The
On Friday, May 04, 2012 18:28:51 Denis Shelomovskij wrote:
> This idea is too obvious and I suppose I'm the only one not knowing it,
> but I have never seen it's implementation. Why?
>
> The idea:
> 1. `Object` class has hidden `isAlive` field which is true since
> construction and up to finalizat
On Fri, 04 May 2012 19:29:11 +0200, Jonathan M Davis
wrote:
On Friday, May 04, 2012 18:28:51 Denis Shelomovskij wrote:
This idea is too obvious and I suppose I'm the only one not knowing it,
but I have never seen it's implementation. Why?
The idea:
1. `Object` class has hidden `isAlive` fie
On May 4, 2012, at 7:28 AM, Denis Shelomovskij wrote:
> This idea is too obvious and I suppose I'm the only one not knowing it, but I
> have never seen it's implementation. Why?
>
> The idea:
> 1. `Object` class has hidden `isAlive` field which is true since construction
> and up to finalizatio
On Fri, 04 May 2012 14:50:06 -0400, Simen Kjaeraas
wrote:
I believe the idea was that it'd blow up if you use it unwisely. clear
might
do that, but if you're unlucky, it'll 'work' just fine, giving you
problems
later.
clear zeros out the vtable, so it's highly unlikely it "just works".
On Fri, 04 May 2012 21:07:20 +0200, Steven Schveighoffer
wrote:
On Fri, 04 May 2012 14:50:06 -0400, Simen Kjaeraas
wrote:
I believe the idea was that it'd blow up if you use it unwisely. clear
might
do that, but if you're unlucky, it'll 'work' just fine, giving you
problems
later.
On Sat, 05 May 2012 17:12:14 -0400, Simen Kjaeraas
wrote:
On Fri, 04 May 2012 21:07:20 +0200, Steven Schveighoffer
wrote:
On Fri, 04 May 2012 14:50:06 -0400, Simen Kjaeraas
wrote:
I believe the idea was that it'd blow up if you use it unwisely. clear
might
do that, but if you're un