Re: openjdk9 on Freebsd

2016-03-19 Thread Brian Gardner
Is anyone else interested in getting these changes into the jdk9 mainstream? It’s been over a month without a response. > On Feb 15, 2016, at 6:13 PM, Brian Gardner wrote: > > Hello, > I’ve been working on getting jdk9 to build cleanly and compile and run > HelloWorld cleanly on Freebsd. Th

Re: openjdk9 on Freebsd

2016-03-19 Thread Brian Gardner
That explains the destructor. Looking at the initial change set that came out of this bug, we also see the first spot where we set the TLS current thread is set to NULL http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/469835cd5494

Re: openjdk9 on Freebsd

2016-03-19 Thread David Holmes
Thomas writes: Hi Brian, The next patches where less straightforward. When running java I was getting a ton of messages like: Thread 832744400 has exited with leftover thread-specific data after 4 destructor iterations After doing a lot of digging and debugging on Linux, I found the code path

Re: openjdk9 on Freebsd

2016-03-19 Thread Thomas Stüfe
Hi Brian, > The next patches where less straightforward. When running java I was > getting a ton of messages like: > Thread 832744400 has exited with leftover thread-specific data after 4 > destructor iterations > After doing a lot of digging and debugging on Linux, I found the code path > for L

Re: openjdk9 on Freebsd

2016-03-19 Thread Brian Gardner
Yes, I was referring to the call to ThreadLocalStorage::set_thread(NULL). The problem I'm trying to resolve are the pthread destructors being called repeadly. On linux this isn’t a problem because the destructor is called 4 times then silently gives up. On FreeBSD the destructor is called 4 ti