Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
java native linux kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
luciano
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2004
Posts: 127

PostPosted: Tue Apr 27, 2010 10:03 am    Post subject: java native linux kernel Reply with quote

Hi,

Has anyone tried out native Java binary support in the kernel? See:

http://www.yolinux.com/TUTORIALS/LinuxTutorialJava.html#JKERNEL

What are your experiences? What's the advantage of using this? I suppose it would provide some performance improvements - is this the case?

If I understand correctly this runs the JVM in kernel space. Is this right? Or does it just instruct JVM in user space to execute it?
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Tue Apr 27, 2010 12:56 pm    Post subject: Reply with quote

I wonder how this made it into the kernel considering Linus Torvalds' hatred of C++.
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3389

PostPosted: Tue Apr 27, 2010 1:02 pm    Post subject: Reply with quote

It's just a little "loader sugar" to invoke a JVM behind-the-scenes, making java code look native. It's not a kernel-based JVM.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Apr 27, 2010 5:10 pm    Post subject: Reply with quote

interesting :)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Link31
Apprentice
Apprentice


Joined: 17 Apr 2006
Posts: 200
Location: France

PostPosted: Thu Apr 29, 2010 2:32 pm    Post subject: Reply with quote

It's just a "generic" form of shebang (the #! thing in shell scripts) that tells the kernel what interpreter to use in order to run some executable formats. It allows such executables to be run with the usual "./progname" syntax, but nothing more. Currently I use this for .exe files (Wine/Mono).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum