Re: problem with vargs method

2012-02-09 Thread Volker Simonis
Jim's example works on 7u2 for me as well. The cast is not without effect at all. It is crucial to have it! That is because of the so called "Signature polymorphism" of the 'invokeExact()' and plain 'invoke()' methods (read the API documentation for more details: http://docs.oracle.com/javase/7/d

arrayLength argument of MethodHandle.asCollector() and failing JCK test 'asCollectorIAE01'

2013-03-26 Thread Volker Simonis
Hi, while running JCK test for our PPC port I realized that the test 'asCollectorIAE01' which checks valid and invalid 'arrayLength' arguments to MethodHandle.asCollector() fails for the current 7u/jdk and jdk8/jdk sources. Further investigations revealed that the failure is due to the change "719

Re: arrayLength argument of MethodHandle.asCollector() and failing JCK test 'asCollectorIAE01'

2013-04-03 Thread Volker Simonis
Hi John, Christian, could you please have a quick look at this problem. Because of it is currently not possible to pass a Java 7 certification for a hsx24/hsx25 based VM. Thank you and best regards, Volker On Tue, Mar 26, 2013 at 1:15 PM, Volker Simonis wrote: > Hi, > > while running

Re: JDK7u, hotspot, CC_INTERP, and COBOL

2013-09-30 Thread Volker Simonis
Just for reference: we have a running CPP-Interpreter on Linux/PPC64 with some enhancements like profiling, compressed oops, OSR, JSR292 and Biased Locking. So in the case you want to fix it on x86, you may take the PPC64 implementation as a boiler plate: http://hg.openjdk.java.net/ppc-aix-port/jd

Re: JDK7u, hotspot, CC_INTERP, and COBOL

2013-10-07 Thread Volker Simonis
and it seems to work fine also > #ifdef ASSERT > if (istate->_msg != initialize) { > assert(abs(istate->_stack_base - istate->_stack_limit) == > (istate->_method->verifier_max_stack() + 1), "bad stack limit"); > #ifndef SHARK > IA32_ONLY(assert(

Re: JDK7u, hotspot, CC_INTERP, and COBOL

2013-10-08 Thread Volker Simonis
est for testing the > invokedynamic, could you provide me a test you are considering as a test > that the interpreter is running fine? > > > Francis > > > Francis > Le 07/10/2013 10:59, Volker Simonis a écrit : > > What are your settings for 'Enabl

What's the status of / relation between "JEP 169: Value Objects" / "Value Types for Java" / "Object Layout"

2015-01-28 Thread Volker Simonis
Hi everybody, I've recently did some research on Java "value objects" / "value types" / "object layout" (I'll be actually giving a short talk on the topic at FOSDEM[0] this weekend). I just want to quickly summarize my current findings here and gently ask for feedback in case you think I've totall

Re: What's the status of / relation between "JEP 169: Value Objects" / "Value Types for Java" / "Object Layout"

2015-01-29 Thread Volker Simonis
Hi Daniel, thanks a lot for sharing your point of view. I haven't been aware of the fact that Project Panama is also working on similar topics (I always thought it is only about the Foreign Function Interface and the next generation JNI). In [1,2] John Rose nicely explains that new data layouts i

Re: What's the status of / relation between "JEP 169: Value Objects" / "Value Types for Java" / "Object Layout"

2015-02-02 Thread Volker Simonis
Hi Brian, thanks a lot for your detailed answer and apologies for the late reply (I was a little distracted by FOSDEM :) All your comments have been clear and reasonable and are much appreciated. Please find my additional answers inline: On Thu, Jan 29, 2015 at 6:05 PM, Brian Goetz wrote: >> Qu

Re: What's the status of / relation between "JEP 169: Value Objects" / "Value Types for Java" / "Object Layout"

2015-02-03 Thread Volker Simonis
would have to opt-in or as the default layout for all objects in a heap? It > seems like this should be the default (assuming zero to minimal overhead for > loading the references) as I think wanting "out of line" allocations is more > rare. > > Thanks > > On Mon, Feb

Re: What's the status of / relation between "JEP 169: Value Objects" / "Value Types for Java" / "Object Layout"

2015-02-03 Thread Volker Simonis
one would want inlined storage layout. > > Thanks > > > On Tue, Feb 3, 2015 at 11:29 AM, Volker Simonis > wrote: > >> Hi Vitaly, >> >> for PackedObjects/ObjectLayout you need to specially annotate the >> classes and/or fields which you want to allocate &quo

Re: FYI: LambdaForm-based java.lang.invoke implementation overview

2015-02-23 Thread Volker Simonis
Hi Vladimir, great slides - thanks! Will you be at JPoint in Moscow? Regards, Volker On Sat, Feb 21, 2015 at 8:05 PM, Vladimir Ivanov wrote: > Hi, > > I gave a talk about LambdaForm-based implementation of java.lang.invoke API > in OpenJDK for VM fellows last week and want to share the materi

Re: NoClassDefFoundError using LMF against a generated class's handle

2018-06-30 Thread Volker Simonis
Hi Charlie, not sure if it helps, but incidentally I currently have a change under review [1] which chains the initial cause into NoClassDefFoundErrors. If it helps you to track down the problem please feel free to mention that on the review thread :) Regards, Volker Charles Oliver Nutter schr