RFR: 8154715: Missing destructor and/or TLS clearing calls for terminating threads

Coleen Phillimore coleen.phillimore at oracle.com
Wed May 11 21:10:05 UTC 2016



On 5/11/16 5:05 PM, David M. Lloyd wrote:
> On 05/11/2016 04:00 PM, David Holmes wrote:
>> Hi Coleen,
>>
>> On 11/05/2016 9:39 PM, Coleen Phillimore wrote:
>>>
>>> Hi David,
>>> I am not a reviewer because I haven't read the whole thread and you 
>>> have
>>> enough reviewers, but is thread_native_entry duplicated on all the xnix
>>> platforms?  Could this be a future cleanup?
>>
>> It is not exactly duplicated, but of course shares a great deal of
>> commonality. The differences, if really needed, could be factored out. I
>> would lump it in with the "great OS Posix refactoring" that never quite

I looked at the os_<unix-like-platform> code and while there's 
commonality, there wasn't enough to lump it in one big task together.  
And that's the kind of thing that will never get done. Kim has filed 
some separate RFEs for duplication found, and I think we should do it 
piecemeal.  It used to be that the whole os_unix files were duplicated 
but that's not the case anymore.  There should be an RFE for this 
specific item to consolidate.

Coleen

>> seems to happen (and the Solaris thr_* to pthread_* conversion that
>> slowly happens).
>
> It'll all be done just in time to start moving to C/C++11 threads.
>



More information about the hotspot-dev mailing list