hotspot

Debugging JNI HotSpot crashes

Hello, I am testing some custom JNI code on a remote Linux based system. I don't want to have to install DBX and JDB isn't being entirely helpful and diagnosing the issue. Is there any other light weight java JNI debugger that will actually show me where within the JNI code Im going wrong? Thanks ...

reason for methods not being compiled in Hotspot JVM

There are flags available that provide log information on methods that have been compiled. Where is the information on methods that didn't get compiled and why they didn't get compiled? Being able to see how the hotspot compiler makes its decisions and the reasons for it not compiling certain methods would give me a better understandin...

blackberry OS 5.0 Hotspot api implementation?

Hi All, I want to scan wifi networks and set it to device by select the required wifi network from my application. I am trying it with Hotspot api present in blackberry OS 5.0 but not getting the proper results. If any one implemented the Hotspot api present in blackberry OS 5.0 then please help me with it. Please help... Thanks ams...

How does Java standard libraries comunicate with native code?

Do they use something like Mono's PInvoke? Or is it more like internal calls registered before the runtime is started? Does java have a base library for handling native calls like mscorlib.dll? If I want to invoke a JVM in C code will it libraries look for the .so/.dll files? Does it make a difference to Java standard libraries if I stat...

Bitwise AND (&) expression in Java

I am debugging code that has in it expr1 & expr2 where expr1 has a side effect that affects expr2 evaluation result. I suspect that expr2 gets evaluated before expr1, since JLS guarantees left-to-right evaluation for &&, but not necessarily for &. I also suspect that change of evaluation order may be a result of optimization performed by...

ASP.NET / .net newbie question - Java Hotspot equivalent?

Hi, I'm an experienced java dev who is starting to learn the .net side of things, and was going to pick up a asp.net project as my area to begin(so I can compare to grails, spring mvc etc) One thing I am finding v annoything is having to restart my web server for each code change. On the java side during development, I use standard JV...

Java VM tuning - Xbatch and -Xcomp

Hi I am looking at the JVM configuration options for running Alfresco, mainly this document on the Alfresco Wiki. One of the recommendations is to use the JVM flags -Xcomp and -Xbatch. The justification of this is: If you wish to have Hotspot precompile the classes, you can add [-Xcomp and -Xbatch]. This will, however, significantly...

On Android 2.2: Being in Tethering mode and scanning wifi at the SAME time

Hi: Is it generally possible to have Wifi Tethering turned on (creating a Hotspot) and at the same time scanning for Wifi devices? I want several devices just discover (NOT connect) each other and log the signal strength. To do that all devices must be discoverable over Wifi and at the same time discover others. I would just need that fo...

.NET runtime vs. Java Hotspot: Is .NET one generation behind?

According to the information I could gather on .NET and Java execution environment, the current state of affairs is follows: Modern Java VM are capable of performing continuous recompilation, which combined with profiling can yield great performance improvements. Older JVMs employed JIT. More information in this article: http://www.i...

Add hotspot to a DIV with background image....

Is it possible to add a hotspot inside a div with a background image? Many thanks. Erik ...

How to create WiFi popup login page

When I go to a place with a WiFi hotspot (such as Panera Bread) and connect with my iPhone, the hotspot login page appears as a popup. That is, no matter what app I'm running or what web page I'm on, the login page scrolls up from the bottom, asks for my login credentials, and then disappears. But at some other hotspots, I don't get the...

iPhone Hotspot Log in page.

When I connect hotspot using Wi-Fi Networks in iPhone settings, iPhone automatically pop up the log in page to enter the ID/PW. I think the setting using a browser. In a browser, is it using the below code from NSURLConnectionDelegate? (BOOL)connection:(NSURLConnection *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtection...

How does the home wireless perform if it connects to a public access point?

Assuming that there is a access point(hotspot) covering a dozen of houses. Besides, these houses also have their own wireless network. So, if everyone in each house connect to the Internet at the same time, will problems happen? The performance of this network will be reduced or not? ...

Conditional JIT-compilation

In Java we can do conditional compilation like so private static final boolean DO_CHECK = false; ... if (DO_CHECK) { // code here } The compiler will see that DO_CHECK is always false and remove the entire if-statement. However, sometimes, especially in library code, we can't use conditional compilation, but I'm wondering, can we...

create a hot spot link to a spry sliding panel jpg?

Can I add hot spot link to a Spry Sliding Panel which is a jpg? ...

IPhone image with clickable hotspots.

Hi, I'd like to know how to implement a clickable image for an iPhone application using objective C. I want this image to be clickable at specific areas even when it is rotated. If for instance the top of an image goes to page A, and this gets rotated clockwise by 90 degrees I want this clickable area to change accordingly. Is this pos...

Does (sun-jvm) hotspot optimization take place multiple times, if a class is loaded by different classloaders?

Hi all, imagine a (container-) application is creating multiple classloaders to host a couple of other/sub- applications. There is a -say- root classloader for the container app. Each time a sub-application is loaded, the container creates a new classloader for this application. Some sub-applications use the same classes, but they wer...

[Android] how to get the redirected page html in hotspot

I am using Android to develop an application. I connected to hotspot, after then, I sent http request to the "http://www.google.com" web page using HttpURLConnection or HttpClient. It should not response, because the connection is not made yet, so it will be redirected to authentication page ot the hotspot. I wish to get the authentica...

Wifi access point on HTC desire

How do i configure HTC desire as a wifi access point? Thanks Dheepak ...

Disable Java JIT for a specific method/class?

I'm having an issue in my Java application where the JIT breaks the code. If I disable the JIT, everything works fine, but runs 10-20x slower. Is there any way to disable the JIT for a specific method or class? Edit: I'm using Ubuntu 10.10, getting the same results both with: OpenJDK Runtime Environment (IcedTea6 1.9) (6b20-1.9-0ubun...