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/src/os
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • 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.