New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to run GLU on IBM's JDK. #133

Closed
lbruand opened this Issue Mar 10, 2012 · 9 comments

Comments

Projects
None yet
2 participants
@lbruand
Contributor

lbruand commented Mar 10, 2012

Hello,

First of all, thanks for opensourcing GLU. This is great software!!!
I would like to start working specifically on removing the requirement to run GLU on Oracle's JDK exclusively (as noted #74 ) and allow using IBM's jdk.
I post this issue so people know. I will try publish a patch when I have something decent.

Cheers,
Lucas Bruand

@ypujante

This comment has been minimized.

Member

ypujante commented Mar 10, 2012

Hi Lucas

Thank you for posting this update and good luck. To be honest with you it may just work with IBM's jdk. glu has been developed and heavily tested with Oracle JVM and it has been proven to not work with OpenJDK. So it was just easier to say that it works only with Oracle JDK. I hope you can simply make it work with IBM's :)

Thanks
Yan

@lbruand

This comment has been minimized.

Contributor

lbruand commented Mar 10, 2012

First issue :
Agent-jvm not started because -Xloggc: parameter is not supported by IBM's jdk...

lbruand added a commit to lbruand/glu that referenced this issue Mar 15, 2012

@lbruand

This comment has been minimized.

Contributor

lbruand commented Mar 15, 2012

Exception in thread "main" org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '[null, null]' with class 'java.util.ArrayList' to class 'java.lang.Number'
at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToNumber(DefaultTypeTransformation.java:139)
at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToNumber(DefaultTypeTransformation.java:121)
at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.intUnbox(DefaultTypeTransformation.java:60)
at groovy.util.ClosureComparator.compare(ClosureComparator.java:38)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.min(DefaultGroovyMethods.java:2865)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.min(DefaultGroovyMethods.java:2920)
at org.codehaus.groovy.runtime.dgm$393.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:270)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
at org.linkedin.groovy.util.state.StateMachineImpl.computeDepth(StateMachineImpl.groovy:86)
at org.linkedin.groovy.util.state.StateMachineImpl.this$2$computeDepth(StateMachineImpl.groovy)

@lbruand

This comment has been minimized.

Contributor

lbruand commented Mar 26, 2012

This bug can solved using : linkedin/linkedin-utils#7

ypujante added a commit that referenced this issue Mar 31, 2012

@ypujante

This comment has been minimized.

Member

ypujante commented Mar 31, 2012

fixed in 4.3.1 (including master_conf)

@lbruand

This comment has been minimized.

Contributor

lbruand commented Apr 1, 2012

Thanks Yan !

@lbruand

This comment has been minimized.

Contributor

lbruand commented Jul 14, 2012

Hi Yan,

Just dropping a few lines to say we have successfully ported GLU to AIX/IBM JDK.

Thanks,
Lucas

@ypujante

This comment has been minimized.

Member

ypujante commented Jul 14, 2012

That is really cool. Can you share the changes?

@lbruand

This comment has been minimized.

Contributor

lbruand commented Jul 15, 2012

This issue, also a recompilation of SIGAR, that's it ! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment