reify classes not working
-------------------------
Key: JRUBY-6232
URL: https://jira.codehaus.org/browse/JRUBY-6232
Project: JRuby
Issue Type: Bug
Reporter: jeff bay
Assignee: Thomas E Enebo
we are trying to use reify classes to help analyze a memory problem, but it
doesn't seem to work at all, or we are not using it correctly:
(master) [jruby-1.6.4@bravo] /src/git/bravo
$ JAVA_OPTS='-Djruby.reify.classes=true' jruby -e "class Blah; def initialize;
super; end; end; Blah.new; sleep 300" &
[2] 14116
(master) [jruby-1.6.4@bravo] /src/git/bravo
$ jmap -histo:live 14116 | grep ' ruby\.'
1593: 1 24 ruby.__dash_e__
(master) [jruby-1.6.4@bravo] /src/git/bravo
$ which jruby
/home/tipair/.rvm/rubies/jruby-1.6.4/bin/jruby
(master) [jruby-1.6.4@bravo] /src/git/bravo
$ java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.2) (6b22-1.10.2-0ubuntu1~11.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
we tried with both -Djruby.reify.classes=true and -Dreify.classes=true. neither
seems to have any effect on what classes are available in the jmap histogram.
something to do with JVM version?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email