83 |
|
/* |
84 |
|
* Overview: |
85 |
|
* |
86 |
< |
* 1. Non-nullness of field result (set via CAS) indicates |
87 |
< |
* done. An AltResult is used to box null as a result, as well as |
88 |
< |
* to hold exceptions. Using a single field makes completion fast |
86 |
> |
* 1. Non-nullness of field result (set via CAS) indicates done. |
87 |
> |
* An AltResult is used to box null as a result, as well as to |
88 |
> |
* hold exceptions. Using a single field makes completion fast |
89 |
|
* and simple to detect and trigger, at the expense of a lot of |
90 |
|
* encoding and decoding that infiltrates many methods. One minor |
91 |
|
* simplification relies on the (static) NIL (to box null results) |