Mercurial > hg > truffle
comparison src/cpu/sparc/vm/assembler_sparc.hpp @ 6740:75f33eecc1b3
7196681: NPG: Some JSR 292 tests crash in Windows exception handler
Summary: There was a rogue os::breakpoint() call in log_dependency left over from the jsr292 merge. Also changed verify_oop() calls for metadata to verify_{method,klass}_ptr.
Reviewed-by: kvn, twisti
author | coleenp |
---|---|
date | Tue, 11 Sep 2012 20:20:38 -0400 |
parents | da91efe96a93 |
children | 2cb2f30450c7 |
comparison
equal
deleted
inserted
replaced
6739:8a02ca5e5576 | 6740:75f33eecc1b3 |
---|---|
2373 | 2373 |
2374 // Debugging | 2374 // Debugging |
2375 void _verify_oop(Register reg, const char * msg, const char * file, int line); | 2375 void _verify_oop(Register reg, const char * msg, const char * file, int line); |
2376 void _verify_oop_addr(Address addr, const char * msg, const char * file, int line); | 2376 void _verify_oop_addr(Address addr, const char * msg, const char * file, int line); |
2377 | 2377 |
2378 // TODO: verify_method and klass metadata (compare against vptr?) | |
2379 void _verify_method_ptr(Register reg, const char * msg, const char * file, int line) {} | |
2380 void _verify_klass_ptr(Register reg, const char * msg, const char * file, int line){} | |
2381 | |
2378 #define verify_oop(reg) _verify_oop(reg, "broken oop " #reg, __FILE__, __LINE__) | 2382 #define verify_oop(reg) _verify_oop(reg, "broken oop " #reg, __FILE__, __LINE__) |
2379 #define verify_oop_addr(addr) _verify_oop_addr(addr, "broken oop addr ", __FILE__, __LINE__) | 2383 #define verify_oop_addr(addr) _verify_oop_addr(addr, "broken oop addr ", __FILE__, __LINE__) |
2384 #define verify_method_ptr(reg) _verify_method_ptr(reg, "broken method " #reg, __FILE__, __LINE__) | |
2385 #define verify_klass_ptr(reg) _verify_klass_ptr(reg, "broken klass " #reg, __FILE__, __LINE__) | |
2380 | 2386 |
2381 // only if +VerifyOops | 2387 // only if +VerifyOops |
2382 void verify_FPU(int stack_depth, const char* s = "illegal FPU state"); | 2388 void verify_FPU(int stack_depth, const char* s = "illegal FPU state"); |
2383 // only if +VerifyFPU | 2389 // only if +VerifyFPU |
2384 void stop(const char* msg); // prints msg, dumps registers and stops execution | 2390 void stop(const char* msg); // prints msg, dumps registers and stops execution |