build error in lambda repo

Mike Duigou mike.duigou at oracle.com
Wed Aug 29 10:44:48 PDT 2012


We're working on syncing the lambda repo to latest jdk8 mainline but there have been some issues in <speculation>interactions between the new 292 work and the lambda extensions</speculation>. Those issues will hopefully soon be resolved. In the meantime I have imported the http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/5e2dc722e70d changeset into the lambda/hotspot repo which should resolve build issues. If there are other single changesets we can cherry-pick from jdk8 mainline to fix specific issues I am happy to try.

Mike

On Aug 29 2012, at 03:59 , David Holmes wrote:

> Fixed in JDK 8-b51, hs24-b19
> 
> David
> 
> On 29/08/2012 8:49 PM, Peter Levart wrote:
>> ----------  Forwarded Message  ----------
>> 
>> Subject: Re: build error in lambda repo
>> Date: Wednesday, August 29, 2012, 07:47:36 PM
>> From: David Holmes<david.holmes at oracle.com>
>> To: Peter Levart<peter.levart at marand.si>
>> CC: hotspot-runtime-dev at openjdk.java.net
>> 
>> Hi Peter,
>> 
>> I'm pretty sure this has already been fixed in the hsx&  jdk8 forests.
>> 
>> Thanks,
>> david
>> 
>> On 29/08/2012 6:35 PM, Peter Levart wrote:
>>> Hello,
>>> 
>>> I had to make the following changes to 2 hotspot source files (suggested by the gcc messages) in order to build the latest lambda enabled JDK:
>>> 
>>> 
>>> diff -r ad87adf32248 src/share/vm/utilities/hashtable.cpp
>>> --- a/src/share/vm/utilities/hashtable.cpp      Wed Aug 08 15:11:28 2012 -0400
>>> +++ b/src/share/vm/utilities/hashtable.cpp      Wed Aug 29 10:26:11 2012 +0200
>>> @@ -135,7 +135,7 @@
>>>         // walking the hashtable past these entries requires
>>>         // BasicHashtableEntry::make_ptr() call.
>>>         bool keep_shared = p->is_shared();
>>> -      unlink_entry(p);
>>> +      this->unlink_entry(p);
>>>         new_table->add_entry(index, p);
>>>         if (keep_shared) {
>>>           p->set_shared();
>>> diff -r ad87adf32248 src/share/vm/utilities/hashtable.hpp
>>> --- a/src/share/vm/utilities/hashtable.hpp      Wed Aug 08 15:11:28 2012 -0400
>>> +++ b/src/share/vm/utilities/hashtable.hpp      Wed Aug 29 10:26:11 2012 +0200
>>> @@ -260,7 +260,7 @@
>>>     }
>>> 
>>>     int index_for(Symbol* name) {
>>> -    return hash_to_index(compute_hash(name));
>>> +    return this->hash_to_index(compute_hash(name));
>>>     }
>>> 
>>>     // Table entry management
>>> 
>>> 
>>> I'm using g++ (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5) on Fedora 17.
>>> 
>>> Regards, Peter
>>> 
>> -----------------------------------------
> 



More information about the lambda-dev mailing list