Join GitHub today
use of JRUBY_OPTS="-Xreify.classes=true" causes Java::JavaLang::StackOverflowError: #5266
Please see issue 5249 for a refresher on what I'm doing. Here's my current environment:
Under normal working conditions...
I'm trying to add reify.classes to the mix as follows without success...
The reference is old and I'm new to all of this, but notwithstanding several hours of googling, I can't seem to find the solution. I also found this, and wonder if it's not somehow related to my problem.
Just to be clear, without reify.classes=true, my code works just fine though making sense of the data in VisualVM or MemoryAnalyzer is nearly impossible. Can someone help? Here's part of the exception dump that happens when I add reify.classes=true to JRUBY_OPTS:
It keeps going but at this point we appear to be in a loop of some sort.
This is unfortunately a known issue combining reified classes with reified instance variables. It should work if you also pass -Xreify.variables=false I believe.
I have reworked variable reification for 9.2.1 and it should be easier to get reified classes (at least so they have proper names) to work now too.