Changeset 113


Ignore:
Timestamp:
Aug 24, 2010, 1:57:10 AM (15 years ago)
Author:
dmik
Message:

hotspot: Implemented os::dll_address_to_library_name(), os::address_is_in_vm() and os::print_dll_info() using native OS/2 APIs.

Location:
trunk/openjdk/hotspot
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/hotspot/make/os2/makefiles/compile.make

    r62 r113  
    6767                           -lkernel32.lib -luser32.lib -lgdi32.lib -lwinspool.lib \
    6868               -lcomdlg32.lib -ladvapi32.lib -lshell32.lib -lole32.lib \
    69                -loleaut32.lib -lWsock32.lib -lwinmm.lib
     69               -loleaut32.lib -lWsock32.lib -lwinmm.lib \
     70               -lemxlibwrap0.lib -lemxlibwrap1.lib
  • trunk/openjdk/hotspot/make/os2/makefiles/debug.make

    r109 r113  
    4848# Not included in includeDB because they don't match the logic of that file
    4949# (it expects only one platform at a time which is windows for now)
    50 Obj_Files += os_os2.obj
     50Obj_Files += os_os2_init.obj os_os2.obj
    5151
    5252HS_BUILD_ID = $(HS_BUILD_VER)-debug
  • trunk/openjdk/hotspot/make/os2/makefiles/product.make

    r65 r113  
    4949# Not included in includeDB because they don't match the logic of that file
    5050# (it expects only one platform at a time which is windows for now)
    51 Obj_Files += os_os2.obj
     51Obj_Files += os_os2_init.obj os_os2.obj
    5252
    5353HS_BUILD_ID = $(HS_BUILD_VER)
  • trunk/openjdk/hotspot/src/os/windows/vm/os_windows.cpp

    r64 r113  
    11141114}
    11151115
     1116#ifndef __WIN32OS2__
     1117
    11161118//-----------------------------------------------------------
    11171119// Helper functions for fatal error handler
     
    13601362}
    13611363
     1364#endif /* __WIN32OS2__ */
     1365
    13621366bool os::dll_address_to_function_name(address addr, char *buf,
    13631367                                      int buflen, int *offset) {
     
    13751379}
    13761380
     1381#ifndef __WIN32OS2__
     1382
    13771383// save the start and end address of jvm.dll into param[0] and param[1]
    13781384static int _locate_jvm_dll(int pid, char* mod_fname, address base_addr,
     
    14151421   return 0;
    14161422}
     1423
     1424#endif /* __WIN32OS2__ */
    14171425
    14181426// Loads .dll/.so and
     
    15431551}
    15441552
     1553#ifndef __WIN32OS2__
    15451554
    15461555void os::print_dll_info(outputStream *st) {
     
    15491558   enumerate_modules(pid, _print_module, (void *)st);
    15501559}
     1560
     1561#endif /* __WIN32OS2__ */
    15511562
    15521563// function pointer to Windows API "GetNativeSystemInfo".
     
    35083519  }
    35093520
     3521#ifndef __WIN32OS2__
    35103522  // initialize PSAPI or ToolHelp for fatal error handler
    35113523  if (win32::is_nt()) _init_psapi();
    35123524  else _init_toolhelp();
     3525#endif
    35133526
    35143527#ifndef _WIN64
Note: See TracChangeset for help on using the changeset viewer.