|
Hi Adam,
Sorry for the latency. I was in process to build, test and push your fix and got the fastdebug build errors below. So, my question is if you've ever built the fastdebug version. This change is in the system-dependent code, so it has to be tested on both Unix and Windows. > My testing was limited to the bug specific test case I mentioned, and the following jdwp tests: > > test/jdk/com/sun/jdi/Jdwp* > test/hotspot/jtreg/serviceability/jdwp This set of tests does not provide a good coverage. To make sure nothing is broken you need to run the the test/jdk/com/sun/jdi and also the following vmTestbase tests: test/hotspot/jtreg/vmTestbase/nsk/jdi test/hotspot/jtreg/vmTestbase/nsk/jdb test/hotspot/jtreg/vmTestbase/nsk/jdwp BTW, your current webrev is not up-to-date: http://cr.openjdk.java.net/~afarley/8229378/webrev/ I guess, the change in the src/hotspot/share/runtime/os.cpp became obsolete after your previous fix that was already pushed. Thanks, Serguei . . . In file included from /scratch/sspitsyn/jdk14.1/open/src/jdk.jdwp.agent/unix/native/libjdwp/linker_md.c:37:0: /scratch/sspitsyn/jdk14.1/open/src/jdk.jdwp.agent/unix/native/libjdwp/linker_md.c: In function ‘dll_build_name’: /scratch/sspitsyn/jdk14.1/open/src/jdk.jdwp.agent/share/native/libjdwp/util.h:46:23: error: ‘Do’ undeclared (first use in this function) #define strdup(p) Do not use this interface. ^ /scratch/sspitsyn/jdk14.1/open/src/jdk.jdwp.agent/unix/native/libjdwp/linker_md.c:51:18: note: in expansion of macro ‘strdup’ paths_copy = strdup(paths); ^ /scratch/sspitsyn/jdk14.1/open/src/jdk.jdwp.agent/share/native/libjdwp/util.h:46:23: note: each undeclared identifier is reported only once for each function it appears in #define strdup(p) Do not use this interface. ^ /scratch/sspitsyn/jdk14.1/open/src/jdk.jdwp.agent/unix/native/libjdwp/linker_md.c:51:18: note: in expansion of macro ‘strdup’ paths_copy = strdup(paths); ^ /scratch/sspitsyn/jdk14.1/open/src/jdk.jdwp.agent/share/native/libjdwp/util.h:46:26: error: expected ‘;’ before ‘not’ #define strdup(p) Do not use this interface. ^ /scratch/sspitsyn/jdk14.1/open/src/jdk.jdwp.agent/unix/native/libjdwp/linker_md.c:51:18: note: in expansion of macro ‘strdup’ paths_copy = strdup(paths); ^ /scratch/sspitsyn/jdk14.1/open/src/jdk.jdwp.agent/share/native/libjdwp/util.h:38:24: error: expected ‘;’ before ‘not’ #define free(p) Do not use this interface. ^ /scratch/sspitsyn/jdk14.1/open/src/jdk.jdwp.agent/unix/native/libjdwp/linker_md.c:71:5: note: in expansion of macro ‘free’ free(paths_copy); ^ gmake[3]: *** [/scratch/sspitsyn/jdk14.1/build/linux-x86_64-server-fastdebug/support/native/jdk.jdwp.agent/libjdwp/linker_md.o] Error 1 gmake[2]: *** [jdk.jdwp.agent-libs] Error 1 gmake[2]: *** Waiting for unfinished jobs.... ERROR: Build failed for target 'images' in configuration 'linux-x86_64-server-fastdebug' (exit code 2) On 8/13/19 09:28, Adam Farley8 wrote: Hi Serguei, Daniel, |
- Re: RFR: 8229378: jdwp library loader in linker... Chris Plummer
- Re: RFR: 8229378: jdwp library loader in l... Adam Farley8
- Re: RFR: 8229378: jdwp library loader ... Daniel D. Daugherty
- Re: RFR: 8229378: jdwp library loa... [email protected]
- Re: RFR: 8229378: jdwp library... Adam Farley8
- Re: RFR: 8229378: jdwp li... [email protected]
- Re: RFR: 8229378: jdw... Adam Farley8
- Re: RFR: 8229378: jdw... [email protected]
- Re: RFR: 8229378: jdw... [email protected]
- Re: RFR: 8229378: jdw... Daniel D. Daugherty
- Re: RFR: 8229378: jdwp li... [email protected]
- Re: RFR: 8229378: jdwp library loa... Adam Farley8
