Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #36539
| From | omegajunior <omegajunior@protonmail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Jigsaw |
| Date | 2017-04-26 18:32 -0400 |
| Organization | nntp.aioe.org |
| Message-ID | <odr760$1ns2$1@gioia.aioe.org> (permalink) |
| References | (1 earlier) <odbnph$o3s$1@gioia.aioe.org> <odks25$1av6$1@gioia.aioe.org> <odl2vp$1moi$1@gioia.aioe.org> <b6c08905-7e08-460f-9b04-eb287b99e84d@googlegroups.com> <odl5k1$1r6b$1@gioia.aioe.org> |
Arne Vajhøj <arne@vajhoej.dk> Wrote in message: > On 4/24/2017 11:15 AM, Eric Douglas wrote: >> On Monday, April 24, 2017 at 10:44:28 AM UTC-4, Arne Vajhøj wrote: >>> Java classes are loaded when they are needed, so I would assume no >>> changes to classes loaded. >>> >>> In theory it should be possible to create a JRE subset with only >>> some modules. >>> >>> I don't think the Java license permits it. >>> >>> I don't think there is much point. Given todays network speeds and >>> disk sizes the JRE is relative small. >>> >>> I assume they have done the split for the same reasons other would >>> want to use the module system. To decouple things better and make >>> it easier to maintain. >> >> http://openjdk.java.net/projects/jigsaw/ >> >> The first stated goal was to scale down to fit a Java on smaller >> devices. I'm not sure how much space a JRE takes up or what sort of >> devices you'd need to be able to fit just part of the JRE. > > I believe a full JRE is still less than 200 MB. Should not be > a problem in EE or SE world. > > But maybe there is a case in embedded (SE Embedded) space. > >> I'm not sure if this "jigsaw" is the same JRE classes broken up to >> different jars, or how this accomplishes the other stated goals of >> improving security, maintainability, and application performance. > > The modular split and the dependency management can certainly > improve things for large systems. > > Arne > > Yes, for limited systems (mobile phones, set-top boxes, smart cards) both the file size and the amount of memory (both stack and heap) used by the JRE form prohibitive factors. I love these programming quizzes that ask, how many objects does this program create? How much memory does this structure use? It pales in comparison to how many objects the JRE or the SDK generate just to live, and how much memory they allocate, with maybe only a memory monitor running. I do hope that Jigsaw forces core java to separate class loading between concerns, so I can, for instance, totally remove java.xml, if my application doesn't use xml, or allows me to replace a default implementation of some interface entirely with a competing one. -- ----Android NewsGroup Reader---- http://usenet.sinaapp.com/
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Jigsaw Arne Vajhøj <arne@vajhoej.dk> - 2017-04-20 21:37 -0400
Re: Jigsaw omegajunior <omegajunior@protonmail.com> - 2017-04-24 08:45 -0400
Re: Jigsaw Arne Vajhøj <arne@vajhoej.dk> - 2017-04-24 10:44 -0400
Re: Jigsaw Eric Douglas <e.d.programmer@gmail.com> - 2017-04-24 08:15 -0700
Re: Jigsaw Arne Vajhøj <arne@vajhoej.dk> - 2017-04-24 11:29 -0400
Re: Jigsaw Arne Vajhøj <arne@vajhoej.dk> - 2017-04-24 11:29 -0400
Re: Jigsaw omegajunior <omegajunior@protonmail.com> - 2017-04-26 18:32 -0400
Re: Jigsaw Arne Vajhøj <arne@vajhoej.dk> - 2017-04-26 19:49 -0400
Re: Jigsaw Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-04-24 11:51 -0400
Re: Jigsaw omegajunior <omegajunior@protonmail.com> - 2017-04-26 18:37 -0400
Re: Jigsaw Arne Vajhøj <arne@vajhoej.dk> - 2017-04-26 19:49 -0400
Re: Jigsaw Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-04-27 07:42 -0400
csiph-web