Re: Command 'make jdk' no longer runs ; request a quick look

2018-08-12 Thread Ioi Lam
What kind of modifications have you made to get you to this state? Have you tried undoing your changes one by one to see what causes this to happen? I have to be honest with you. With the vague (and rude) questions that you have been sending to these mailing lists, I doubt anyone is really

Re: Makefile Suppress Deprecation Warnings

2018-08-12 Thread Ioi Lam
It would be helpful if you can provide information like: + Which version of the JDK repo are you using? + Which platform are you building? The only case I found under the make/ directory is here in the latest repo:

Makefile Suppress Deprecation Warnings

2018-08-12 Thread mr rupplin
Where in the Makefile would we add this to silence to deprecated warnings from GCC compiler? -Wno-deprecated Who thought this would be fine? To run this seem falty. ok

Re: JVMTI lib location

2018-08-12 Thread mr rupplin
Where are the source codes for the following methods: err = (*jvmti)->GetMethodDeclaringClass(jvmti, frames[i].method, _class); err = (*jvmti)->GetClassSignature(jvmti, declaring_class, , NULL); Thanks, Max From: David Holmes Sent: Sunday, August 12, 2018

Command 'make jdk' no longer runs ; request a quick look

2018-08-12 Thread mr rupplin
Building target 'jdk' in configuration 'linux-x86_64-normal-server-release' Creating ct.sym classes Compiling 11 properties into resource bundles for java.logging Compiling 2 files for BUILD_BREAKITERATOR_BASE Compiling 2 files for BUILD_BREAKITERATOR_LD Exception in thread "main"

Re: JVMTI lib location

2018-08-12 Thread David Holmes
Hi Max, On 11/08/2018 6:41 AM, mr rupplin wrote: Trying to write a quick agent for the JVM. The jvmti.h file is found quickly but I do not know what to link it with. Can you guys help? JVM TI is a serviceability-dev topic, though that's really about developing JVM TI not using it. There

Re: RFR 8209171 : Simplify Java implementation of Integer/Long.numberOfTrailingZeros()

2018-08-12 Thread Martin Buchholz
Here's an example of a microbenchmark that uses multiple random inputs simulating various typical populations: https://github.com/google/caliper/blob/master/caliper-examples/src/main/java/examples/Utf8Benchmark.java

Re: RFR 8209171 : Simplify Java implementation of Integer/Long.numberOfTrailingZeros()

2018-08-12 Thread Martin Buchholz
If delegating to nlz is the winner so far, we should be able to do at least as well by inlining nlz into ntz and then looking for more optimizations. Following this strategy leads naturally to static int ntz_inlineNlz2(int i) { i &= -i; if (i <= 0) return 32 - (i >>> 31);

Re: RFR 8209171 : Simplify Java implementation of Integer/Long.numberOfTrailingZeros()

2018-08-12 Thread Ivan Gerasimov
Hi Martin! On 8/11/18 5:54 PM, Martin Buchholz wrote: Hi Ivan, Oh the allure of bit-twiddling! Yes :) I'm skeptical that ntz should ever delegate to nlz, and not only because of the overhead of a wrapper, but because small numbers are more common, and we can take that into account when