Performance differences between runtime platforms?

Does jRuby run any different standalone vs. running within an
application server environment? I understand there will be differences
in scaling based on how http requests are handled but once the request
hits the JVM, does it matter?

What about jRuby on Linux vs. Windows?

java is slower on windows than on Linux.

I think jruby will run the same in a container or not.