Re: [External] : Re: Why do we need .ref class for primtive class ?

2022-01-06 Thread Brian Goetz
*Sent: *Thursday, January 6, 2022 9:12:21 PM *Subject: *Re: Why do we need .ref class for primtive class ? Because the Q is what permits the tearing. On 1/6/2022 1:50 PM, Remi Forax wrote: It just occurs to me that while ACC_VALUE is a bit that change the runtime seman

Re: Why do we need .ref class for primtive class ?

2022-01-06 Thread forax
; , "valhalla-spec-experts" > > Sent: Thursday, January 6, 2022 9:12:21 PM > Subject: Re: Why do we need .ref class for primtive class ? > Because the Q is what permits the tearing. > On 1/6/2022 1:50 PM, Remi Forax wrote: >> It just occurs to me that while ACC_VALUE is

Re: Why do we need .ref class for primtive class ?

2022-01-06 Thread Brian Goetz
Because the Q is what permits the tearing. On 1/6/2022 1:50 PM, Remi Forax wrote: It just occurs to me that while ACC_VALUE is a bit that change the runtime semantics, something the VM should take care of, ACC_PRIMITIVE is not a bit that change the runtime semantics, only the javac translation

Re: Why do we need .ref class for primtive class ?

2022-01-06 Thread Remi Forax
- Original Message - > From: "Remi Forax" > To: "valhalla-spec-experts" > Sent: Thursday, January 6, 2022 7:50:54 PM > Subject: Why do we need .ref class for primtive class ? > It just occurs to me that while ACC_VALUE is a bit that change the runt

Why do we need .ref class for primtive class ?

2022-01-06 Thread Remi Forax
It just occurs to me that while ACC_VALUE is a bit that change the runtime semantics, something the VM should take care of, ACC_PRIMITIVE is not a bit that change the runtime semantics, only the javac translation strategy, javac emits Q-types instead of L-type + the Preload attribute. If value