Displaying 19 results from an estimated 19 matches for "pr5184".
2009 Oct 28
7
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
In r85295, in response to the discussion at http://llvm.org/PR5184
(Lazy JIT ain't thread-safe), I changed the default JIT from lazy to
non-lazy. It has since come to my attention that this may have been
the wrong change, so I wanted to ask you guys.
A couple reasons to make the default non-lazy compilation:
* The lack of thread-safety surprises new users
* C...
2010 Jan 31
1
[LLVMdev] Redefining function
Hi Jeffrey,
> 2. It could compile C, and either replace B's machine code with a
> jump to C, or replace all calls to B with calls to C. Aside from not
> having the infrastructure to do this, it's not thread-safe:
> http://llvm.org/PR5184.
if all calls were via a handle (i.e. load the function pointer out of
some memory location then jump to it), then you could compile C,
atomically replace the pointer-to-B with the pointer-to-C in the memory
location, and later free B using some kind of user-space read-copy-update
type logic. Thi...
2009 Oct 28
0
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
On Oct 28, 2009, at 9:41 AM, Jeffrey Yasskin wrote:
> In r85295, in response to the discussion at http://llvm.org/PR5184
> (Lazy JIT ain't thread-safe), I changed the default JIT from lazy to
> non-lazy. It has since come to my attention that this may have been
> the wrong change, so I wanted to ask you guys.
>
> A couple reasons to make the default non-lazy compilation:
> * The lack of thread-s...
2009 Oct 28
2
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
On Wed, Oct 28, 2009 at 9:50 AM, Chris Lattner <clattner at apple.com> wrote:
>
> On Oct 28, 2009, at 9:41 AM, Jeffrey Yasskin wrote:
>
>> In r85295, in response to the discussion at http://llvm.org/PR5184
>> (Lazy JIT ain't thread-safe), I changed the default JIT from lazy to
>> non-lazy. It has since come to my attention that this may have been
>> the wrong change, so I wanted to ask you guys.
>>
>> A couple reasons to make the default non-lazy compilation:
>>...
2010 Jan 31
0
[LLVMdev] Redefining function
...ad is
still in A, its machine code gets freed, leaving you with a latent
crash.
2. It could compile C, and either replace B's machine code with a
jump to C, or replace all calls to B with calls to C. Aside from not
having the infrastructure to do this, it's not thread-safe:
http://llvm.org/PR5184.
3. ???
You'd have an extra option if machine code lifetimes weren't tied to
llvm::Function lifetimes, but I haven't spent the time to get that
working.
Since I didn't have a use for RAUW on a compiled function, I resisted
the temptation to guess at the right behavior and put in...
2009 Oct 28
0
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
...long
familiar with past behavior. In the OSS world, I always favor easing
adoption over maintaining the status quo.
My meager 2 cents.
-Chandler
On Wed, Oct 28, 2009 at 9:41 AM, Jeffrey Yasskin <jyasskin at google.com> wrote:
> In r85295, in response to the discussion at http://llvm.org/PR5184
> (Lazy JIT ain't thread-safe), I changed the default JIT from lazy to
> non-lazy. It has since come to my attention that this may have been
> the wrong change, so I wanted to ask you guys.
>
> A couple reasons to make the default non-lazy compilation:
> * The lack of thread-s...
2010 Jan 31
3
[LLVMdev] Redefining function
Albert Graef wrote:
> The way I do this in Pure is to always call global functions in an
> indirect fashion, using an internal global variable which holds the
> current function pointer. When a function definition gets updated, the
> Pure interpreter just jits the new function, changes the global variable
> accordingly, and frees the old code.
>
> Compared to Duncan's
2009 Oct 29
2
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
...>> just design a new JIT.
>
>>> My meager 2 cents.
>>> -Chandler
>>>
>>> On Wed, Oct 28, 2009 at 9:41 AM, Jeffrey Yasskin <jyasskin at google.com
>>> > wrote:
>>>> In r85295, in response to the discussion at http://llvm.org/PR5184
>>>> (Lazy JIT ain't thread-safe), I changed the default JIT from lazy
>>>> to
>>>> non-lazy. It has since come to my attention that this may have been
>>>> the wrong change, so I wanted to ask you guys.
>>>>
>>>> A coupl...
2009 Oct 23
0
[LLVMdev] Lazy JIT thread safety
http://llvm.org/PR5184 describes two problems with thread-safety in
the lazy JIT compiler, the first of which is quite hard to fix if we
can fix it at all. Could the people who currently use the lazy
compiler speak up either here or on the bug and say what they think
the path forward should be? I'm not volunteering t...
2009 Oct 28
0
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
...AM, Jeffrey Yasskin <jyasskin at google.com> wrote:
> On Wed, Oct 28, 2009 at 9:50 AM, Chris Lattner <clattner at apple.com> wrote:
>>
>> On Oct 28, 2009, at 9:41 AM, Jeffrey Yasskin wrote:
>>
>>> In r85295, in response to the discussion at http://llvm.org/PR5184
>>> (Lazy JIT ain't thread-safe), I changed the default JIT from lazy to
>>> non-lazy. It has since come to my attention that this may have been
>>> the wrong change, so I wanted to ask you guys.
>>>
>>> A couple reasons to make the default non-lazy...
2009 Oct 28
0
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
...rt using it in new and interesting ways, we should just design a new JIT.
>> My meager 2 cents.
>> -Chandler
>>
>> On Wed, Oct 28, 2009 at 9:41 AM, Jeffrey Yasskin <jyasskin at google.com> wrote:
>>> In r85295, in response to the discussion at http://llvm.org/PR5184
>>> (Lazy JIT ain't thread-safe), I changed the default JIT from lazy to
>>> non-lazy. It has since come to my attention that this may have been
>>> the wrong change, so I wanted to ask you guys.
>>>
>>> A couple reasons to make the default non-lazy...
2009 Oct 29
3
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
...cents.
>>>>> -Chandler
>>>>>
>>>>> On Wed, Oct 28, 2009 at 9:41 AM, Jeffrey Yasskin <jyasskin at google.com>
>>>>> wrote:
>>>>>>
>>>>>> In r85295, in response to the discussion at http://llvm.org/PR5184
>>>>>> (Lazy JIT ain't thread-safe), I changed the default JIT from lazy to
>>>>>> non-lazy. It has since come to my attention that this may have been
>>>>>> the wrong change, so I wanted to ask you guys.
>>>>>>
>>&g...
2009 Oct 28
5
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
...to start using it in new and interesting ways, we should just design a new JIT.
Evan
>
> My meager 2 cents.
> -Chandler
>
> On Wed, Oct 28, 2009 at 9:41 AM, Jeffrey Yasskin <jyasskin at google.com> wrote:
>> In r85295, in response to the discussion at http://llvm.org/PR5184
>> (Lazy JIT ain't thread-safe), I changed the default JIT from lazy to
>> non-lazy. It has since come to my attention that this may have been
>> the wrong change, so I wanted to ask you guys.
>>
>> A couple reasons to make the default non-lazy compilation:
>&g...
2009 Oct 29
0
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
...;>>> My meager 2 cents.
>>>> -Chandler
>>>>
>>>> On Wed, Oct 28, 2009 at 9:41 AM, Jeffrey Yasskin <jyasskin at google.com>
>>>> wrote:
>>>>>
>>>>> In r85295, in response to the discussion at http://llvm.org/PR5184
>>>>> (Lazy JIT ain't thread-safe), I changed the default JIT from lazy to
>>>>> non-lazy. It has since come to my attention that this may have been
>>>>> the wrong change, so I wanted to ask you guys.
>>>>>
>>>>> A coup...
2009 Oct 29
0
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
...;>> -Chandler
>>>>>>
>>>>>> On Wed, Oct 28, 2009 at 9:41 AM, Jeffrey Yasskin <jyasskin at google.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> In r85295, in response to the discussion at http://llvm.org/PR5184
>>>>>>> (Lazy JIT ain't thread-safe), I changed the default JIT from lazy to
>>>>>>> non-lazy. It has since come to my attention that this may have been
>>>>>>> the wrong change, so I wanted to ask you guys.
>>>>>>...
2009 Nov 01
1
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
...>>>>>>>
>>>>>>> On Wed, Oct 28, 2009 at 9:41 AM, Jeffrey Yasskin <jyasskin at google.com>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> In r85295, in response to the discussion at http://llvm.org/PR5184
>>>>>>>> (Lazy JIT ain't thread-safe), I changed the default JIT from lazy to
>>>>>>>> non-lazy. It has since come to my attention that this may have been
>>>>>>>> the wrong change, so I wanted to ask you guys.
>>>...
2010 Jan 31
2
[LLVMdev] Redefining function
...hine code gets freed, leaving you with a latent
> crash.
> 2. It could compile C, and either replace B's machine code with a
> jump to C, or replace all calls to B with calls to C. Aside from not
> having the infrastructure to do this, it's not thread-safe:
> http://llvm.org/PR5184.
> 3. ???
>
> You'd have an extra option if machine code lifetimes weren't tied to
> llvm::Function lifetimes, but I haven't spent the time to get that
> working.
>
> Since I didn't have a use for RAUW on a compiled function, I resisted
> the temptation to g...
2009 Oct 29
3
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
...;>>>>
>>>>>>> On Wed, Oct 28, 2009 at 9:41 AM, Jeffrey Yasskin <jyasskin at google.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> In r85295, in response to the discussion at http://llvm.org/PR5184
>>>>>>>> (Lazy JIT ain't thread-safe), I changed the default JIT from lazy to
>>>>>>>> non-lazy. It has since come to my attention that this may have been
>>>>>>>> the wrong change, so I wanted to ask you guys.
>>>...
2009 Oct 29
0
[LLVMdev] Should LLVM JIT default to lazy or non-lazy?
...at 9:41 AM, Jeffrey Yasskin
>>>>>>>> <jyasskin at google.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> In r85295, in response to the discussion at http://llvm.org/PR5184
>>>>>>>>> (Lazy JIT ain't thread-safe), I changed the default JIT from lazy
>>>>>>>>> to
>>>>>>>>> non-lazy. It has since come to my attention that this may have been
>>>>>>>>> the wrong...