--profile is broken
-------------------
Key: JRUBY-4602
URL: http://jira.codehaus.org/browse/JRUBY-4602
Project: JRuby
Issue Type: Bug
Reporter: Roger Pack
Assignee: Thomas E Enebo
Priority: Minor
------------------
E:\dev\ruby\old\faster_rubygems\spec>jruby -J-Djruby.jit.logging.verbose=true
--debug --profile load_rubygems.rb
Running with instrumented profiler
profiler: on
remote: off
port: 15599
thread-depth: -1
thread.compact.threshold.ms: 10
max-method-count: 50
method.compact.threshold.ms: 10
file: ./profile.txt
track.object.alloc: off
output: text
debug: off
profiler-class: com.mentorgen.tools.profile.runtime.Profile
output-method-signatures: no
clock-resolution: ms
output-summary-only: yes
exclude:null
Accept ClassLoader: org.jruby.util.JRubyClassLoader
Accept ClassLoader: org.jruby.util.ClassCache$OneShotClassLoader
ClassLoaderFilter.1: null
Using the generic class loader filter.
Java Interactive Profiler: starting
------------------
warning: could not compile:
e:/dev/ruby/downloads/jruby/lib/ruby/site_ruby/shared/builtin/core_ext/symbol.rb
because of: "Extra bytes at the end of class file
e_3a_/dev/ruby/downloads/jruby/lib/ruby/site_ruby/shared/builtin/core_ext/symbol"
java.lang.ClassFormatError: Extra bytes at the end of class file
e_3a_/dev/ruby/downloads/jruby/lib/ruby/site_ruby/shared/builtin/core_ext/symbol
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at org.jruby.util.JRubyClassLoader.defineClass(JRubyClassLoader.java:39)
at
org.jruby.compiler.impl.StandardASMCompiler.loadClass(StandardASMCompiler.java:191)
at org.jruby.Ruby.tryCompile(Ruby.java:602)
at org.jruby.Ruby.tryCompile(Ruby.java:582)
at org.jruby.Ruby.compileAndLoadFile(Ruby.java:2516)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:56)
at
org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:671)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:314)
at org.jruby.runtime.load.LoadService.require(LoadService.java:357)
at org.jruby.Ruby.initBuiltins(Ruby.java:1445)
at org.jruby.Ruby.init(Ruby.java:1042)
at org.jruby.Ruby.newInstance(Ruby.java:172)
at org.jruby.Main.run(Main.java:206)
at org.jruby.Main.run(Main.java:117)
at org.jruby.Main.main(Main.java:97)
Error, could not compile; pass -J-Djruby.jit.logging.verbose=true for more
details
Exception in thread "main" :1: load error: builtin/core_ext/symbol --
java.lang.NullPointerException: null (LoadError)
...internal jruby stack elided...
from (unknown).(unknown)(:1)
Controller -- shuttingdown
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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