Re: the End of History in the constant pool

2017-05-18 Thread Krystal Mok
Hi John, Thanks for moving the conversation to mlvm-dev! The condy stuff is finally coming, yay! Just out of curiousity, since we're on this topic, may I ask about what constant tags 13 and 14 used to mean? All I could find was that 13 was used in JavaCard VM (JCVM) as CONSTANT_Package. But what

Re: Threaded interpreter in Java

2016-08-04 Thread Krystal Mok
Thanks Rémi! On Thu, Aug 4, 2016 at 5:36 PM, Remi Forax wrote: > Hi Krys, > > > On August 3, 2016 3:41:46 PM PDT, Krystal Mok > wrote: > >(Having missed last night's dinner and all the fun there...) > > > >When Rémi started talking about this interpreter t

Re: Threaded interpreter in Java

2016-08-03 Thread Krystal Mok
(Having missed last night's dinner and all the fun there...) When Rémi started talking about this interpreter today, I thought it'd be tailcall related. In college, my introductory course to computer systems was based on the book "Introduction to Computing Systems: From Bits & Gates to C & Beyond

Re: Coroutine

2015-06-01 Thread Krystal Mok
Hi, The coroutine patch you would find in OpenJDK MLVM project is from Lukas Stadler. The project page is here: http://ssw.jku.at/General/Staff/LS/coro/ You should be able to find answers to your questions on the project page. - Kris On Mon, Jun 1, 2015 at 2:37 AM, lee json wrote: > Sorry for

Re: hg: mlvm/mlvm/hotspot: meth: fix to intrinsic compilation; assembler tweaks for debugging; backtrace filtering

2012-07-12 Thread Krystal Mok
Unconditionally skipping some special frames in the stack trace may also make language implementers' lives hard when they're *developing* - it's analogous to when JVM implementers want to see all frames of a stack, including the native/VM internal ones, where as most Java developers would just want

Re: TaggedArrays (Proposal)

2012-07-02 Thread Krystal Mok
27; references would be aligned and hence naturally not tagged. But I > don't know enough about the JVM and hence you could well be correct. -- > Howard. > > > On 3 July 2012 15:40, Krystal Mok wrote: > >> On Tue, Jul 3, 2012 at 1:28 PM, Howard Lovatt wrote: &

Re: TaggedArrays (Proposal)

2012-07-02 Thread Krystal Mok
On Tue, Jul 3, 2012 at 1:28 PM, Howard Lovatt wrote: > I like the idea and something along these lines would be a great addition > to the standard library, which I will come back to as a PS. > > In com.sun.misc.Unsafe there are already getLong(Object, int) and > setLong(Object, int, long) methods

Re: megamorphic lambda prevention

2012-06-21 Thread Krystal Mok
That's "the inlining problem" that Cliff Click was talking about [1], right? I wonder how well the new interpreter design in Graal would handle this kind of case, since it's supposed to have picked the good parts from trace-based compilation, but without actually having to do tracing. Can't wait t

Re: OpenJDK 8 on OS/X and XCode 4.

2011-11-07 Thread Krystal Mok
Hi Mark, PrintOptoAssembly (for C2, and PrintLIR for C1) only works in a debug build (which fastdebug is one), where as PrintAssembly works in all builds. If you need more annotated asm listing then you might want PrintOptoAssembly, but if you're just after the code instead of the comments then Pr

Re: Trying to implement fixnums

2011-10-24 Thread Krystal Mok
Hi Stepan, Just as a sidenote, implementing Fixnums in HotSpot feels almost like reviving the "real oops" that was in Strongtalk [1]. For HotSpot internals, the wiki [2] should be a good starting point. As for the server compiler, you'd need to read a few papers to get up to speed. [3] is the fi

Re: Google Dart

2011-10-11 Thread Krystal Mok
Variance in Dart somehow bears a problem similar to the one in Java's array: http://try-dart-lang.appspot.com/s/qAoU On Mon, Oct 10, 2011 at 4:02 PM, Rémi Forax wrote: > On 10/10/2011 09:51 AM, Marcus Lagergren wrote: > > FYI, > > > > Google Dart now has a twitter account : > > https://twitter.c

Re: Google Dart

2011-10-10 Thread Krystal Mok
It's cute when you can find DartEntry::InvokeDynamic(...) in Dart VM's code [1] :-) (Just for fun; doesn't imply any connection with JVM's invokedynamic) [1]: http://code.google.com/p/dart/source/browse/branches/bleeding_edge/dart/runtime/vm/code_generator.cc#619 -- Kris On Tue, Oct 11, 2011 at

Re: Google Dart

2011-10-10 Thread Krystal Mok
Rhino is getting a renewal https://github.com/mozilla/rhino dyn.js is another project that implements JavaScript in Java 7. You might be interested in that as well: http://www.infoq.com/news/2011/10/dynjs On Mon, Oct 10, 2011 at 9:56 PM, Alexander Turner < nerdscent...@googlemail.com> wrote: > So

Re: Help with JIT talk for tomorrow

2011-10-09 Thread Krystal Mok
On Mon, Oct 10, 2011 at 3:43 AM, Sebastian Sickelmann < sebastian.sickelm...@gmx.de> wrote: > > Unfortunately http://wikis.sun.com/display/HotSpotInternals/Home seems to > be down. > > :-( > > Same here. I was trying to access it last night and I got redirected to Bug Database instead. >

Re: Help with JIT talk for tomorrow

2011-10-06 Thread Krystal Mok
, what's your login (screen name) on wikis.sun.com? I will try to add > you to the editors list for those pages. > > -- John > > On Oct 6, 2011, at 7:11 AM, Krystal Mok wrote: > > Hi Rémi, > > I asked if or how it could be integrated into the wiki a while ago, too, &

Re: Help with JIT talk for tomorrow

2011-10-06 Thread Krystal Mok
Forax wrote: > On 10/06/2011 03:27 PM, Krystal Mok wrote: > > I tried to document PrintCompilation a while ago, here: > https://gist.github.com/1165804#file_notes.md > > Hope it helps. Sorry for the late reply, we're in holiday this week here > in China. > &

Re: Help with JIT talk for tomorrow

2011-10-06 Thread Krystal Mok
I tried to document PrintCompilation a while ago, here: https://gist.github.com/1165804#file_notes.md Hope it helps. Sorry for the late reply, we're in holiday this week here in China. Regards, Kris Mok On 2011-10-5, at 7:47, Charles Oliver Nutter wrote: > Hey all...I'm updating and expanding

Re: review request (L): 7030453: JSR 292 ClassValue.get method is too slow

2011-09-19 Thread Krystal Mok
Hi John, On Tue, Sep 20, 2011 at 5:58 AM, John Rose wrote: > > The tunable parameters CACHE_LOAD_LIMIT and PROBE_LIMIT were chosen by > looking at the behavior of artificial workloads. Experience with real > workloads will probably lead to further modifications (under new Change > Requests). I