Re: Nashorn deprecation

2018-06-11 Thread Jesus Luzon
Is there any way to reply to a thread before I was subscribed? I'm pretty much a noob when it comes to this mailing list process. As for the deprecation, we use Nashorn heavily for our Edge transformation layers and would need to find something that's at least backwards compatible with our use

Re: Longs aren't numbers in Java 8u162

2018-04-30 Thread Jesus Luzon
This seems like it could be a side effect of a bug I reported where using a number as the key in an object in Nashorn made an array of the at least the size of the number and then inserted in the index of the number specified. The bug was fixed around that version that you mention. On Mon, Apr

Re: Can't get Multithreaded Nashorn uses to Scale

2017-04-10 Thread Jesus Luzon
< hannes.wallnoe...@oracle.com> wrote: > The fix is in JDK 9 now. I will propose this to be backported this to 8u, > which means it should appear in some 8u release soon, but I can’t make any > promise about a specific release or date. > > Hannes > > > > Am 09.01.2017

Re: Can't get Multithreaded Nashorn uses to Scale

2016-12-09 Thread Jesus Luzon
very inefficiently in Nashorn. I’ve filed a bug > for this: > > https://bugs.openjdk.java.net/browse/JDK-8170977 > > Once this bug is fixed, using numeric keys should be roughly as fast as > using non-numeric ones. > > Hannes > > > > Am 09.12.2016 um 04:47 schrie

Re: Can't get Multithreaded Nashorn uses to Scale

2016-12-08 Thread Jesus Luzon
e > possible that you exposed some weak spot in our implementation. I’ll have a > look into what’s going on. > > Hannes > > > > Am 08.12.2016 um 00:40 schrieb Jesus Luzon <jlu...@riotgames.com>: > > > > Looks like the memory leak is due to the way we wrote our cod

Re: Can't get Multithreaded Nashorn uses to Scale

2016-12-07 Thread Jesus Luzon
sonably possible? On Wed, Dec 7, 2016 at 11:23 AM, Jesus Luzon <jlu...@riotgames.com> wrote: > Yes, it's an array of objects which I'll paste. And yes, I'm just calling > invokeFunction from many many different threads. I'm also going to go back > and take a look at all the heap dum

Re: Can't get Multithreaded Nashorn uses to Scale

2016-12-06 Thread Jesus Luzon
onstrates this behaviour? If so > I’ll file a bug and dig in. It sounds like an object is being reused > across invocations and accumulating changes to the property map. > > — Jim > > > On Dec 6, 2016, at 5:12 PM, Jesus Luzon <jlu...@riotgames.com> wrote: > > With

Re: Can't get Multithreaded Nashorn uses to Scale

2016-12-06 Thread Jesus Luzon
> > System.out.println((System.currentTimeMillis() - >> lastTimestamp)/1000.0); > > lastTimestamp = System.currentTimeMillis(); > > } > > } > > On Tue, Dec 6, 2016 at 5:31 AM, Jim Laskey (Oracle) <james.las...@or

Re: Can't get Multithreaded Nashorn uses to Scale

2016-12-06 Thread Jesus Luzon
s the worst case. A new context per > thread does much better. A new global per thread is the best while > remaining thread safe. > > Cheers, > > — Jim > > > > > > On Dec 6, 2016, at 8:45 AM, Jesus Luzon <jlu...@riotgames.com> wrote: > > Hey folks, &g

Nashorn Memory Leak using Invocale.invokeFunction

2016-11-30 Thread Jesus Luzon
s hasn't netted me any results yet. Thanks. Jesus Luzon