You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been facing this problem since I started off with jruby. I used the bundled jdk which ships with redhat. On my development machine, Fedora, server and everything loads normally. But on production redhat machine, the bootup time for server is forever.
I thought that using openjdk might be the issue so I started using oracle jdk
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
But now I am seeing the error libjffi-1.2.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
and it takes even longer
I have looked into this issue #626 but I don't know how to resolve this.
Please help
The text was updated successfully, but these errors were encountered:
It's could be related to increased memory requirements when invokedynamic is enabled (it's enabled by default when using jdk7u40). Try increasing your heap and/or permgen size with something like JRUBY_OPTS="-J-Xmx1024m -J-XX:MaxPermSize=128m".
The new indy implementation in u40 is almost entirely written in Java,
which means it has the same warmup characteristics as Java code (it was
mostly native code before). It also creates a large chain of objects called
"LambdaForms" that represent method handles broken down into individual
operations.
Increased memory and permgen from generating LambdaForms
Much more involved dynamic dispatch pipeline for LambdaForms until the
JVM finally compiles them.
For my benchmarks, the new implementation is 2-3x slower for initial
benchmark iterations and 2x slower to start up in many cases.
It's could be related to increased memory requirements when invokedynamic
is enabled (it's enabled by default with jdk7u40). Try increased your heap
and/or permgen size with something like JRUBY_OPTS="-J-Xmx1024m
-J-XX:MaxPermSize=128m".
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1025#issuecomment-24738947
.
I have been facing this problem since I started off with jruby. I used the bundled jdk which ships with redhat. On my development machine, Fedora, server and everything loads normally. But on production redhat machine, the bootup time for server is forever.
I thought that using openjdk might be the issue so I started using oracle jdk
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
But now I am seeing the error libjffi-1.2.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
and it takes even longer
I have looked into this issue #626 but I don't know how to resolve this.
Please help
The text was updated successfully, but these errors were encountered: